[6066] target-ppc: PowerPC 440EP SoC emulation
Revision: 6066
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6066 Author: aurel32 Date: 2008-12-16 10:44:06 +0000 (Tue, 16 Dec 2008)
Log Message:
-----------
target-ppc: PowerPC 440EP SoC emulation
Wire up the system-on-chip devices present on 440EP chips.
This patch is a little unusual in that qemu doesn't actually emulate the 440 core, but we use this board code with KVM (which does). If/when 440 core emulation is supported, the kvm_enabled() hack can be removed.
Signed-off-by Hollis Blanchard <[email protected]>
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/Makefile.target
Added Paths:
-----------
trunk/hw/ppc440.c
trunk/hw/ppc440.hModified: trunk/Makefile.target
===================================================================
Makefile.target +1 -0
@@ -655,6 +655,7 @@ OBJS+= unin_pci.o ppc_chrp.o # PowerPC 4xx boards OBJS+= pflash_cfi02.o ppc4xx_devs.o ppc4xx_pci.o ppc405_uc.o ppc405_boards.o +OBJS+= ppc440.o ifdef FDT_LIBS OBJS+= device_tree.o LIBS+= $(FDT_LIBS)
Added: trunk/hw/ppc440.c
===================================================================
hw/ppc440.c +103 -0
103 lines not on this page · raw message
Added: trunk/hw/ppc440.h
===================================================================
hw/ppc440.h +20 -0
@@ -0,0 +1,20 @@ +/* +* Qemu PowerPC 440 board emualtion +* +* Copyright 2007 IBM Corporation. +* Authors: Jerone Young <[email protected]> +* Christian Ehrhardt <[email protected]> +* +* This work is licensed under the GNU GPL licence version 2 or later +* +*/ + +#ifndef QEMU_PPC440_H +#define QEMU_PPC440_H + +#include "hw.h" + +CPUState *ppc440ep_init (ram_addr_t *ram_size,PCIBus **pcip, +const unsigned int pci_irq_nrs[4 ],int do_init); + +#endif