diff options
Diffstat (limited to 'Kernel/Arch/x86')
-rw-r--r-- | Kernel/Arch/x86/CPU.h | 3 | ||||
-rw-r--r-- | Kernel/Arch/x86/common/ASM_wrapper.cpp | 2 | ||||
-rw-r--r-- | Kernel/Arch/x86/common/Interrupts.cpp | 1 | ||||
-rw-r--r-- | Kernel/Arch/x86/common/Processor.cpp | 2 | ||||
-rw-r--r-- | Kernel/Arch/x86/i386/ASM_wrapper.cpp | 2 | ||||
-rw-r--r-- | Kernel/Arch/x86/i386/Processor.cpp | 2 | ||||
-rw-r--r-- | Kernel/Arch/x86/x86_64/ASM_wrapper.cpp | 2 | ||||
-rw-r--r-- | Kernel/Arch/x86/x86_64/Processor.cpp | 2 |
8 files changed, 7 insertions, 9 deletions
diff --git a/Kernel/Arch/x86/CPU.h b/Kernel/Arch/x86/CPU.h index 32c1bde4f2..298ed8d12a 100644 --- a/Kernel/Arch/x86/CPU.h +++ b/Kernel/Arch/x86/CPU.h @@ -11,9 +11,6 @@ #include <Kernel/Arch/x86/DescriptorTable.h> -#define READONLY_AFTER_INIT __attribute__((section(".ro_after_init"))) -#define UNMAP_AFTER_INIT NEVER_INLINE __attribute__((section(".unmap_after_init"))) - /* Map IRQ0-15 @ ISR 0x50-0x5F */ #define IRQ_VECTOR_BASE 0x50 #define GENERIC_INTERRUPT_HANDLERS_COUNT (256 - IRQ_VECTOR_BASE) diff --git a/Kernel/Arch/x86/common/ASM_wrapper.cpp b/Kernel/Arch/x86/common/ASM_wrapper.cpp index 787f291225..49f33dd3e8 100644 --- a/Kernel/Arch/x86/common/ASM_wrapper.cpp +++ b/Kernel/Arch/x86/common/ASM_wrapper.cpp @@ -7,8 +7,8 @@ #include <AK/Types.h> #include <Kernel/Arch/x86/ASM_wrapper.h> -#include <Kernel/Arch/x86/CPU.h> #include <Kernel/Arch/x86/Processor.h> +#include <Kernel/Sections.h> namespace Kernel { diff --git a/Kernel/Arch/x86/common/Interrupts.cpp b/Kernel/Arch/x86/common/Interrupts.cpp index bcd5e5e663..a5b619735f 100644 --- a/Kernel/Arch/x86/common/Interrupts.cpp +++ b/Kernel/Arch/x86/common/Interrupts.cpp @@ -15,6 +15,7 @@ #include <Kernel/PerformanceManager.h> #include <Kernel/Process.h> #include <Kernel/Random.h> +#include <Kernel/Sections.h> #include <Kernel/Thread.h> #include <LibC/mallocdefs.h> diff --git a/Kernel/Arch/x86/common/Processor.cpp b/Kernel/Arch/x86/common/Processor.cpp index 17d798cc20..96281902d7 100644 --- a/Kernel/Arch/x86/common/Processor.cpp +++ b/Kernel/Arch/x86/common/Processor.cpp @@ -12,11 +12,11 @@ #include <Kernel/Interrupts/APIC.h> #include <Kernel/Process.h> #include <Kernel/Random.h> +#include <Kernel/Sections.h> #include <Kernel/StdLib.h> #include <Kernel/Thread.h> #include <Kernel/VM/ProcessPagingScope.h> -#include <Kernel/Arch/x86/CPU.h> #include <Kernel/Arch/x86/CPUID.h> #include <Kernel/Arch/x86/Interrupts.h> #include <Kernel/Arch/x86/Processor.h> diff --git a/Kernel/Arch/x86/i386/ASM_wrapper.cpp b/Kernel/Arch/x86/i386/ASM_wrapper.cpp index f5ba002a5a..449529e8f2 100644 --- a/Kernel/Arch/x86/i386/ASM_wrapper.cpp +++ b/Kernel/Arch/x86/i386/ASM_wrapper.cpp @@ -7,8 +7,8 @@ #include <AK/Types.h> #include <Kernel/Arch/x86/ASM_wrapper.h> -#include <Kernel/Arch/x86/CPU.h> #include <Kernel/Arch/x86/Processor.h> +#include <Kernel/Sections.h> namespace Kernel { diff --git a/Kernel/Arch/x86/i386/Processor.cpp b/Kernel/Arch/x86/i386/Processor.cpp index 4c35e351d9..dd08a0813a 100644 --- a/Kernel/Arch/x86/i386/Processor.cpp +++ b/Kernel/Arch/x86/i386/Processor.cpp @@ -5,12 +5,12 @@ */ #include <AK/StdLibExtras.h> -#include <Kernel/Arch/x86/CPU.h> #include <Kernel/Arch/x86/Processor.h> #include <Kernel/Arch/x86/TrapFrame.h> #include <Kernel/Panic.h> #include <Kernel/Process.h> #include <Kernel/Random.h> +#include <Kernel/Sections.h> #include <Kernel/Thread.h> namespace Kernel { diff --git a/Kernel/Arch/x86/x86_64/ASM_wrapper.cpp b/Kernel/Arch/x86/x86_64/ASM_wrapper.cpp index 9a463bf1b4..754f453fe7 100644 --- a/Kernel/Arch/x86/x86_64/ASM_wrapper.cpp +++ b/Kernel/Arch/x86/x86_64/ASM_wrapper.cpp @@ -7,8 +7,8 @@ #include <AK/Types.h> #include <Kernel/Arch/x86/ASM_wrapper.h> -#include <Kernel/Arch/x86/CPU.h> #include <Kernel/Arch/x86/Processor.h> +#include <Kernel/Sections.h> namespace Kernel { diff --git a/Kernel/Arch/x86/x86_64/Processor.cpp b/Kernel/Arch/x86/x86_64/Processor.cpp index 17dae9352b..7db6c9ad4c 100644 --- a/Kernel/Arch/x86/x86_64/Processor.cpp +++ b/Kernel/Arch/x86/x86_64/Processor.cpp @@ -5,12 +5,12 @@ */ #include <AK/StdLibExtras.h> -#include <Kernel/Arch/x86/CPU.h> #include <Kernel/Arch/x86/Processor.h> #include <Kernel/Arch/x86/TrapFrame.h> #include <Kernel/Panic.h> #include <Kernel/Process.h> #include <Kernel/Random.h> +#include <Kernel/Sections.h> #include <Kernel/Thread.h> namespace Kernel { |