aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc_prep.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-28 22:26:05 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-28 22:26:05 +0000
commit26aa7d72cc3ff586ca4b5bd79f63b0066fe21b0f (patch)
tree87d1ceff46beee5c85822181aa279dfbbf338478 /hw/ppc_prep.c
parent8e9c4afe707426487db85e462a3b0c4d15e39261 (diff)
isa memory remapping support (aka PPC PREP VGA support)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@773 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc_prep.c')
-rw-r--r--hw/ppc_prep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index c5c1510756..8499ba3d1e 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -896,7 +896,7 @@ void PPC_end_init (void)
VGA_init();
}
-/* PC hardware initialisation */
+/* PowerPC PREP hardware initialisation */
void ppc_prep_init(int ram_size, int vga_ram_size, int boot_device,
DisplayState *ds, const char **fd_filename, int snapshot,
const char *kernel_filename, const char *kernel_cmdline,
@@ -911,6 +911,8 @@ void ppc_prep_init(int ram_size, int vga_ram_size, int boot_device,
/* allocate RAM */
cpu_register_physical_memory(0, ram_size, 0);
+ isa_mem_base = 0xc0000000;
+
if (linux_boot) {
/* now we can load the kernel */
ret = load_image(kernel_filename, phys_ram_base + KERNEL_LOAD_ADDR);