xref: /haiku/src/system/kernel/arch/x86/Jamfile (revision 5aa0503c7c1ce7ea4c0595d9a402e612bb290ec8)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system kernel arch x86 ;
22d690920SAxel Dörfler
3338b8dc3SIngo WeinholdSubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) system kernel ] ;
40a51327fSAxel Dörfler	# for syscall_numbers.h
5036b999bSAxel DörflerSubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers ps2 ;
66e29a04dSStefano CeccheriniSubDirHdrs $(SUBDIR) timers ;
7a71974c1SIngo Weinhold
86b202f4eSIngo WeinholdUsePrivateKernelHeaders ;
947c40a10SIngo WeinholdUsePrivateHeaders shared ;
102d690920SAxel Dörfler
116e29a04dSStefano CeccheriniSEARCH_SOURCE += [ FDirName $(SUBDIR) timers ] ;
126e29a04dSStefano Ceccherini
132c8b410aSAxel DörflerKernelMergeObject kernel_arch_x86.o :
1434b3b26bSIngo Weinhold	arch_commpage.cpp
15cb387cfbSAxel Dörfler	arch_cpu.cpp
16393fceb5SAxel Dörfler	arch_debug.cpp
17bd185b41SIngo Weinhold	arch_debug_console.cpp
18bd185b41SIngo Weinhold	arch_elf.cpp
19671a2442SIngo Weinhold	arch_int.cpp
20bd185b41SIngo Weinhold	arch_platform.cpp
21bd185b41SIngo Weinhold#	arch_selector.cpp
22bd185b41SIngo Weinhold	arch_real_time_clock.cpp
23bd185b41SIngo Weinhold	arch_smp.cpp
244048494cSIngo Weinhold	arch_thread.cpp
25bd185b41SIngo Weinhold	arch_timer.cpp
26393fceb5SAxel Dörfler	arch_vm.cpp
27393fceb5SAxel Dörfler	arch_vm_translation_map.cpp
282d690920SAxel Dörfler	arch_x86.S
292d690920SAxel Dörfler	arch_interrupts.S
30bd185b41SIngo Weinhold	arch_system_info.cpp
312d690920SAxel Dörfler	arch_user_debugger.cpp
32655f3b41SMichael Lotz	apic.cpp
33afd6dfc8SAxel Dörfler	apm.cpp
342d690920SAxel Dörfler	bios.cpp
352d690920SAxel Dörfler	cpuid.S
36cb58e3f7SClemens Zeidler	irq_routing_table.cpp
3733fbe254SMichael Lotz	msi.cpp
381cbf8f4bSTravis Geiselbrecht	syscall.S
3915173df4SAxel Dörfler	vm86.cpp
4047c40a10SIngo Weinhold	x86_physical_page_mapper.cpp
4147c40a10SIngo Weinhold	x86_physical_page_mapper_large_memory.cpp
422cf60f90SIngo Weinhold	x86_syscalls.cpp
43c6caf520SIngo Weinhold	X86PagingMethod.cpp
44c6caf520SIngo Weinhold	X86PagingMethod32Bit.cpp
45*5aa0503cSIngo Weinhold	X86PagingStructures.cpp
46*5aa0503cSIngo Weinhold	X86VMTranslationMap.cpp
47a71974c1SIngo Weinhold
48bd185b41SIngo Weinhold	x86_apic.cpp
494687d95bSStefano Ceccherini	x86_hpet.cpp
50bd185b41SIngo Weinhold	x86_pit.cpp
512d690920SAxel Dörfler	:
52a8f9741cSMichael Lotz	$(TARGET_KERNEL_PIC_CCFLAGS)
532d690920SAxel Dörfler;
542d690920SAxel Dörfler
5534b3b26bSIngo WeinholdCreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp ;
5634b3b26bSIngo Weinhold
572d690920SAxel Dörfler# We need to specify the dependency on the generated syscalls file explicitly.
582d690920SAxel DörflerIncludes [ FGristFiles arch_x86.S arch_interrupts.S ]
592d690920SAxel Dörfler	: <syscalls>syscall_numbers.h ;
6034b3b26bSIngo WeinholdIncludes [ FGristFiles arch_interrupts.S ]
6134b3b26bSIngo Weinhold	: <syscalls>syscall_table.h ;
62