xref: /haiku/src/system/kernel/arch/x86/Jamfile (revision 24df65921befcd0ad0c5c7866118f922da61cb96)
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 ;
6c2507ed4SMichael LotzSubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers acpi include ;
7c2507ed4SMichael LotzSubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers acpi include platform ;
86e29a04dSStefano CeccheriniSubDirHdrs $(SUBDIR) timers ;
9a71974c1SIngo Weinhold
106b202f4eSIngo WeinholdUsePrivateKernelHeaders ;
1147c40a10SIngo WeinholdUsePrivateHeaders shared ;
122d690920SAxel Dörfler
131b3e83adSIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) paging ] ;
141b3e83adSIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) paging 32bit ] ;
155b4d62a2SIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) paging pae ] ;
166e29a04dSStefano CeccheriniSEARCH_SOURCE += [ FDirName $(SUBDIR) timers ] ;
176e29a04dSStefano Ceccherini
181b3e83adSIngo Weinhold
192c8b410aSAxel DörflerKernelMergeObject kernel_arch_x86.o :
2034b3b26bSIngo Weinhold	arch_commpage.cpp
21cb387cfbSAxel Dörfler	arch_cpu.cpp
22393fceb5SAxel Dörfler	arch_debug.cpp
23bd185b41SIngo Weinhold	arch_debug_console.cpp
24bd185b41SIngo Weinhold	arch_elf.cpp
25671a2442SIngo Weinhold	arch_int.cpp
26bd185b41SIngo Weinhold	arch_platform.cpp
27bd185b41SIngo Weinhold#	arch_selector.cpp
28bd185b41SIngo Weinhold	arch_real_time_clock.cpp
29bd185b41SIngo Weinhold	arch_smp.cpp
304048494cSIngo Weinhold	arch_thread.cpp
31bd185b41SIngo Weinhold	arch_timer.cpp
32393fceb5SAxel Dörfler	arch_vm.cpp
33393fceb5SAxel Dörfler	arch_vm_translation_map.cpp
342d690920SAxel Dörfler	arch_x86.S
352d690920SAxel Dörfler	arch_interrupts.S
36bd185b41SIngo Weinhold	arch_system_info.cpp
372d690920SAxel Dörfler	arch_user_debugger.cpp
38655f3b41SMichael Lotz	apic.cpp
39afd6dfc8SAxel Dörfler	apm.cpp
402d690920SAxel Dörfler	bios.cpp
412d690920SAxel Dörfler	cpuid.S
42dc14d97bSMichael Lotz	ioapic.cpp
43cb58e3f7SClemens Zeidler	irq_routing_table.cpp
4433fbe254SMichael Lotz	msi.cpp
45dc14d97bSMichael Lotz	pic.cpp
461cbf8f4bSTravis Geiselbrecht	syscall.S
4715173df4SAxel Dörfler	vm86.cpp
48*24df6592SIngo Weinhold	x86_signals.cpp
49*24df6592SIngo Weinhold	x86_signals_asm.S
50*24df6592SIngo Weinhold	x86_syscalls.cpp
511b3e83adSIngo Weinhold
521b3e83adSIngo Weinhold	# paging
5347c40a10SIngo Weinhold	x86_physical_page_mapper.cpp
5447c40a10SIngo Weinhold	x86_physical_page_mapper_large_memory.cpp
55c6caf520SIngo Weinhold	X86PagingMethod.cpp
565aa0503cSIngo Weinhold	X86PagingStructures.cpp
575aa0503cSIngo Weinhold	X86VMTranslationMap.cpp
58a71974c1SIngo Weinhold
591b3e83adSIngo Weinhold	# paging/32bit
601b3e83adSIngo Weinhold	X86PagingMethod32Bit.cpp
61f0675bf7SIngo Weinhold	X86PagingStructures32Bit.cpp
621c7fda89SIngo Weinhold	X86VMTranslationMap32Bit.cpp
631b3e83adSIngo Weinhold
645b4d62a2SIngo Weinhold	# paging/pae
655b4d62a2SIngo Weinhold	X86PagingMethodPAE.cpp
665b4d62a2SIngo Weinhold	X86PagingStructuresPAE.cpp
675b4d62a2SIngo Weinhold	X86VMTranslationMapPAE.cpp
685b4d62a2SIngo Weinhold
695b4d62a2SIngo Weinhold	# timers
70bd185b41SIngo Weinhold	x86_apic.cpp
714687d95bSStefano Ceccherini	x86_hpet.cpp
72bd185b41SIngo Weinhold	x86_pit.cpp
732d690920SAxel Dörfler	:
74a8f9741cSMichael Lotz	$(TARGET_KERNEL_PIC_CCFLAGS)
752d690920SAxel Dörfler;
762d690920SAxel Dörfler
7734b3b26bSIngo WeinholdCreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp ;
7834b3b26bSIngo Weinhold
792d690920SAxel Dörfler# We need to specify the dependency on the generated syscalls file explicitly.
802d690920SAxel DörflerIncludes [ FGristFiles arch_x86.S arch_interrupts.S ]
812d690920SAxel Dörfler	: <syscalls>syscall_numbers.h ;
8234b3b26bSIngo WeinholdIncludes [ FGristFiles arch_interrupts.S ]
8334b3b26bSIngo Weinhold	: <syscalls>syscall_table.h ;
84