xref: /haiku/src/system/kernel/arch/x86/Jamfile (revision 1b3e83addefd97925b84cebaf4003d14c9062781)
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
11*1b3e83adSIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) paging ] ;
12*1b3e83adSIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) paging 32bit ] ;
136e29a04dSStefano CeccheriniSEARCH_SOURCE += [ FDirName $(SUBDIR) timers ] ;
146e29a04dSStefano Ceccherini
15*1b3e83adSIngo Weinhold
162c8b410aSAxel DörflerKernelMergeObject kernel_arch_x86.o :
1734b3b26bSIngo Weinhold	arch_commpage.cpp
18cb387cfbSAxel Dörfler	arch_cpu.cpp
19393fceb5SAxel Dörfler	arch_debug.cpp
20bd185b41SIngo Weinhold	arch_debug_console.cpp
21bd185b41SIngo Weinhold	arch_elf.cpp
22671a2442SIngo Weinhold	arch_int.cpp
23bd185b41SIngo Weinhold	arch_platform.cpp
24bd185b41SIngo Weinhold#	arch_selector.cpp
25bd185b41SIngo Weinhold	arch_real_time_clock.cpp
26bd185b41SIngo Weinhold	arch_smp.cpp
274048494cSIngo Weinhold	arch_thread.cpp
28bd185b41SIngo Weinhold	arch_timer.cpp
29393fceb5SAxel Dörfler	arch_vm.cpp
30393fceb5SAxel Dörfler	arch_vm_translation_map.cpp
312d690920SAxel Dörfler	arch_x86.S
322d690920SAxel Dörfler	arch_interrupts.S
33bd185b41SIngo Weinhold	arch_system_info.cpp
342d690920SAxel Dörfler	arch_user_debugger.cpp
35655f3b41SMichael Lotz	apic.cpp
36afd6dfc8SAxel Dörfler	apm.cpp
372d690920SAxel Dörfler	bios.cpp
382d690920SAxel Dörfler	cpuid.S
39cb58e3f7SClemens Zeidler	irq_routing_table.cpp
4033fbe254SMichael Lotz	msi.cpp
411cbf8f4bSTravis Geiselbrecht	syscall.S
4215173df4SAxel Dörfler	vm86.cpp
43*1b3e83adSIngo Weinhold
44*1b3e83adSIngo Weinhold	# paging
4547c40a10SIngo Weinhold	x86_physical_page_mapper.cpp
4647c40a10SIngo Weinhold	x86_physical_page_mapper_large_memory.cpp
472cf60f90SIngo Weinhold	x86_syscalls.cpp
48c6caf520SIngo Weinhold	X86PagingMethod.cpp
495aa0503cSIngo Weinhold	X86PagingStructures.cpp
505aa0503cSIngo Weinhold	X86VMTranslationMap.cpp
51a71974c1SIngo Weinhold
52*1b3e83adSIngo Weinhold	# paging/32bit
53*1b3e83adSIngo Weinhold	X86PagingMethod32Bit.cpp
54*1b3e83adSIngo Weinhold
55bd185b41SIngo Weinhold	x86_apic.cpp
564687d95bSStefano Ceccherini	x86_hpet.cpp
57bd185b41SIngo Weinhold	x86_pit.cpp
582d690920SAxel Dörfler	:
59a8f9741cSMichael Lotz	$(TARGET_KERNEL_PIC_CCFLAGS)
602d690920SAxel Dörfler;
612d690920SAxel Dörfler
6234b3b26bSIngo WeinholdCreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp ;
6334b3b26bSIngo Weinhold
642d690920SAxel Dörfler# We need to specify the dependency on the generated syscalls file explicitly.
652d690920SAxel DörflerIncludes [ FGristFiles arch_x86.S arch_interrupts.S ]
662d690920SAxel Dörfler	: <syscalls>syscall_numbers.h ;
6734b3b26bSIngo WeinholdIncludes [ FGristFiles arch_interrupts.S ]
6834b3b26bSIngo Weinhold	: <syscalls>syscall_table.h ;
69