mirror of https://github.com/xemu-project/xemu.git
Make xbox a target instead of just a config option
This commit is contained in:
parent
7de12027b4
commit
72666216a8
|
@ -4112,6 +4112,11 @@ case "$target_arch2" in
|
|||
;;
|
||||
unicore32)
|
||||
;;
|
||||
xbox)
|
||||
target_arch2=i386
|
||||
TARGET_ARCH=i386
|
||||
TARGET_BASE_ARCH=i386
|
||||
;;
|
||||
xtensa|xtensaeb)
|
||||
TARGET_ARCH=xtensa
|
||||
;;
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
# Default configuration for xbox-softmmu
|
||||
|
||||
include pci.mak
|
||||
include usb.mak
|
||||
CONFIG_VGA=y
|
||||
CONFIG_VGA_PCI=y
|
||||
CONFIG_VMMOUSE=y
|
||||
CONFIG_I8254=y
|
||||
CONFIG_PCSPK=y
|
||||
CONFIG_PCKBD=y
|
||||
CONFIG_FDC=y
|
||||
CONFIG_ACPI=y
|
||||
CONFIG_APM=y
|
||||
CONFIG_DMA=y
|
||||
CONFIG_IDE_ISA=y
|
||||
CONFIG_IDE_PIIX=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_HPET=y
|
||||
CONFIG_I8259=y
|
||||
CONFIG_PFLASH_CFI01=y
|
||||
CONFIG_XBOX=y
|
|
@ -213,4 +213,6 @@ obj-$(CONFIG_KVM) += ivshmem.o
|
|||
obj-$(CONFIG_LINUX) += vfio_pci.o
|
||||
endif
|
||||
|
||||
obj-$(CONFIG_XBOX) += xbox_pci.o acpi_xbox.o amd_smbus.o nv2a.o nv2a_vsh.o mcpx_apu.o mcpx_aci.o smbus_xbox_smc.o smbus_cx25871.o smbus_adm1032.o
|
||||
|
||||
endif
|
||||
|
|
|
@ -13,12 +13,11 @@ obj-y += kvm/
|
|||
obj-$(CONFIG_SPICE) += qxl.o qxl-logger.o qxl-render.o
|
||||
obj-y += pc-testdev.o
|
||||
|
||||
obj-$(CONFIG_XBOX) += xbox.o xbox_pci.o acpi_xbox.o amd_smbus.o nv2a.o nv2a_vsh.o mcpx_apu.o mcpx_aci.o smbus_xbox_smc.o smbus_cx25871.o smbus_adm1032.o
|
||||
|
||||
obj-y := $(addprefix ../,$(obj-y))
|
||||
|
||||
obj-y += multiboot.o smbios.o
|
||||
obj-y += pc.o pc_piix.o pc_q35.o
|
||||
obj-$(CONFIG_XBOX) += xbox.o
|
||||
obj-$(CONFIG_XEN) += xen_domainbuild.o xen_machine_pv.o
|
||||
|
||||
obj-y += kvmvapic.o
|
||||
|
|
|
@ -20,25 +20,25 @@
|
|||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "hw.h"
|
||||
#include "hw/hw.h"
|
||||
#include "sysemu/arch_init.h"
|
||||
#include "pc.h"
|
||||
#include "pci/pci.h"
|
||||
#include "boards.h"
|
||||
#include "ide.h"
|
||||
#include "mc146818rtc.h"
|
||||
#include "i8254.h"
|
||||
#include "pcspk.h"
|
||||
#include "hw/pc.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/ide.h"
|
||||
#include "hw/mc146818rtc.h"
|
||||
#include "hw/i8254.h"
|
||||
#include "hw/pcspk.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysbus.h"
|
||||
#include "smbus.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/smbus.h"
|
||||
#include "sysemu/blockdev.h"
|
||||
#include "loader.h"
|
||||
#include "hw/loader.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
#include "xbox_pci.h"
|
||||
#include "nv2a.h"
|
||||
#include "mcpx_apu.h"
|
||||
#include "hw/xbox_pci.h"
|
||||
#include "hw/nv2a.h"
|
||||
#include "hw/mcpx_apu.h"
|
||||
|
||||
/* mostly from pc_memory_init */
|
||||
static void xbox_memory_init(MemoryRegion *system_memory,
|
Loading…
Reference in New Issue