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
|
2019-08-12 09:23:25 +00:00
|
|
|
up/pic.S)
|
|
|
|
|
|
|
|
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
|
|
|
|
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
|
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
|
|
|
|
xbox/halinit_xbox.c
|
2019-10-04 19:04:51 +00:00
|
|
|
xbox/reboot.c
|
2020-07-25 13:31:02 +00:00
|
|
|
up/irql.c
|
2019-08-12 09:23:25 +00:00
|
|
|
up/pic.c)
|
|
|
|
|
|
|
|
add_asm_files(lib_hal_xbox_asm ${HAL_XBOX_ASM_SOURCE})
|
|
|
|
add_object_library(lib_hal_xbox ${HAL_XBOX_SOURCE} ${lib_hal_xbox_asm})
|
|
|
|
add_dependencies(lib_hal_xbox bugcodes xdk asm)
|
|
|
|
#add_pch(lib_hal_xbox xbox/halxbox.h)
|
|
|
|
|
|
|
|
if(MSVC)
|
2020-07-25 13:31:02 +00:00
|
|
|
target_link_libraries(lib_hal_xbox)
|
2019-08-12 09:23:25 +00:00
|
|
|
endif()
|