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