1 SubDir HAIKU_TOP src system kernel arch x86 ;
3 SubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH))
5 # for syscall_numbers.h
6 SubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers ps2 ;
7 SubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica include ;
8 SubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica include
10 SubDirHdrs $(SUBDIR) timers ;
12 UsePrivateKernelHeaders ;
13 UsePrivateHeaders shared ;
15 SEARCH_SOURCE += [ FDirName $(SUBDIR) paging ] ;
16 SEARCH_SOURCE += [ FDirName $(SUBDIR) timers ] ;
18 local archSpecificSources ;
19 if $(TARGET_ARCH) = x86_64 {
20 SEARCH_SOURCE += [ FDirName $(SUBDIR) 64 ] ;
21 SEARCH_SOURCE += [ FDirName $(SUBDIR) paging 64bit ] ;
34 x86_physical_page_mapper_mapped.cpp
37 X86PagingMethod64Bit.cpp
38 X86PagingStructures64Bit.cpp
39 X86VMTranslationMap64Bit.cpp
42 SEARCH_SOURCE += [ FDirName $(SUBDIR) 32 ] ;
43 SEARCH_SOURCE += [ FDirName $(SUBDIR) paging 32bit ] ;
44 SEARCH_SOURCE += [ FDirName $(SUBDIR) paging pae ] ;
60 x86_physical_page_mapper_large_memory.cpp
63 X86PagingMethod32Bit.cpp
64 X86PagingStructures32Bit.cpp
65 X86VMTranslationMap32Bit.cpp
68 X86PagingMethodPAE.cpp
69 X86PagingStructuresPAE.cpp
70 X86VMTranslationMapPAE.cpp
74 local archGenericSources =
78 arch_debug_console.cpp
82 arch_real_time_clock.cpp
87 arch_user_debugger.cpp
89 arch_vm_translation_map.cpp
98 X86PagingStructures.cpp
99 X86VMTranslationMap.cpp
107 KernelMergeObject kernel_arch_x86.o :
108 $(archSpecificSources)
109 $(archGenericSources)
111 $(TARGET_KERNEL_PIC_CCFLAGS)
114 CreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp ;
116 # We need to specify the dependency on the generated syscalls file explicitly.
117 Includes [ FGristFiles interrupts.S arch.S signals.cpp signals_asm.S ]
118 : <syscalls!$(TARGET_PACKAGING_ARCH)>syscall_numbers.h ;
119 Includes [ FGristFiles interrupts.S ]
120 : <syscalls!$(TARGET_PACKAGING_ARCH)>syscall_table.h ;