2019-08-12 09:23:25 +00:00
|
|
|
|
|
|
|
list(APPEND HAL_XBOX_ASM_SOURCE
|
|
|
|
generic/systimer.S
|
|
|
|
generic/trap.S
|
2019-10-04 17:42:16 +00:00
|
|
|
generic/v86.S
|
2021-03-14 23:42:49 +00:00
|
|
|
pic/pic.S)
|
2019-08-12 09:23:25 +00:00
|
|
|
|
|
|
|
list(APPEND HAL_XBOX_SOURCE
|
2019-10-04 17:42:16 +00:00
|
|
|
generic/beep.c
|
|
|
|
generic/cmos.c
|
|
|
|
generic/display.c
|
|
|
|
generic/dma.c
|
|
|
|
generic/drive.c
|
|
|
|
generic/halinit.c
|
2021-09-06 18:42:23 +00:00
|
|
|
generic/kdpci.c
|
2019-10-04 17:42:16 +00:00
|
|
|
generic/memory.c
|
|
|
|
generic/misc.c
|
2020-07-25 13:31:02 +00:00
|
|
|
generic/nmi.c
|
2019-10-04 17:42:16 +00:00
|
|
|
generic/pic.c
|
|
|
|
generic/sysinfo.c
|
|
|
|
generic/usage.c
|
|
|
|
generic/bios.c
|
|
|
|
generic/portio.c
|
2023-07-20 19:44:44 +00:00
|
|
|
generic/x86bios.c
|
2019-08-12 09:23:25 +00:00
|
|
|
legacy/bus/bushndlr.c
|
|
|
|
legacy/bus/cmosbus.c
|
|
|
|
legacy/bus/isabus.c
|
|
|
|
legacy/bus/pcibus.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/pci_classes.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/pci_vendors.c
|
|
|
|
legacy/bus/sysbus.c
|
|
|
|
legacy/bussupp.c
|
|
|
|
legacy/halpnpdd.c
|
|
|
|
legacy/halpcat.c
|
|
|
|
generic/profil.c
|
|
|
|
generic/timer.c
|
2020-06-02 23:14:16 +00:00
|
|
|
xbox/clock.c
|
2019-08-12 09:23:25 +00:00
|
|
|
xbox/part_xbox.c
|
2021-03-14 23:42:49 +00:00
|
|
|
xbox/halinit.c
|
2019-10-04 19:04:51 +00:00
|
|
|
xbox/reboot.c
|
2021-03-14 23:42:49 +00:00
|
|
|
pic/irql.c
|
|
|
|
pic/pic.c
|
|
|
|
pic/processor.c)
|
2019-08-12 09:23:25 +00:00
|
|
|
|
|
|
|
add_asm_files(lib_hal_xbox_asm ${HAL_XBOX_ASM_SOURCE})
|
2021-02-02 15:33:15 +00:00
|
|
|
add_library(lib_hal_xbox OBJECT ${HAL_XBOX_SOURCE} ${lib_hal_xbox_asm})
|
2019-08-12 09:23:25 +00:00
|
|
|
add_dependencies(lib_hal_xbox bugcodes xdk asm)
|
|
|
|
#add_pch(lib_hal_xbox xbox/halxbox.h)
|
2021-02-02 15:33:15 +00:00
|
|
|
target_compile_definitions(lib_hal_xbox PRIVATE SARCH_XBOX)
|