[FLOPPY] Don't wait forever while trying to determine media type.
[reactos.git] / hal / halx86 / generic.cmake
1
2 list(APPEND HAL_GENERIC_SOURCE
3 generic/beep.c
4 generic/cmos.c
5 generic/display.c
6 generic/dma.c
7 generic/drive.c
8 generic/halinit.c
9 generic/memory.c
10 generic/misc.c
11 generic/reboot.c
12 generic/sysinfo.c
13 generic/usage.c)
14
15 if(ARCH STREQUAL "i386")
16 list(APPEND HAL_GENERIC_SOURCE
17 generic/bios.c
18 generic/portio.c)
19
20 list(APPEND HAL_GENERIC_ASM_SOURCE
21 generic/v86.S)
22 endif()
23
24 add_asm_files(lib_hal_generic_asm ${HAL_GENERIC_ASM_SOURCE})
25 add_object_library(lib_hal_generic ${HAL_GENERIC_SOURCE} ${lib_hal_generic_asm})
26 add_dependencies(lib_hal_generic asm)