diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-16 07:41:07 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-16 07:41:07 +0000 |
commit | dd37a5e4d7ebc4e698f4c69ad2a5ee922824703f (patch) | |
tree | 93438b029985cb8ce9ee26968d9444c94e775ccf /hw/ppc_prep.c | |
parent | d0dfae6e91d9b2044523ed4db890860f898af86b (diff) | |
download | qemu-dd37a5e4d7ebc4e698f4c69ad2a5ee922824703f.zip qemu-dd37a5e4d7ebc4e698f4c69ad2a5ee922824703f.tar.gz qemu-dd37a5e4d7ebc4e698f4c69ad2a5ee922824703f.tar.bz2 |
PREP and heathrow machines only support PowerPC CPU with a 6xx bus.
Mac99 machine may also support PowerPC 970 CPU.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2681 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc_prep.c')
-rw-r--r-- | hw/ppc_prep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 421d189..8fce9cc 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -598,6 +598,10 @@ static void ppc_prep_init (int ram_size, int vga_ram_size, int boot_device, } isa_mem_base = 0xc0000000; + if (PPC_INPUT(env) != PPC_FLAGS_INPUT_6xx) { + cpu_abort(env, "Only 6xx bus is supported on PREP machine\n"); + exit(1); + } i8259 = i8259_init(first_cpu->irq_inputs[PPC6xx_INPUT_INT]); pci_bus = pci_prep_init(i8259); // pci_bus = i440fx_init(); |