1SubDir HAIKU_TOP src system kernel arch x86 ; 2 3SubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) system kernel ] ; 4 # for syscall_numbers.h 5SubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers ps2 ; 6SubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica include ; 7SubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica include 8 platform ; 9SubDirHdrs $(SUBDIR) timers ; 10 11UsePrivateKernelHeaders ; 12UsePrivateHeaders shared ; 13 14SEARCH_SOURCE += [ FDirName $(SUBDIR) paging ] ; 15SEARCH_SOURCE += [ FDirName $(SUBDIR) paging 32bit ] ; 16SEARCH_SOURCE += [ FDirName $(SUBDIR) paging pae ] ; 17SEARCH_SOURCE += [ FDirName $(SUBDIR) timers ] ; 18 19 20KernelMergeObject kernel_arch_x86.o : 21 arch_commpage.cpp 22 arch_cpu.cpp 23 arch_debug.cpp 24 arch_debug_console.cpp 25 arch_elf.cpp 26 arch_int.cpp 27 arch_platform.cpp 28# arch_selector.cpp 29 arch_real_time_clock.cpp 30 arch_smp.cpp 31 arch_thread.cpp 32 arch_timer.cpp 33 arch_vm.cpp 34 arch_vm_translation_map.cpp 35 arch_x86.S 36 arch_interrupts.S 37 arch_system_info.cpp 38 arch_user_debugger.cpp 39 apic.cpp 40 apm.cpp 41 bios.cpp 42 cpuid.S 43 ioapic.cpp 44 irq_routing_table.cpp 45 msi.cpp 46 pic.cpp 47 syscall.S 48 vm86.cpp 49 x86_signals.cpp 50 x86_signals_asm.S 51 x86_syscalls.cpp 52 53 # paging 54 x86_physical_page_mapper.cpp 55 x86_physical_page_mapper_large_memory.cpp 56 X86PagingMethod.cpp 57 X86PagingStructures.cpp 58 X86VMTranslationMap.cpp 59 60 # paging/32bit 61 X86PagingMethod32Bit.cpp 62 X86PagingStructures32Bit.cpp 63 X86VMTranslationMap32Bit.cpp 64 65 # paging/pae 66 X86PagingMethodPAE.cpp 67 X86PagingStructuresPAE.cpp 68 X86VMTranslationMapPAE.cpp 69 70 # timers 71 x86_apic.cpp 72 x86_hpet.cpp 73 x86_pit.cpp 74 : 75 $(TARGET_KERNEL_PIC_CCFLAGS) 76; 77 78CreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp ; 79 80# We need to specify the dependency on the generated syscalls file explicitly. 81Includes [ FGristFiles arch_interrupts.S arch_x86.S x86_signals.cpp 82 x86_signals_asm.S ] 83 : <syscalls>syscall_numbers.h ; 84Includes [ FGristFiles arch_interrupts.S ] 85 : <syscalls>syscall_table.h ; 86