1 2list(APPEND HAL_XBOX_ASM_SOURCE 3 generic/systimer.S 4 generic/trap.S 5 generic/v86.S 6 pic/pic.S) 7 8list(APPEND HAL_XBOX_SOURCE 9 generic/beep.c 10 generic/cmos.c 11 generic/display.c 12 generic/dma.c 13 generic/drive.c 14 generic/halinit.c 15 generic/memory.c 16 generic/misc.c 17 generic/nmi.c 18 generic/pic.c 19 generic/sysinfo.c 20 generic/usage.c 21 generic/bios.c 22 generic/portio.c 23 legacy/bus/bushndlr.c 24 legacy/bus/cmosbus.c 25 legacy/bus/isabus.c 26 legacy/bus/pcibus.c 27 ${CMAKE_CURRENT_BINARY_DIR}/pci_classes.c 28 ${CMAKE_CURRENT_BINARY_DIR}/pci_vendors.c 29 legacy/bus/sysbus.c 30 legacy/bussupp.c 31 legacy/halpnpdd.c 32 legacy/halpcat.c 33 generic/profil.c 34 generic/timer.c 35 xbox/clock.c 36 xbox/part_xbox.c 37 xbox/halinit.c 38 xbox/reboot.c 39 pic/irql.c 40 pic/pic.c 41 pic/processor.c) 42 43add_asm_files(lib_hal_xbox_asm ${HAL_XBOX_ASM_SOURCE}) 44add_library(lib_hal_xbox OBJECT ${HAL_XBOX_SOURCE} ${lib_hal_xbox_asm}) 45add_dependencies(lib_hal_xbox bugcodes xdk asm) 46#add_pch(lib_hal_xbox xbox/halxbox.h) 47target_compile_definitions(lib_hal_xbox PRIVATE SARCH_XBOX) 48