mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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
This commit is contained in:
parent
8e9c4afe70
commit
26aa7d72cc
4 changed files with 38 additions and 24 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue