reactos/hal/halx86/pic.cmake
Victor Perevertkin 7601fb549c
[HALX86] Rearrange files in x86 HAL
- Rename UP -> PIC. The "up" folder in fact contains the code for
  managing the Intel 8259 PIC chip
- Move amd64/processor.c -> apic/processor.c. The code is not tied to
  amd64
- Remove platform from "halinit*" files. They already reside in the
  corresponding folder
2021-03-15 02:48:35 +03:00

19 lines
403 B
CMake

list(APPEND HAL_PIC_ASM_SOURCE
generic/systimer.S
generic/trap.S
pic/pic.S)
list(APPEND HAL_PIC_SOURCE
generic/clock.c
generic/profil.c
generic/timer.c
pic/halinit.c
pic/irql.c
pic/pic.c
pic/processor.c)
add_asm_files(lib_hal_pic_asm ${HAL_PIC_ASM_SOURCE})
add_library(lib_hal_pic OBJECT ${HAL_PIC_SOURCE} ${lib_hal_pic_asm})
add_dependencies(lib_hal_pic asm)