mirror of
https://github.com/reactos/reactos.git
synced 2024-07-31 16:48:14 +00:00
![Justin Miller](/assets/img/avatar_default.png)
- Use ACPICA headers to gather the information. - Add PROCESSOR_IDENTITY structure that will be used by all APIC HALs.
21 lines
552 B
CMake
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)
|
|
|