From f6f10575f75ac23d06e1d94f7861611503daa7af Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 23 Apr 2026 14:03:28 +0200 Subject: chore: banish relative includes --- arch/x86_64/pre/src/context_switching/main.cpp | 16 ++++++++-------- arch/x86_64/pre/src/context_switching/syscall/main.cpp | 2 +- .../pre/src/context_switching/syscall/syscall_enable.cpp | 8 ++++---- .../src/context_switching/syscall/syscall_handler.cpp | 14 +++++++------- 4 files changed, 20 insertions(+), 20 deletions(-) (limited to 'arch/x86_64/pre/src/context_switching') diff --git a/arch/x86_64/pre/src/context_switching/main.cpp b/arch/x86_64/pre/src/context_switching/main.cpp index 3eb6dae..0961499 100644 --- a/arch/x86_64/pre/src/context_switching/main.cpp +++ b/arch/x86_64/pre/src/context_switching/main.cpp @@ -1,12 +1,12 @@ -#include "arch/context_switching/main.hpp" +#include -#include "arch/boot/pointers.hpp" -#include "arch/context_switching/syscall/syscall_enable.hpp" -#include "arch/kernel/cpu/call.hpp" -#include "arch/kernel/cpu/if.hpp" -#include "arch/kernel/cpu/segment_register.hpp" -#include "arch/kernel/cpu/tr.hpp" -#include "arch/user/main.hpp" +#include +#include +#include +#include +#include +#include +#include namespace teachos::arch::context_switching { diff --git a/arch/x86_64/pre/src/context_switching/syscall/main.cpp b/arch/x86_64/pre/src/context_switching/syscall/main.cpp index b4ab468..10bd087 100644 --- a/arch/x86_64/pre/src/context_switching/syscall/main.cpp +++ b/arch/x86_64/pre/src/context_switching/syscall/main.cpp @@ -1,4 +1,4 @@ -#include "arch/context_switching/syscall/main.hpp" +#include namespace teachos::arch::context_switching::syscall { diff --git a/arch/x86_64/pre/src/context_switching/syscall/syscall_enable.cpp b/arch/x86_64/pre/src/context_switching/syscall/syscall_enable.cpp index dbb3ed9..f9f070a 100644 --- a/arch/x86_64/pre/src/context_switching/syscall/syscall_enable.cpp +++ b/arch/x86_64/pre/src/context_switching/syscall/syscall_enable.cpp @@ -1,8 +1,8 @@ -#include "arch/context_switching/syscall/syscall_enable.hpp" +#include -#include "arch/context_switching/interrupt_descriptor_table/segment_selector.hpp" -#include "arch/context_switching/syscall/syscall_handler.hpp" -#include "arch/kernel/cpu/msr.hpp" +#include +#include +#include namespace teachos::arch::context_switching::syscall { diff --git a/arch/x86_64/pre/src/context_switching/syscall/syscall_handler.cpp b/arch/x86_64/pre/src/context_switching/syscall/syscall_handler.cpp index c120f77..430d65c 100644 --- a/arch/x86_64/pre/src/context_switching/syscall/syscall_handler.cpp +++ b/arch/x86_64/pre/src/context_switching/syscall/syscall_handler.cpp @@ -1,11 +1,11 @@ -#include "arch/context_switching/syscall/syscall_handler.hpp" +#include -#include "arch/context_switching/syscall/main.hpp" -#include "arch/exception_handling/assert.hpp" -#include "arch/exception_handling/panic.hpp" -#include "arch/memory/heap/global_heap_allocator.hpp" -#include "arch/memory/main.hpp" -#include "arch/video/vga/text.hpp" +#include +#include +#include +#include +#include +#include namespace teachos::arch::context_switching::syscall { -- cgit v1.2.3