reactos/hal/halx86/acpi.cmake
Justin Miller 0fc21e5a9b
[HALX86] Add function prototypes needed for parsing ACPI MADT table
- Use ACPICA headers to gather the information.
- Add PROCESSOR_IDENTITY structure that will be used by all APIC HALs.
2022-04-07 22:54:13 +03:00

21 lines
552 B
CMake

include_directories(include ${REACTOS_SOURCE_DIR}/drivers/bus/acpi/acpica/include)
list(APPEND HAL_ACPI_SOURCE
acpi/halacpi.c
acpi/halpnpdd.c
acpi/busemul.c
acpi/madt.c
legacy/bus/pcibus.c)
# Needed to compile while using ACPICA
if(ARCH STREQUAL "amd64")
add_definitions(-DWIN64)
endif()
add_library(lib_hal_acpi OBJECT ${HAL_ACPI_SOURCE})
add_pch(lib_hal_acpi ${REACTOS_SOURCE_DIR}/drivers/bus/acpi/acpica/include/acpi.h ${HAL_ACPI_SOURCE})
add_dependencies(lib_hal_acpi bugcodes xdk)
#add_pch(lib_hal_acpi include/hal.h)