mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
ce2d4740a6
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
58 lines
1.2 KiB
CMake
58 lines
1.2 KiB
CMake
|
|
# Generic
|
|
list(APPEND HAL_PC98_SOURCE
|
|
pc98/beep.c
|
|
pc98/clock.c
|
|
pc98/cmos.c
|
|
pc98/delay.c
|
|
pc98/pic.c
|
|
pc98/profil.c
|
|
pc98/reboot.c
|
|
generic/bios.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/portio.c
|
|
generic/sysinfo.c
|
|
generic/usage.c
|
|
generic/x86bios.c)
|
|
|
|
list(APPEND HAL_PC98_ASM_SOURCE
|
|
generic/v86.S)
|
|
|
|
# PIC
|
|
list(APPEND HAL_PC98_SOURCE
|
|
pc98/irql.c
|
|
generic/timer.c
|
|
pic/halinit.c
|
|
pic/pic.c
|
|
pic/processor.c)
|
|
|
|
list(APPEND HAL_PC98_ASM_SOURCE
|
|
generic/trap.S
|
|
pic/pic.S)
|
|
|
|
# Legacy
|
|
list(APPEND HAL_PC98_SOURCE
|
|
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)
|
|
|
|
add_asm_files(lib_hal_pc98_asm ${HAL_PC98_ASM_SOURCE})
|
|
add_library(lib_hal_pc98 OBJECT ${HAL_PC98_SOURCE} ${lib_hal_pc98_asm})
|
|
add_dependencies(lib_hal_pc98 bugcodes xdk asm)
|
|
#add_pch(lib_hal_pc98 pc98/halpc98.h)
|
|
|
|
target_compile_definitions(lib_hal_pc98 PRIVATE SARCH_PC98)
|