]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/ppc_prep.c
isa memory remapping support (aka PPC PREP VGA support)
[mirror_qemu.git] / hw / ppc_prep.c
index c5c1510756fa6bbd018333d6be50cc7d8bf1f74f..8499ba3d1e6489a3b136d98c7b3c7a680062201d 100644 (file)
@@ -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);