Commit 938828a263bc3708b8aead8bdc54cbc3526d5c59
1 parent
b5ff2d6e
use new machine API
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1447 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
0 additions
and
19 deletions
hw/ppc.c
| @@ -440,23 +440,4 @@ int PPC_NVRAM_set_params (m48t59_t *nvram, uint16_t NVRAM_size, | @@ -440,23 +440,4 @@ int PPC_NVRAM_set_params (m48t59_t *nvram, uint16_t NVRAM_size, | ||
| 440 | NVRAM_set_word(nvram, 0xFC, crc); | 440 | NVRAM_set_word(nvram, 0xFC, crc); |
| 441 | 441 | ||
| 442 | return 0; | 442 | return 0; |
| 443 | - } | ||
| 444 | - | ||
| 445 | -/*****************************************************************************/ | ||
| 446 | -void ppc_init (int ram_size, int vga_ram_size, int boot_device, | ||
| 447 | - DisplayState *ds, const char **fd_filename, int snapshot, | ||
| 448 | - const char *kernel_filename, const char *kernel_cmdline, | ||
| 449 | - const char *initrd_filename) | ||
| 450 | -{ | ||
| 451 | - if (prep_enabled) { | ||
| 452 | - ppc_prep_init(ram_size, vga_ram_size, boot_device, ds, fd_filename, | ||
| 453 | - snapshot, kernel_filename, kernel_cmdline, | ||
| 454 | - initrd_filename); | ||
| 455 | - } else { | ||
| 456 | - ppc_chrp_init(ram_size, vga_ram_size, boot_device, ds, fd_filename, | ||
| 457 | - snapshot, kernel_filename, kernel_cmdline, | ||
| 458 | - initrd_filename); | ||
| 459 | - } | ||
| 460 | - /* Special port to get debug messages from Open-Firmware */ | ||
| 461 | - register_ioport_write(0x0F00, 4, 1, &PPC_debug_write, NULL); | ||
| 462 | } | 443 | } |