diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-26 22:13:53 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-26 22:13:53 +0000 |
commit | 77d4bc349abd61ba2e12327e40f95bfc4069f2a0 (patch) | |
tree | eb913f7c3be7dda596205e6d82521727107f560c /vl.h | |
parent | a2a444d6e097d0890a47e83ca6cf7dab35d043e2 (diff) | |
download | hqemu-77d4bc349abd61ba2e12327e40f95bfc4069f2a0.zip hqemu-77d4bc349abd61ba2e12327e40f95bfc4069f2a0.tar.gz |
PowerPC prep/chrp/pmac support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@863 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r-- | vl.h | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -429,6 +429,11 @@ void piix3_init(void); void pci_bios_init(void); void pci_info(void); +/* temporary: will be moved in platform specific file */ +void pci_prep_init(void); +void pci_pmac_init(void); +void pci_ppc_bios_init(void); + /* vga.c */ #define VGA_RAM_SIZE (4096 * 1024) @@ -580,6 +585,23 @@ void ppc_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, const char *initrd_filename); +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, + const char *initrd_filename); +void ppc_chrp_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, + const char *initrd_filename); +ppc_tb_t *cpu_ppc_tb_init (CPUPPCState *env, uint32_t freq); +struct sysctrl_t; +int prep_NVRAM_init (struct sysctrl_t *sysctrl, uint32_t RAM_size, + uint32_t BIOS_size, int boot_device, + uint32_t kernel_image); + +extern CPUWriteMemoryFunc *PPC_io_write[]; +extern CPUReadMemoryFunc *PPC_io_read[]; +extern int prep_enabled; /* monitor.c */ void monitor_init(void); |