summaryrefslogtreecommitdiffstats
path: root/hw/ppc.c
diff options
context:
space:
mode:
authorbellard2005-06-05 16:54:40 +0200
committerbellard2005-06-05 16:54:40 +0200
commit938828a263bc3708b8aead8bdc54cbc3526d5c59 (patch)
tree64d63a3ebb4c6cea31d8fde4725bbb408f564ca4 /hw/ppc.c
parentPC machine support (diff)
downloadqemu-938828a263bc3708b8aead8bdc54cbc3526d5c59.tar.gz
qemu-938828a263bc3708b8aead8bdc54cbc3526d5c59.tar.xz
qemu-938828a263bc3708b8aead8bdc54cbc3526d5c59.zip
use new machine API
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1447 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc.c')
-rw-r--r--hw/ppc.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/hw/ppc.c b/hw/ppc.c
index 5f992290e4..2146739a92 100644
--- a/hw/ppc.c
+++ b/hw/ppc.c
@@ -440,23 +440,4 @@ int PPC_NVRAM_set_params (m48t59_t *nvram, uint16_t NVRAM_size,
NVRAM_set_word(nvram, 0xFC, crc);
return 0;
- }
-
-/*****************************************************************************/
-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)
-{
- if (prep_enabled) {
- ppc_prep_init(ram_size, vga_ram_size, boot_device, ds, fd_filename,
- snapshot, kernel_filename, kernel_cmdline,
- initrd_filename);
- } else {
- ppc_chrp_init(ram_size, vga_ram_size, boot_device, ds, fd_filename,
- snapshot, kernel_filename, kernel_cmdline,
- initrd_filename);
- }
- /* Special port to get debug messages from Open-Firmware */
- register_ioport_write(0x0F00, 4, 1, &PPC_debug_write, NULL);
}