Skip to content

Commit

Permalink
ppc: Move Mac machines to hw/ppc/
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Färber <afaerber@suse.de>
[agraf: squash in MAINTAINERS fix]
Signed-off-by: Alexander Graf <agraf@suse.de>
  • Loading branch information
afaerber authored and agraf committed Jan 25, 2013
1 parent 11c2991 commit baec191
Show file tree
Hide file tree
Showing 13 changed files with 44 additions and 43 deletions.
4 changes: 2 additions & 2 deletions MAINTAINERS
Expand Up @@ -380,15 +380,15 @@ New World
M: Alexander Graf <agraf@suse.de>
L: qemu-ppc@nongnu.org
S: Maintained
F: hw/ppc_newworld.c
F: hw/ppc/mac_newworld.c
F: hw/unin_pci.c
F: hw/dec_pci.[hc]

Old World
M: Alexander Graf <agraf@suse.de>
L: qemu-ppc@nongnu.org
S: Maintained
F: hw/ppc_oldworld.c
F: hw/ppc/mac_oldworld.c
F: hw/grackle_pci.c

PReP
Expand Down
2 changes: 1 addition & 1 deletion hw/cuda.c
Expand Up @@ -23,7 +23,7 @@
* THE SOFTWARE.
*/
#include "hw.h"
#include "ppc_mac.h"
#include "ppc/mac.h"
#include "adb.h"
#include "qemu/timer.h"
#include "sysemu/sysemu.h"
Expand Down
2 changes: 1 addition & 1 deletion hw/grackle_pci.c
Expand Up @@ -24,7 +24,7 @@
*/

#include "pci/pci_host.h"
#include "ppc_mac.h"
#include "ppc/mac.h"
#include "pci/pci.h"

/* debug Grackle */
Expand Down
2 changes: 1 addition & 1 deletion hw/heathrow_pic.c
Expand Up @@ -23,7 +23,7 @@
* THE SOFTWARE.
*/
#include "hw.h"
#include "ppc_mac.h"
#include "ppc/mac.h"

/* debug PIC */
//#define DEBUG_PIC
Expand Down
6 changes: 3 additions & 3 deletions hw/ide/macio.c
Expand Up @@ -22,9 +22,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include <hw/hw.h>
#include <hw/ppc_mac.h>
#include <hw/mac_dbdma.h>
#include "hw/hw.h"
#include "hw/ppc/mac.h"
#include "hw/mac_dbdma.h"
#include "block/block.h"
#include "sysemu/dma.h"

Expand Down
2 changes: 1 addition & 1 deletion hw/mac_nvram.c
Expand Up @@ -25,7 +25,7 @@
#include "hw.h"
#include "firmware_abi.h"
#include "sysemu/sysemu.h"
#include "ppc_mac.h"
#include "ppc/mac.h"

/* debug NVR */
//#define DEBUG_NVR
Expand Down
2 changes: 1 addition & 1 deletion hw/macio.c
Expand Up @@ -23,7 +23,7 @@
* THE SOFTWARE.
*/
#include "hw.h"
#include "ppc_mac.h"
#include "ppc/mac.h"
#include "pci/pci.h"
#include "escc.h"

Expand Down
2 changes: 1 addition & 1 deletion hw/openpic.c
Expand Up @@ -34,7 +34,7 @@
*
*/
#include "hw.h"
#include "ppc_mac.h"
#include "ppc/mac.h"
#include "pci/pci.h"
#include "openpic.h"
#include "sysbus.h"
Expand Down
9 changes: 5 additions & 4 deletions hw/ppc/Makefile.objs
Expand Up @@ -3,10 +3,6 @@ obj-y = ppc.o ppc_booke.o
# PREP target
obj-y += mc146818rtc.o
obj-y += ppc_prep.o
# OldWorld PowerMac
obj-y += ppc_oldworld.o
# NewWorld PowerMac
obj-y += ppc_newworld.o
# IBM pSeries (sPAPR)
obj-$(CONFIG_PSERIES) += spapr.o spapr_hcall.o spapr_rtas.o spapr_vio.o
obj-$(CONFIG_PSERIES) += xics.o spapr_vty.o spapr_llan.o spapr_vscsi.o
Expand All @@ -28,4 +24,9 @@ obj-y += xilinx_ethlite.o

obj-y := $(addprefix ../,$(obj-y))

# OldWorld PowerMac
obj-y += mac_oldworld.o
# NewWorld PowerMac
obj-y += mac_newworld.o
# e500
obj-$(CONFIG_FDT) += e500.o mpc8544ds.o e500plat.o
File renamed without changes.
28 changes: 14 additions & 14 deletions hw/ppc_newworld.c → hw/ppc/mac_newworld.c
Expand Up @@ -46,28 +46,28 @@
* 0001:05:0c.0 IDE interface [0101]: Broadcom K2 SATA [1166:0240]
*
*/
#include "hw.h"
#include "ppc.h"
#include "ppc_mac.h"
#include "adb.h"
#include "mac_dbdma.h"
#include "nvram.h"
#include "pci/pci.h"
#include "hw/hw.h"
#include "hw/ppc.h"
#include "hw/ppc/mac.h"
#include "hw/adb.h"
#include "hw/mac_dbdma.h"
#include "hw/nvram.h"
#include "hw/pci/pci.h"
#include "net/net.h"
#include "sysemu/sysemu.h"
#include "boards.h"
#include "fw_cfg.h"
#include "escc.h"
#include "openpic.h"
#include "ide.h"
#include "loader.h"
#include "hw/boards.h"
#include "hw/fw_cfg.h"
#include "hw/escc.h"
#include "hw/openpic.h"
#include "hw/ide.h"
#include "hw/loader.h"
#include "elf.h"
#include "sysemu/kvm.h"
#include "kvm_ppc.h"
#include "hw/usb.h"
#include "sysemu/blockdev.h"
#include "exec/address-spaces.h"
#include "sysbus.h"
#include "hw/sysbus.h"

#define MAX_IDE_BUS 2
#define CFG_ADDR 0xf0000510
Expand Down
26 changes: 13 additions & 13 deletions hw/ppc_oldworld.c → hw/ppc/mac_oldworld.c
Expand Up @@ -23,21 +23,21 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "hw.h"
#include "ppc.h"
#include "ppc_mac.h"
#include "adb.h"
#include "mac_dbdma.h"
#include "nvram.h"
#include "hw/hw.h"
#include "hw/ppc.h"
#include "mac.h"
#include "hw/adb.h"
#include "hw/mac_dbdma.h"
#include "hw/nvram.h"
#include "sysemu/sysemu.h"
#include "net/net.h"
#include "isa.h"
#include "pci/pci.h"
#include "boards.h"
#include "fw_cfg.h"
#include "escc.h"
#include "ide.h"
#include "loader.h"
#include "hw/isa.h"
#include "hw/pci/pci.h"
#include "hw/boards.h"
#include "hw/fw_cfg.h"
#include "hw/escc.h"
#include "hw/ide.h"
#include "hw/loader.h"
#include "elf.h"
#include "sysemu/kvm.h"
#include "kvm_ppc.h"
Expand Down
2 changes: 1 addition & 1 deletion hw/unin_pci.c
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
#include "hw.h"
#include "ppc_mac.h"
#include "ppc/mac.h"
#include "pci/pci.h"
#include "pci/pci_host.h"

Expand Down

0 comments on commit baec191

Please sign in to comment.