reactos/hal/halx86/xbox.cmake
Adam Słaboń ce2d4740a6
[SDK][HAL] Enable x86Bios on x86 (#5454)
This will be needed for compatibility with x86 Windows Vista/7 videoprt.sys builds.
Might be also useful in future for platforms (x86 , ...) where V86 mode is not available or buggy.

CORE-11954, CORE-18185
2023-07-20 21:44:44 +02:00

50 lines
1.1 KiB
CMake

list(APPEND HAL_XBOX_ASM_SOURCE
generic/systimer.S
generic/trap.S
generic/v86.S
pic/pic.S)
list(APPEND HAL_XBOX_SOURCE
generic/beep.c
generic/cmos.c
generic/display.c
generic/dma.c
generic/drive.c
generic/halinit.c
generic/kdpci.c
generic/memory.c
generic/misc.c
generic/nmi.c
generic/pic.c
generic/sysinfo.c
generic/usage.c
generic/bios.c
generic/portio.c
generic/x86bios.c
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
xbox/clock.c
xbox/part_xbox.c
xbox/halinit.c
xbox/reboot.c
pic/irql.c
pic/pic.c
pic/processor.c)
add_asm_files(lib_hal_xbox_asm ${HAL_XBOX_ASM_SOURCE})
add_library(lib_hal_xbox OBJECT ${HAL_XBOX_SOURCE} ${lib_hal_xbox_asm})
add_dependencies(lib_hal_xbox bugcodes xdk asm)
#add_pch(lib_hal_xbox xbox/halxbox.h)
target_compile_definitions(lib_hal_xbox PRIVATE SARCH_XBOX)