forked from reactos/reactos
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac54323
commit 808b682
Showing
40 changed files
with
15,063 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
|
||
add_definitions( | ||
-D_NTHALDLL_ | ||
-D_NTHAL_) | ||
|
||
add_definitions(-DMM_NEW) | ||
|
||
include_directories(include ${REACTOS_SOURCE_DIR}/ntoskrnl/include) | ||
|
||
# Handle the spec file for the dll name | ||
spec2def(halacpi.dll halacpi.spec ADD_IMPORTLIB) | ||
|
||
# The components generic | ||
list(APPEND HAL_SOURCE | ||
acpi/busemul.c | ||
acpi/dispatch.c | ||
acpi/halacpi.c | ||
acpi/halpnpdd.c | ||
bus/pcibus.c | ||
generic/i386/bios.c | ||
generic/i386/portio.c | ||
generic/beep.c | ||
generic/cmos.c | ||
generic/display.c | ||
generic/dma.c | ||
generic/drive.c | ||
generic/halinit.c | ||
generic/memory.c | ||
generic/misc.c | ||
generic/reboot.c | ||
generic/spinlock.c | ||
generic/sysinfo.c | ||
generic/usage.c | ||
pic/pic.c | ||
pic/profil.c | ||
pic/timer.c | ||
up/processor.c) | ||
|
||
list(APPEND HAL_ASM_SOURCE | ||
generic/v86.S | ||
pic/pic.S | ||
pic/pictrap.S | ||
pic/systimer.S) | ||
|
||
add_asm_files(lib_hal_pic_asm ${HAL_ASM_SOURCE}) | ||
|
||
add_library(halacpi MODULE | ||
${HAL_SOURCE} | ||
${lib_hal_pic_asm} | ||
version/halacpi.rc | ||
${CMAKE_CURRENT_BINARY_DIR}/halacpi.def) | ||
set_module_type(halacpi kerneldll ENTRYPOINT HalInitSystem 8) | ||
target_link_libraries(halacpi libcntpr wdmguid) | ||
add_dependencies(halacpi asm psdk bugcodes xdk) | ||
add_importlibs(halacpi ntoskrnl) | ||
#add_pch(halacpi include/hal.h SOURCE) | ||
add_cd_file(TARGET halacpi DESTINATION reactos/system32 NO_CAB FOR all) |
Oops, something went wrong.