diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-28 22:26:05 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-28 22:26:05 +0000 |
commit | 26aa7d72cc3ff586ca4b5bd79f63b0066fe21b0f (patch) | |
tree | 87d1ceff46beee5c85822181aa279dfbbf338478 /hw/ppc_prep.c | |
parent | 8e9c4afe707426487db85e462a3b0c4d15e39261 (diff) | |
download | qemu-26aa7d72cc3ff586ca4b5bd79f63b0066fe21b0f.tar.gz qemu-26aa7d72cc3ff586ca4b5bd79f63b0066fe21b0f.tar.bz2 qemu-26aa7d72cc3ff586ca4b5bd79f63b0066fe21b0f.zip |
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.c | 4 |
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); |