From 4ebc6dfa682fa199a88ec06f0930df04369f34ac Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Thu, 12 Jul 2012 14:23:55 +0100 Subject: [PATCH] Moved some 32-bit specific stuff to the 32 subdirectory. --- headers/private/kernel/arch/x86/bios.h | 4 ++++ src/system/kernel/arch/x86/{ => 32}/apm.cpp | 0 src/system/kernel/arch/x86/{ => 32}/bios.cpp | 0 src/system/kernel/arch/x86/{ => 32}/vm86.cpp | 0 src/system/kernel/arch/x86/Jamfile | 6 +++--- 5 files changed, 7 insertions(+), 3 deletions(-) rename src/system/kernel/arch/x86/{ => 32}/apm.cpp (100%) rename src/system/kernel/arch/x86/{ => 32}/bios.cpp (100%) rename src/system/kernel/arch/x86/{ => 32}/vm86.cpp (100%) diff --git a/headers/private/kernel/arch/x86/bios.h b/headers/private/kernel/arch/x86/bios.h index c88fe772dd..145f08fbf9 100644 --- a/headers/private/kernel/arch/x86/bios.h +++ b/headers/private/kernel/arch/x86/bios.h @@ -9,6 +9,8 @@ #include +#ifndef __x86_64__ + #define BIOS32_PCI_SERVICE 'ICP$' struct bios32_service { @@ -29,4 +31,6 @@ status_t bios_init(void); } #endif +#endif /* __x86_64__ */ + #endif /* ARCH_x86_BIOS_H */ diff --git a/src/system/kernel/arch/x86/apm.cpp b/src/system/kernel/arch/x86/32/apm.cpp similarity index 100% rename from src/system/kernel/arch/x86/apm.cpp rename to src/system/kernel/arch/x86/32/apm.cpp diff --git a/src/system/kernel/arch/x86/bios.cpp b/src/system/kernel/arch/x86/32/bios.cpp similarity index 100% rename from src/system/kernel/arch/x86/bios.cpp rename to src/system/kernel/arch/x86/32/bios.cpp diff --git a/src/system/kernel/arch/x86/vm86.cpp b/src/system/kernel/arch/x86/32/vm86.cpp similarity index 100% rename from src/system/kernel/arch/x86/vm86.cpp rename to src/system/kernel/arch/x86/32/vm86.cpp diff --git a/src/system/kernel/arch/x86/Jamfile b/src/system/kernel/arch/x86/Jamfile index 8834924481..2d4150920a 100644 --- a/src/system/kernel/arch/x86/Jamfile +++ b/src/system/kernel/arch/x86/Jamfile @@ -41,22 +41,22 @@ if $(TARGET_ARCH) = x86_64 { SEARCH_SOURCE += [ FDirName $(SUBDIR) paging pae ] ; archSpecificSources = + apm.cpp arch.S + bios.cpp cpuid.S int.cpp interrupts.S thread.cpp + vm86.cpp arch_commpage.cpp arch_debug.cpp arch_user_debugger.cpp - apm.cpp - bios.cpp ioapic.cpp irq_routing_table.cpp msi.cpp syscall.S - vm86.cpp x86_signals.cpp x86_signals_asm.S x86_syscalls.cpp