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/include/arch/boot/boot.hpp | 2 +- arch/x86_64/include/arch/bus/isa.hpp | 2 +- arch/x86_64/include/arch/cpu/control_register.hpp | 4 +-- .../include/arch/cpu/global_descriptor_table.hpp | 4 +-- arch/x86_64/include/arch/cpu/interrupts.hpp | 4 +-- arch/x86_64/include/arch/cpu/legacy_pic.hpp | 2 +- .../include/arch/cpu/model_specific_register.hpp | 2 +- arch/x86_64/include/arch/cpu/registers.hpp | 6 ++-- arch/x86_64/include/arch/debug/qemu_output.hpp | 4 +-- arch/x86_64/include/arch/devices/legacy_pit.hpp | 4 +-- arch/x86_64/include/arch/devices/local_apic.hpp | 4 +-- .../include/arch/memory/higher_half_mapper.hpp | 4 +-- arch/x86_64/include/arch/memory/kernel_mapper.hpp | 2 +- arch/x86_64/include/arch/memory/mmu.hpp | 2 +- arch/x86_64/include/arch/memory/page_table.hpp | 2 +- arch/x86_64/include/arch/memory/page_utilities.hpp | 2 +- .../include/arch/memory/region_allocator.hpp | 6 ++-- arch/x86_64/include/arch/vga/crtc.hpp | 2 +- arch/x86_64/include/arch/vga/text.hpp | 10 +++---- arch/x86_64/include/arch/vga/text/attribute.hpp | 6 ++-- arch/x86_64/include/arch/vga/text/buffer.hpp | 4 +-- arch/x86_64/include/arch/vga/text/color.hpp | 2 +- .../include/arch/vga/text/common_attributes.hpp | 8 ++--- arch/x86_64/include/arch/vga/text/device.hpp | 6 ++-- arch/x86_64/include/arch/vga/text/flags.hpp | 2 +- arch/x86_64/kapi/boot_modules.cpp | 16 +++++----- arch/x86_64/kapi/cio.cpp | 6 ++-- arch/x86_64/kapi/cpu.cpp | 16 +++++----- arch/x86_64/kapi/devices.cpp | 4 +-- arch/x86_64/kapi/interrupts.cpp | 2 +- arch/x86_64/kapi/memory.cpp | 26 ++++++++--------- arch/x86_64/kapi/system.cpp | 2 +- .../pre/include/arch/context_switching/main.hpp | 4 +-- arch/x86_64/pre/src/context_switching/main.cpp | 16 +++++----- .../pre/src/context_switching/syscall/main.cpp | 2 +- .../context_switching/syscall/syscall_enable.cpp | 8 ++--- .../context_switching/syscall/syscall_handler.cpp | 14 ++++----- arch/x86_64/pre/src/kernel/main.cpp | 24 +++++++-------- arch/x86_64/pre/src/user/main.cpp | 6 ++-- arch/x86_64/src/boot/boot32.S | 2 +- arch/x86_64/src/bus/isa.cpp | 4 +-- arch/x86_64/src/cpu/initialization.cpp | 12 ++++---- arch/x86_64/src/cpu/interrupts.cpp | 12 ++++---- arch/x86_64/src/debug/qemu_output.cpp | 4 +-- arch/x86_64/src/devices/init.cpp | 14 ++++----- arch/x86_64/src/devices/legacy_pit.cpp | 10 +++---- arch/x86_64/src/devices/local_apic.cpp | 6 ++-- arch/x86_64/src/memory/higher_half_mapper.cpp | 10 +++---- arch/x86_64/src/memory/kernel_mapper.cpp | 8 ++--- arch/x86_64/src/memory/mmu.cpp | 6 ++-- arch/x86_64/src/memory/page_table.cpp | 4 +-- arch/x86_64/src/memory/region_allocator.cpp | 6 ++-- arch/x86_64/src/vga/text/buffer.cpp | 4 +-- arch/x86_64/src/vga/text/device.cpp | 10 +++---- kapi/include/kapi/boot_module/boot_module.hpp | 2 +- .../kapi/boot_module/boot_module_registry.hpp | 2 +- kapi/include/kapi/boot_modules.hpp | 2 +- kapi/include/kapi/cio.hpp | 2 +- kapi/include/kapi/cio/output_device.hpp | 2 +- kapi/include/kapi/cpu.hpp | 2 +- kapi/include/kapi/devices.hpp | 8 ++--- kapi/include/kapi/devices/bus.hpp | 4 +-- kapi/include/kapi/devices/cpu.hpp | 2 +- kapi/include/kapi/devices/device.hpp | 2 +- kapi/include/kapi/devices/manager.hpp | 4 +-- kapi/include/kapi/memory.hpp | 14 ++++----- kapi/include/kapi/memory/address.hpp | 2 +- kapi/include/kapi/memory/chunk.hpp | 2 +- kapi/include/kapi/memory/frame.hpp | 8 ++--- kapi/include/kapi/memory/frame_allocator.hpp | 4 +-- kapi/include/kapi/memory/layout.hpp | 4 +-- kapi/include/kapi/memory/page.hpp | 8 ++--- kapi/include/kapi/memory/page_mapper.hpp | 6 ++-- kernel/include/kernel/devices/block_device.hpp | 2 +- .../include/kernel/devices/block_device_utils.hpp | 2 +- kernel/include/kernel/devices/root_bus.hpp | 2 +- .../include/kernel/devices/storage/controller.hpp | 2 +- .../include/kernel/devices/storage/management.hpp | 4 +-- .../kernel/devices/storage/ram_disk/controller.hpp | 4 +-- .../kernel/devices/storage/ram_disk/device.hpp | 4 +-- kernel/include/kernel/filesystem/dentry.hpp | 2 +- .../include/kernel/filesystem/devfs/filesystem.hpp | 6 ++-- kernel/include/kernel/filesystem/devfs/inode.hpp | 2 +- kernel/include/kernel/filesystem/device_inode.hpp | 4 +-- .../include/kernel/filesystem/ext2/filesystem.hpp | 10 +++---- kernel/include/kernel/filesystem/ext2/inode.hpp | 2 +- .../kernel/filesystem/file_descriptor_table.hpp | 2 +- kernel/include/kernel/filesystem/filesystem.hpp | 2 +- kernel/include/kernel/filesystem/mount.hpp | 4 +-- kernel/include/kernel/filesystem/mount_table.hpp | 2 +- .../kernel/filesystem/open_file_description.hpp | 2 +- .../kernel/filesystem/rootfs/filesystem.hpp | 4 +-- kernel/include/kernel/filesystem/rootfs/inode.hpp | 2 +- kernel/include/kernel/filesystem/vfs.hpp | 8 ++--- kernel/include/kernel/memory.hpp | 4 +-- kernel/include/kernel/memory/bitmap_allocator.hpp | 2 +- .../include/kernel/memory/block_list_allocator.hpp | 4 +-- kernel/include/kernel/memory/mmio_allocator.hpp | 2 +- .../kernel/test_support/bump_frame_allocator.hpp | 2 +- kernel/include/kernel/test_support/cio.hpp | 4 +-- .../kernel/test_support/devices/block_device.hpp | 2 +- .../test_support/devices/character_device.hpp | 2 +- .../kernel/test_support/filesystem/ext2.hpp | 2 +- .../kernel/test_support/filesystem/filesystem.hpp | 4 +-- .../kernel/test_support/filesystem/inode.hpp | 2 +- .../filesystem/storage_boot_module_fixture.hpp | 2 +- .../filesystem/storage_boot_module_vfs_fixture.hpp | 2 +- kernel/include/kernel/test_support/memory.hpp | 2 +- kernel/include/kernel/test_support/page_mapper.hpp | 4 +-- .../kernel/test_support/simulated_memory.hpp | 2 +- kernel/kapi/acpi.cpp | 6 ++-- kernel/kapi/boot_modules.cpp | 4 +-- kernel/kapi/cio.cpp | 2 +- kernel/kapi/cpu.cpp | 4 +-- kernel/kapi/cpu.tests.cpp | 4 +-- kernel/kapi/devices.cpp | 6 ++-- kernel/kapi/devices/bus.cpp | 6 ++-- kernel/kapi/devices/cpu.cpp | 4 +-- kernel/kapi/devices/device.cpp | 4 +-- kernel/kapi/filesystem.cpp | 8 ++--- kernel/kapi/filesystem.tests.cpp | 4 +-- kernel/kapi/interrupts.cpp | 2 +- kernel/kapi/memory.cpp | 8 ++--- kernel/kapi/system.cpp | 4 +-- kernel/kapi/system.tests.cpp | 6 ++-- kernel/kstd/os.cpp | 2 +- kernel/kstd/print.cpp | 2 +- kernel/kstd/print.tests.cpp | 4 +-- kernel/src/acpi/manager.cpp | 6 ++-- kernel/src/devices/block_device.cpp | 6 ++-- kernel/src/devices/block_device.tests.cpp | 4 +-- kernel/src/devices/block_device_utils.cpp | 8 ++--- kernel/src/devices/block_device_utils.tests.cpp | 8 ++--- kernel/src/devices/root_bus.cpp | 4 +-- kernel/src/devices/storage/controller.cpp | 4 +-- kernel/src/devices/storage/management.cpp | 12 ++++---- kernel/src/devices/storage/ram_disk/controller.cpp | 6 ++-- kernel/src/devices/storage/ram_disk/device.cpp | 8 ++--- .../src/devices/storage/ram_disk/device.tests.cpp | 6 ++-- kernel/src/filesystem/dentry.cpp | 6 ++-- kernel/src/filesystem/dentry.tests.cpp | 6 ++-- kernel/src/filesystem/devfs/filesystem.cpp | 12 ++++---- kernel/src/filesystem/devfs/filesystem.tests.cpp | 6 ++-- kernel/src/filesystem/devfs/inode.cpp | 4 +-- kernel/src/filesystem/devfs/inode.tests.cpp | 2 +- kernel/src/filesystem/device_inode.cpp | 10 +++---- kernel/src/filesystem/device_inode.tests.cpp | 8 ++--- kernel/src/filesystem/ext2/filesystem.cpp | 16 +++++----- kernel/src/filesystem/ext2/filesystem.tests.cpp | 18 ++++++------ kernel/src/filesystem/ext2/inode.cpp | 8 ++--- kernel/src/filesystem/ext2/inode.tests.cpp | 20 ++++++------- kernel/src/filesystem/file_descriptor_table.cpp | 6 ++-- .../src/filesystem/file_descriptor_table.tests.cpp | 6 ++-- kernel/src/filesystem/filesystem.cpp | 8 ++--- kernel/src/filesystem/inode.cpp | 2 +- kernel/src/filesystem/mount.cpp | 8 ++--- kernel/src/filesystem/mount.tests.cpp | 10 +++---- kernel/src/filesystem/mount_table.cpp | 6 ++-- kernel/src/filesystem/mount_table.tests.cpp | 10 +++---- kernel/src/filesystem/open_file_description.cpp | 4 +-- .../src/filesystem/open_file_description.tests.cpp | 8 ++--- kernel/src/filesystem/rootfs/filesystem.cpp | 6 ++-- kernel/src/filesystem/rootfs/filesystem.tests.cpp | 4 +-- kernel/src/filesystem/rootfs/inode.cpp | 4 +-- kernel/src/filesystem/rootfs/inode.tests.cpp | 2 +- kernel/src/filesystem/vfs.cpp | 16 +++++----- kernel/src/filesystem/vfs.tests.cpp | 6 ++-- kernel/src/main.cpp | 28 +++++++++--------- kernel/src/memory.cpp | 10 +++---- kernel/src/memory/bitmap_allocator.cpp | 4 +-- kernel/src/memory/bitmap_allocator.tests.cpp | 8 ++--- kernel/src/memory/block_list_allocator.cpp | 8 ++--- kernel/src/memory/block_list_allocator.tests.cpp | 6 ++-- kernel/src/memory/mmio_allocator.cpp | 6 ++-- kernel/src/memory/operators.cpp | 4 +-- kernel/src/test_support/devices/block_device.cpp | 4 +-- .../src/test_support/devices/character_device.cpp | 5 ++-- kernel/src/test_support/filesystem/ext2.cpp | 12 ++++---- kernel/src/test_support/filesystem/filesystem.cpp | 6 ++-- kernel/src/test_support/filesystem/inode.cpp | 4 +-- .../filesystem/storage_boot_module_fixture.cpp | 14 ++++----- .../filesystem/storage_boot_module_vfs_fixture.cpp | 6 ++-- kernel/src/test_support/kapi/cio.cpp | 4 +-- kernel/src/test_support/kapi/cpu.cpp | 2 +- kernel/src/test_support/kapi/memory.cpp | 6 ++-- kernel/src/test_support/log_buffer.cpp | 2 +- kernel/src/test_support/output_device.cpp | 6 ++-- kernel/src/test_support/page_mapper.cpp | 4 +-- kernel/src/test_support/simulated_memory.cpp | 4 +-- kernel/src/test_support/state_reset_listener.cpp | 24 +++++++-------- libs/elf/include/elf/section_header.hpp | 2 +- libs/kstd/include/kstd/bits/format/arg.hpp | 4 +-- libs/kstd/include/kstd/bits/format/args.hpp | 8 ++--- libs/kstd/include/kstd/bits/format/context.hpp | 4 +-- libs/kstd/include/kstd/bits/format/error.hpp | 2 +- libs/kstd/include/kstd/bits/format/formatter.hpp | 6 ++-- .../include/kstd/bits/format/formatter/bool.hpp | 10 +++---- .../include/kstd/bits/format/formatter/byte.hpp | 6 ++-- .../include/kstd/bits/format/formatter/char.hpp | 12 ++++---- .../include/kstd/bits/format/formatter/cstring.hpp | 6 ++-- .../kstd/bits/format/formatter/integral.hpp | 10 +++---- .../kstd/bits/format/formatter/ordering.hpp | 8 ++--- .../include/kstd/bits/format/formatter/pointer.hpp | 10 +++---- .../include/kstd/bits/format/formatter/range.hpp | 2 +- .../kstd/bits/format/formatter/string_view.hpp | 8 ++--- .../include/kstd/bits/format/parse_context.hpp | 2 +- libs/kstd/include/kstd/bits/format/specifiers.hpp | 4 +-- libs/kstd/include/kstd/bits/format/string.hpp | 8 ++--- libs/kstd/include/kstd/bits/observer_ptr.hpp | 2 +- libs/kstd/include/kstd/format | 34 +++++++++++----------- libs/kstd/include/kstd/memory | 6 ++-- libs/kstd/include/kstd/os/print.hpp | 4 +-- libs/kstd/include/kstd/print | 5 ++-- libs/kstd/include/kstd/stack | 2 +- libs/kstd/src/libc/stdlib.cpp | 2 +- libs/kstd/src/mutex.cpp | 4 +-- libs/kstd/src/os/error.cpp | 2 +- libs/kstd/tests/src/os_panic.cpp | 2 +- libs/kstd/tests/src/vector.cpp | 2 +- libs/multiboot2/multiboot2/constants.hpp | 2 +- libs/multiboot2/multiboot2/information.hpp | 6 ++-- libs/multiboot2/multiboot2/information/data.hpp | 4 +-- .../multiboot2/multiboot2/information/iterator.hpp | 4 +-- libs/multiboot2/multiboot2/information/tag.hpp | 2 +- 224 files changed, 646 insertions(+), 648 deletions(-) diff --git a/arch/x86_64/include/arch/boot/boot.hpp b/arch/x86_64/include/arch/boot/boot.hpp index 3a598f54..7df61c4b 100644 --- a/arch/x86_64/include/arch/boot/boot.hpp +++ b/arch/x86_64/include/arch/boot/boot.hpp @@ -31,7 +31,7 @@ // clang-format on #else -#include "kapi/boot.hpp" // IWYU pragma: export +#include // IWYU pragma: export #include diff --git a/arch/x86_64/include/arch/bus/isa.hpp b/arch/x86_64/include/arch/bus/isa.hpp index 5deed25e..e56f56a2 100644 --- a/arch/x86_64/include/arch/bus/isa.hpp +++ b/arch/x86_64/include/arch/bus/isa.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_X86_64_BUS_ISA_HPP #define TEACHOS_X86_64_BUS_ISA_HPP -#include "kapi/devices/bus.hpp" +#include #include diff --git a/arch/x86_64/include/arch/cpu/control_register.hpp b/arch/x86_64/include/arch/cpu/control_register.hpp index fafbfc7e..9cedc35a 100644 --- a/arch/x86_64/include/arch/cpu/control_register.hpp +++ b/arch/x86_64/include/arch/cpu/control_register.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_X86_64_CPU_CONTROL_REGISTERS_HPP #define TEACHOS_X86_64_CPU_CONTROL_REGISTERS_HPP -// IWYU pragma: private, include "arch/cpu/registers.hpp" +// IWYU pragma: private, include -#include "kapi/memory.hpp" +#include #include diff --git a/arch/x86_64/include/arch/cpu/global_descriptor_table.hpp b/arch/x86_64/include/arch/cpu/global_descriptor_table.hpp index bc7d3282..b17c5093 100644 --- a/arch/x86_64/include/arch/cpu/global_descriptor_table.hpp +++ b/arch/x86_64/include/arch/cpu/global_descriptor_table.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_X86_64_GLOBAL_DESCRIPTOR_TABLE_HPP #define TEACHOS_X86_64_GLOBAL_DESCRIPTOR_TABLE_HPP -#include "arch/cpu/segment_descriptor.hpp" +#include -#include "kapi/memory.hpp" +#include #include #include diff --git a/arch/x86_64/include/arch/cpu/interrupts.hpp b/arch/x86_64/include/arch/cpu/interrupts.hpp index 24b72e97..6162f56a 100644 --- a/arch/x86_64/include/arch/cpu/interrupts.hpp +++ b/arch/x86_64/include/arch/cpu/interrupts.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_X86_64_CPU_INTERRUPTS_HPP #define TEACHOS_X86_64_CPU_INTERRUPTS_HPP -#include "arch/cpu/segment_selector.hpp" +#include -#include "kapi/memory.hpp" +#include #include #include diff --git a/arch/x86_64/include/arch/cpu/legacy_pic.hpp b/arch/x86_64/include/arch/cpu/legacy_pic.hpp index 9f53d864..56ca9c44 100644 --- a/arch/x86_64/include/arch/cpu/legacy_pic.hpp +++ b/arch/x86_64/include/arch/cpu/legacy_pic.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_X86_64_CPU_LEGACY_PIC_HPP #define TEACHOS_X86_64_CPU_LEGACY_PIC_HPP -#include "arch/device_io/port_io.hpp" +#include #include diff --git a/arch/x86_64/include/arch/cpu/model_specific_register.hpp b/arch/x86_64/include/arch/cpu/model_specific_register.hpp index 8539a240..bd4aff9d 100644 --- a/arch/x86_64/include/arch/cpu/model_specific_register.hpp +++ b/arch/x86_64/include/arch/cpu/model_specific_register.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_X86_64_CPU_MODEL_SPECIFIC_REGISTER_HPP #define TEACHOS_X86_64_CPU_MODEL_SPECIFIC_REGISTER_HPP -// IWYU pragma: private, include "x86_64/cpu/registers.hpp" +// IWYU pragma: private, include #include diff --git a/arch/x86_64/include/arch/cpu/registers.hpp b/arch/x86_64/include/arch/cpu/registers.hpp index 62206bfb..58633f6e 100644 --- a/arch/x86_64/include/arch/cpu/registers.hpp +++ b/arch/x86_64/include/arch/cpu/registers.hpp @@ -1,10 +1,10 @@ #ifndef TEACHOS_X86_64_CPU_REGISTERS_HPP #define TEACHOS_X86_64_CPU_REGISTERS_HPP -#include "arch/cpu/control_register.hpp" // IWYU pragma: export -#include "arch/cpu/model_specific_register.hpp" // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export -#include "kapi/memory.hpp" +#include namespace arch::cpu { diff --git a/arch/x86_64/include/arch/debug/qemu_output.hpp b/arch/x86_64/include/arch/debug/qemu_output.hpp index f43e147d..5ddd4be3 100644 --- a/arch/x86_64/include/arch/debug/qemu_output.hpp +++ b/arch/x86_64/include/arch/debug/qemu_output.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_X86_64_DEBUG_QEMU_OUTPUT_HPP #define TEACHOS_X86_64_DEBUG_QEMU_OUTPUT_HPP -#include "arch/device_io/port_io.hpp" +#include -#include "kapi/cio.hpp" +#include #include diff --git a/arch/x86_64/include/arch/devices/legacy_pit.hpp b/arch/x86_64/include/arch/devices/legacy_pit.hpp index de742ae9..356895c7 100644 --- a/arch/x86_64/include/arch/devices/legacy_pit.hpp +++ b/arch/x86_64/include/arch/devices/legacy_pit.hpp @@ -1,8 +1,8 @@ #ifndef TEACHOS_ARCH_X86_64_DEVICES_LEGACY_PIT_HPP #define TEACHOS_ARCH_X86_64_DEVICES_LEGACY_PIT_HPP -#include "kapi/devices/device.hpp" -#include "kapi/interrupts.hpp" +#include +#include #include #include diff --git a/arch/x86_64/include/arch/devices/local_apic.hpp b/arch/x86_64/include/arch/devices/local_apic.hpp index ee1073fb..f8f080dc 100644 --- a/arch/x86_64/include/arch/devices/local_apic.hpp +++ b/arch/x86_64/include/arch/devices/local_apic.hpp @@ -1,8 +1,8 @@ #ifndef TEACHOS_ARCH_X86_64_DEVICES_LOCAL_APIC_HPP #define TEACHOS_ARCH_X86_64_DEVICES_LOCAL_APIC_HPP -#include "kapi/devices/device.hpp" -#include "kapi/memory.hpp" +#include +#include #include #include diff --git a/arch/x86_64/include/arch/memory/higher_half_mapper.hpp b/arch/x86_64/include/arch/memory/higher_half_mapper.hpp index 24bea174..9b02ee63 100644 --- a/arch/x86_64/include/arch/memory/higher_half_mapper.hpp +++ b/arch/x86_64/include/arch/memory/higher_half_mapper.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_X86_64_HIGHER_HALF_MAPPER_HPP #define TEACHOS_X86_64_HIGHER_HALF_MAPPER_HPP -#include "arch/memory/page_table.hpp" +#include -#include "kapi/memory.hpp" +#include #include diff --git a/arch/x86_64/include/arch/memory/kernel_mapper.hpp b/arch/x86_64/include/arch/memory/kernel_mapper.hpp index ae593a5e..adbf688f 100644 --- a/arch/x86_64/include/arch/memory/kernel_mapper.hpp +++ b/arch/x86_64/include/arch/memory/kernel_mapper.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_X86_64_KERNEL_MAPPER_HPP #define TEACHOS_X86_64_KERNEL_MAPPER_HPP -#include "kapi/memory.hpp" +#include #include #include diff --git a/arch/x86_64/include/arch/memory/mmu.hpp b/arch/x86_64/include/arch/memory/mmu.hpp index 2d64184c..64373f4a 100644 --- a/arch/x86_64/include/arch/memory/mmu.hpp +++ b/arch/x86_64/include/arch/memory/mmu.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_X86_64_MEMORY_MMU_HPP #define TEACHOS_X86_64_MEMORY_MMU_HPP -#include "kapi/memory/address.hpp" +#include namespace arch::memory { diff --git a/arch/x86_64/include/arch/memory/page_table.hpp b/arch/x86_64/include/arch/memory/page_table.hpp index c75ccafe..ce3d3a14 100644 --- a/arch/x86_64/include/arch/memory/page_table.hpp +++ b/arch/x86_64/include/arch/memory/page_table.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_X86_64_PAGE_TABLE_HPP #define TEACHOS_X86_64_PAGE_TABLE_HPP -#include "kapi/memory.hpp" +#include #include #include diff --git a/arch/x86_64/include/arch/memory/page_utilities.hpp b/arch/x86_64/include/arch/memory/page_utilities.hpp index c48e74f9..068e8249 100644 --- a/arch/x86_64/include/arch/memory/page_utilities.hpp +++ b/arch/x86_64/include/arch/memory/page_utilities.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_X86_64_PAGE_UTILITIES_HPP #define TEACHOS_X86_64_PAGE_UTILITIES_HPP -#include "kapi/memory.hpp" +#include #include diff --git a/arch/x86_64/include/arch/memory/region_allocator.hpp b/arch/x86_64/include/arch/memory/region_allocator.hpp index c7a836fe..5d9da2e0 100644 --- a/arch/x86_64/include/arch/memory/region_allocator.hpp +++ b/arch/x86_64/include/arch/memory/region_allocator.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_X86_64_MEMORY_REGION_ALLOCATOR_HPP #define TEACHOS_X86_64_MEMORY_REGION_ALLOCATOR_HPP -#include "kapi/memory/address.hpp" -#include "kapi/memory/frame.hpp" -#include "kapi/memory/frame_allocator.hpp" +#include +#include +#include #include diff --git a/arch/x86_64/include/arch/vga/crtc.hpp b/arch/x86_64/include/arch/vga/crtc.hpp index dbdc3653..a8bec937 100644 --- a/arch/x86_64/include/arch/vga/crtc.hpp +++ b/arch/x86_64/include/arch/vga/crtc.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_X86_64_VGA_IO_HPP #define TEACHOS_X86_64_VGA_IO_HPP -#include "arch/device_io/port_io.hpp" +#include #include diff --git a/arch/x86_64/include/arch/vga/text.hpp b/arch/x86_64/include/arch/vga/text.hpp index f81ab606..2e73dd2d 100644 --- a/arch/x86_64/include/arch/vga/text.hpp +++ b/arch/x86_64/include/arch/vga/text.hpp @@ -1,10 +1,10 @@ #ifndef TEACHOS_X86_64_VGA_TEXT_HPP #define TEACHOS_X86_64_VGA_TEXT_HPP -#include "text/attribute.hpp" // IWYU pragma: export -#include "text/color.hpp" // IWYU pragma: export -#include "text/common_attributes.hpp" // IWYU pragma: export -#include "text/device.hpp" // IWYU pragma: export -#include "text/flags.hpp" // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export #endif // TEACHOS_ARCH_X86_64_VIDEO_VGA_TEXT_HPP \ No newline at end of file diff --git a/arch/x86_64/include/arch/vga/text/attribute.hpp b/arch/x86_64/include/arch/vga/text/attribute.hpp index 6a0f9951..6395aed0 100644 --- a/arch/x86_64/include/arch/vga/text/attribute.hpp +++ b/arch/x86_64/include/arch/vga/text/attribute.hpp @@ -1,10 +1,10 @@ #ifndef TEACHOS_X86_64_VGA_TEXT_ATTRIBUTE_HPP #define TEACHOS_X86_64_VGA_TEXT_ATTRIBUTE_HPP -// IWYU pragma: private, include "arch/vga/text.hpp" +// IWYU pragma: private, include -#include "arch/vga/text/color.hpp" -#include "arch/vga/text/flags.hpp" +#include +#include namespace arch::vga::text { diff --git a/arch/x86_64/include/arch/vga/text/buffer.hpp b/arch/x86_64/include/arch/vga/text/buffer.hpp index 648d37aa..8eb66457 100644 --- a/arch/x86_64/include/arch/vga/text/buffer.hpp +++ b/arch/x86_64/include/arch/vga/text/buffer.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_X86_64_VGA_TEXT_BUFFER_HPP #define TEACHOS_X86_64_VGA_TEXT_BUFFER_HPP -// IWYU pragma: private, include "arch/vga/text.hpp" +// IWYU pragma: private, include -#include "arch/vga/text/attribute.hpp" +#include #include #include diff --git a/arch/x86_64/include/arch/vga/text/color.hpp b/arch/x86_64/include/arch/vga/text/color.hpp index a5418309..e0ad6dfa 100644 --- a/arch/x86_64/include/arch/vga/text/color.hpp +++ b/arch/x86_64/include/arch/vga/text/color.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_X86_64_VGA_TEXT_COLOR_HPP #define TEACHOS_X86_64_VGA_TEXT_COLOR_HPP -// IWYU pragma: private, include "arch/vga/text.hpp" +// IWYU pragma: private, include #include diff --git a/arch/x86_64/include/arch/vga/text/common_attributes.hpp b/arch/x86_64/include/arch/vga/text/common_attributes.hpp index 9bd61a53..3d8929f4 100644 --- a/arch/x86_64/include/arch/vga/text/common_attributes.hpp +++ b/arch/x86_64/include/arch/vga/text/common_attributes.hpp @@ -1,11 +1,11 @@ #ifndef TEACHOS_X86_64_VGA_TEXT_COMMON_ATTRIBUTES_HPP #define TEACHOS_X86_64_VGA_TEXT_COMMON_ATTRIBUTES_HPP -// IWYU pragma: private, include "arch/vga/text.hpp" +// IWYU pragma: private, include -#include "arch/vga/text/attribute.hpp" -#include "arch/vga/text/color.hpp" -#include "arch/vga/text/flags.hpp" +#include +#include +#include namespace arch::vga::text { diff --git a/arch/x86_64/include/arch/vga/text/device.hpp b/arch/x86_64/include/arch/vga/text/device.hpp index d0eb45df..0a0e0178 100644 --- a/arch/x86_64/include/arch/vga/text/device.hpp +++ b/arch/x86_64/include/arch/vga/text/device.hpp @@ -1,11 +1,11 @@ #ifndef TEACHOS_X86_64_VGA_TEXT_DEVICE_HPP #define TEACHOS_X86_64_VGA_TEXT_DEVICE_HPP -// IWYU pragma: private, include "arch/vga/text.hpp" +// IWYU pragma: private, include -#include "arch/vga/text/buffer.hpp" +#include -#include "kapi/cio.hpp" +#include #include diff --git a/arch/x86_64/include/arch/vga/text/flags.hpp b/arch/x86_64/include/arch/vga/text/flags.hpp index 67c6c118..7a29e334 100644 --- a/arch/x86_64/include/arch/vga/text/flags.hpp +++ b/arch/x86_64/include/arch/vga/text/flags.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_X86_64_VGA_TEXT_FLAGS_HPP #define TEACHOS_X86_64_VGA_TEXT_FLAGS_HPP -// IWYU pragma: private, include "arch/vga/text.hpp" +// IWYU pragma: private, include namespace arch::vga::text { diff --git a/arch/x86_64/kapi/boot_modules.cpp b/arch/x86_64/kapi/boot_modules.cpp index 1a588cfd..fb6bf465 100644 --- a/arch/x86_64/kapi/boot_modules.cpp +++ b/arch/x86_64/kapi/boot_modules.cpp @@ -1,13 +1,13 @@ -#include "kapi/boot_modules.hpp" +#include -#include "arch/boot/boot.hpp" -#include "arch/boot/ld.hpp" +#include +#include -#include "kapi/boot.hpp" -#include "kapi/boot_module/boot_module.hpp" -#include "kapi/boot_module/boot_module_registry.hpp" -#include "kapi/memory.hpp" -#include "kapi/system.hpp" +#include +#include +#include +#include +#include #include diff --git a/arch/x86_64/kapi/cio.cpp b/arch/x86_64/kapi/cio.cpp index 015cf5e7..b33c6e02 100644 --- a/arch/x86_64/kapi/cio.cpp +++ b/arch/x86_64/kapi/cio.cpp @@ -1,7 +1,7 @@ -#include "kapi/cio.hpp" +#include -#include "arch/debug/qemu_output.hpp" -#include "arch/vga/text.hpp" +#include +#include #include diff --git a/arch/x86_64/kapi/cpu.cpp b/arch/x86_64/kapi/cpu.cpp index baeab4be..40dc2281 100644 --- a/arch/x86_64/kapi/cpu.cpp +++ b/arch/x86_64/kapi/cpu.cpp @@ -1,13 +1,13 @@ -#include "kapi/cpu.hpp" +#include -#include "arch/cpu/initialization.hpp" -#include "arch/devices/local_apic.hpp" +#include +#include -#include "kapi/acpi.hpp" -#include "kapi/devices.hpp" -#include "kapi/devices/cpu.hpp" -#include "kapi/memory.hpp" -#include "kapi/system.hpp" +#include +#include +#include +#include +#include #include diff --git a/arch/x86_64/kapi/devices.cpp b/arch/x86_64/kapi/devices.cpp index 47c7f8c9..f188c92b 100644 --- a/arch/x86_64/kapi/devices.cpp +++ b/arch/x86_64/kapi/devices.cpp @@ -1,6 +1,6 @@ -#include "kapi/devices.hpp" +#include -#include "arch/devices/init.hpp" +#include namespace kapi::devices { diff --git a/arch/x86_64/kapi/interrupts.cpp b/arch/x86_64/kapi/interrupts.cpp index cf1defaf..85acc0fa 100644 --- a/arch/x86_64/kapi/interrupts.cpp +++ b/arch/x86_64/kapi/interrupts.cpp @@ -1,4 +1,4 @@ -#include "kapi/interrupts.hpp" +#include namespace kapi::interrupts { diff --git a/arch/x86_64/kapi/memory.cpp b/arch/x86_64/kapi/memory.cpp index 423913d9..5b870d51 100644 --- a/arch/x86_64/kapi/memory.cpp +++ b/arch/x86_64/kapi/memory.cpp @@ -1,16 +1,16 @@ -#include "kapi/memory.hpp" - -#include "arch/boot/boot.hpp" -#include "arch/boot/ld.hpp" -#include "arch/cpu/registers.hpp" -#include "arch/memory/higher_half_mapper.hpp" -#include "arch/memory/kernel_mapper.hpp" -#include "arch/memory/page_table.hpp" -#include "arch/memory/page_utilities.hpp" -#include "arch/memory/region_allocator.hpp" - -#include "kapi/boot.hpp" -#include "kapi/system.hpp" +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include #include #include diff --git a/arch/x86_64/kapi/system.cpp b/arch/x86_64/kapi/system.cpp index 09c7152a..73a77e55 100644 --- a/arch/x86_64/kapi/system.cpp +++ b/arch/x86_64/kapi/system.cpp @@ -1,4 +1,4 @@ -#include "kapi/system.hpp" +#include namespace kapi::system { diff --git a/arch/x86_64/pre/include/arch/context_switching/main.hpp b/arch/x86_64/pre/include/arch/context_switching/main.hpp index f8477ea0..07e00e80 100644 --- a/arch/x86_64/pre/include/arch/context_switching/main.hpp +++ b/arch/x86_64/pre/include/arch/context_switching/main.hpp @@ -1,8 +1,8 @@ #ifndef TEACHOS_ARCH_X86_64_CONTEXT_SWITCHING_MAIN_HPP #define TEACHOS_ARCH_X86_64_CONTEXT_SWITCHING_MAIN_HPP -#include "arch/context_switching/interrupt_descriptor_table/interrupt_descriptor_table.hpp" -#include "arch/context_switching/segment_descriptor_table/global_descriptor_table.hpp" +#include +#include namespace teachos::arch::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 3eb6dae0..0961499d 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 b4ab468c..10bd087b 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 dbb3ed98..f9f070a2 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 c120f770..430d65c4 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 { diff --git a/arch/x86_64/pre/src/kernel/main.cpp b/arch/x86_64/pre/src/kernel/main.cpp index 43b5f902..26586780 100644 --- a/arch/x86_64/pre/src/kernel/main.cpp +++ b/arch/x86_64/pre/src/kernel/main.cpp @@ -1,16 +1,16 @@ -#include "arch/kernel/main.hpp" +#include -#include "arch/boot/pointers.hpp" -#include "arch/context_switching/interrupt_descriptor_table/segment_selector.hpp" -#include "arch/context_switching/main.hpp" -#include "arch/kernel/cpu/if.hpp" -#include "arch/kernel/cpu/segment_register.hpp" -#include "arch/memory/heap/bump_allocator.hpp" -#include "arch/memory/heap/global_heap_allocator.hpp" -#include "arch/memory/main.hpp" -#include "arch/memory/multiboot/reader.hpp" -#include "arch/stl/vector.hpp" -#include "arch/video/vga/text.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include namespace teachos::arch::kernel { diff --git a/arch/x86_64/pre/src/user/main.cpp b/arch/x86_64/pre/src/user/main.cpp index 8b07e4ac..10a17db4 100644 --- a/arch/x86_64/pre/src/user/main.cpp +++ b/arch/x86_64/pre/src/user/main.cpp @@ -1,7 +1,7 @@ -#include "arch/user/main.hpp" +#include -#include "arch/context_switching/syscall/main.hpp" -#include "arch/memory/heap/global_heap_allocator.hpp" +#include +#include #include #include diff --git a/arch/x86_64/src/boot/boot32.S b/arch/x86_64/src/boot/boot32.S index 1c2fdaf5..e6fcd85a 100644 --- a/arch/x86_64/src/boot/boot32.S +++ b/arch/x86_64/src/boot/boot32.S @@ -1,4 +1,4 @@ -#include "arch/boot/boot.hpp" +#include /** * @brief Uninitialized data for the bootstrapping process. diff --git a/arch/x86_64/src/bus/isa.cpp b/arch/x86_64/src/bus/isa.cpp index ff4ad71a..f6cc72dc 100644 --- a/arch/x86_64/src/bus/isa.cpp +++ b/arch/x86_64/src/bus/isa.cpp @@ -1,6 +1,6 @@ -#include "arch/bus/isa.hpp" +#include -#include "kapi/devices.hpp" +#include #include diff --git a/arch/x86_64/src/cpu/initialization.cpp b/arch/x86_64/src/cpu/initialization.cpp index b808c76c..1be9c821 100644 --- a/arch/x86_64/src/cpu/initialization.cpp +++ b/arch/x86_64/src/cpu/initialization.cpp @@ -1,10 +1,10 @@ -#include "arch/cpu/initialization.hpp" +#include -#include "arch/cpu/global_descriptor_table.hpp" -#include "arch/cpu/interrupts.hpp" -#include "arch/cpu/legacy_pic.hpp" -#include "arch/cpu/segment_descriptor.hpp" -#include "arch/cpu/task_state_segment.hpp" +#include +#include +#include +#include +#include #include diff --git a/arch/x86_64/src/cpu/interrupts.cpp b/arch/x86_64/src/cpu/interrupts.cpp index f58b8511..f40422fc 100644 --- a/arch/x86_64/src/cpu/interrupts.cpp +++ b/arch/x86_64/src/cpu/interrupts.cpp @@ -1,11 +1,11 @@ -#include "arch/cpu/interrupts.hpp" +#include -#include "arch/cpu/legacy_pic.hpp" -#include "arch/cpu/segment_selector.hpp" +#include +#include -#include "kapi/cpu.hpp" -#include "kapi/interrupts.hpp" -#include "kapi/memory.hpp" +#include +#include +#include #include diff --git a/arch/x86_64/src/debug/qemu_output.cpp b/arch/x86_64/src/debug/qemu_output.cpp index 535017d2..71acedef 100644 --- a/arch/x86_64/src/debug/qemu_output.cpp +++ b/arch/x86_64/src/debug/qemu_output.cpp @@ -1,6 +1,6 @@ -#include "arch/debug/qemu_output.hpp" +#include -#include "kapi/cio.hpp" +#include #include #include diff --git a/arch/x86_64/src/devices/init.cpp b/arch/x86_64/src/devices/init.cpp index 8c96b385..c30e8cf0 100644 --- a/arch/x86_64/src/devices/init.cpp +++ b/arch/x86_64/src/devices/init.cpp @@ -1,12 +1,12 @@ -#include "arch/devices/init.hpp" +#include -#include "arch/boot/boot.hpp" -#include "arch/bus/isa.hpp" -#include "arch/devices/legacy_pit.hpp" +#include +#include +#include -#include "kapi/acpi.hpp" -#include "kapi/cpu.hpp" -#include "kapi/devices.hpp" +#include +#include +#include #include diff --git a/arch/x86_64/src/devices/legacy_pit.cpp b/arch/x86_64/src/devices/legacy_pit.cpp index 44ff499a..d542d475 100644 --- a/arch/x86_64/src/devices/legacy_pit.cpp +++ b/arch/x86_64/src/devices/legacy_pit.cpp @@ -1,10 +1,10 @@ -#include "arch/devices/legacy_pit.hpp" +#include -#include "arch/device_io/port_io.hpp" +#include -#include "kapi/devices.hpp" -#include "kapi/devices/device.hpp" -#include "kapi/interrupts.hpp" +#include +#include +#include #include #include diff --git a/arch/x86_64/src/devices/local_apic.cpp b/arch/x86_64/src/devices/local_apic.cpp index 4a81de83..660921bd 100644 --- a/arch/x86_64/src/devices/local_apic.cpp +++ b/arch/x86_64/src/devices/local_apic.cpp @@ -1,7 +1,7 @@ -#include "arch/devices/local_apic.hpp" +#include -#include "kapi/devices.hpp" -#include "kapi/memory.hpp" +#include +#include #include diff --git a/arch/x86_64/src/memory/higher_half_mapper.cpp b/arch/x86_64/src/memory/higher_half_mapper.cpp index b0d19958..75adb3c5 100644 --- a/arch/x86_64/src/memory/higher_half_mapper.cpp +++ b/arch/x86_64/src/memory/higher_half_mapper.cpp @@ -1,10 +1,10 @@ -#include "arch/memory/higher_half_mapper.hpp" +#include -#include "arch/memory/page_table.hpp" -#include "arch/memory/page_utilities.hpp" +#include +#include -#include "kapi/memory.hpp" -#include "kapi/system.hpp" +#include +#include #include #include diff --git a/arch/x86_64/src/memory/kernel_mapper.cpp b/arch/x86_64/src/memory/kernel_mapper.cpp index 46d4dcaa..74272a0f 100644 --- a/arch/x86_64/src/memory/kernel_mapper.cpp +++ b/arch/x86_64/src/memory/kernel_mapper.cpp @@ -1,9 +1,9 @@ -#include "arch/memory/kernel_mapper.hpp" +#include -#include "arch/boot/ld.hpp" +#include -#include "kapi/memory.hpp" -#include "kapi/system.hpp" +#include +#include #include #include diff --git a/arch/x86_64/src/memory/mmu.cpp b/arch/x86_64/src/memory/mmu.cpp index 6d185a0a..2b53fa48 100644 --- a/arch/x86_64/src/memory/mmu.cpp +++ b/arch/x86_64/src/memory/mmu.cpp @@ -1,8 +1,8 @@ -#include "arch/memory/mmu.hpp" +#include -#include "arch/cpu/registers.hpp" +#include -#include "kapi/memory.hpp" +#include namespace arch::memory { diff --git a/arch/x86_64/src/memory/page_table.cpp b/arch/x86_64/src/memory/page_table.cpp index 26cdd291..21804207 100644 --- a/arch/x86_64/src/memory/page_table.cpp +++ b/arch/x86_64/src/memory/page_table.cpp @@ -1,6 +1,6 @@ -#include "arch/memory/page_table.hpp" +#include -#include "kapi/memory.hpp" +#include #include #include diff --git a/arch/x86_64/src/memory/region_allocator.cpp b/arch/x86_64/src/memory/region_allocator.cpp index 4ee3ca46..4086a10b 100644 --- a/arch/x86_64/src/memory/region_allocator.cpp +++ b/arch/x86_64/src/memory/region_allocator.cpp @@ -1,7 +1,7 @@ -#include "arch/memory/region_allocator.hpp" +#include -#include "kapi/memory/address.hpp" -#include "kapi/memory/frame.hpp" +#include +#include #include diff --git a/arch/x86_64/src/vga/text/buffer.cpp b/arch/x86_64/src/vga/text/buffer.cpp index 7112573d..498b9a39 100644 --- a/arch/x86_64/src/vga/text/buffer.cpp +++ b/arch/x86_64/src/vga/text/buffer.cpp @@ -1,6 +1,6 @@ -#include "arch/vga/text/buffer.hpp" +#include -#include "arch/vga/text/attribute.hpp" +#include #include #include diff --git a/arch/x86_64/src/vga/text/device.cpp b/arch/x86_64/src/vga/text/device.cpp index 0ecbef9a..84683585 100644 --- a/arch/x86_64/src/vga/text/device.cpp +++ b/arch/x86_64/src/vga/text/device.cpp @@ -1,9 +1,9 @@ -#include "arch/boot/boot.hpp" -#include "arch/boot/ld.hpp" -#include "arch/vga/crtc.hpp" -#include "arch/vga/text.hpp" +#include +#include +#include +#include -#include "kapi/cio.hpp" +#include #include #include diff --git a/kapi/include/kapi/boot_module/boot_module.hpp b/kapi/include/kapi/boot_module/boot_module.hpp index 85a1ac5b..9b4b1650 100644 --- a/kapi/include/kapi/boot_module/boot_module.hpp +++ b/kapi/include/kapi/boot_module/boot_module.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KAPI_BOOT_MODULE_BOOT_MODULE_HPP #define TEACHOS_KAPI_BOOT_MODULE_BOOT_MODULE_HPP -#include "kapi/memory.hpp" +#include #include #include diff --git a/kapi/include/kapi/boot_module/boot_module_registry.hpp b/kapi/include/kapi/boot_module/boot_module_registry.hpp index 0692d37f..fc3590fc 100644 --- a/kapi/include/kapi/boot_module/boot_module_registry.hpp +++ b/kapi/include/kapi/boot_module/boot_module_registry.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KAPI_BOOT_MODULE_BOOT_MODULE_REGISTRY_HPP #define TEACHOS_KAPI_BOOT_MODULE_BOOT_MODULE_REGISTRY_HPP -#include "kapi/boot_module/boot_module.hpp" +#include #include diff --git a/kapi/include/kapi/boot_modules.hpp b/kapi/include/kapi/boot_modules.hpp index 6eee169b..026479db 100644 --- a/kapi/include/kapi/boot_modules.hpp +++ b/kapi/include/kapi/boot_modules.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KAPI_BOOT_MODULES_HPP #define TEACHOS_KAPI_BOOT_MODULES_HPP -#include "kapi/boot_module/boot_module_registry.hpp" // IWYU pragma: export +#include // IWYU pragma: export namespace kapi::boot_modules { diff --git a/kapi/include/kapi/cio.hpp b/kapi/include/kapi/cio.hpp index 8941a9f2..9bbf7fa7 100644 --- a/kapi/include/kapi/cio.hpp +++ b/kapi/include/kapi/cio.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KAPI_CIO_HPP #define TEACHOS_KAPI_CIO_HPP -#include "kapi/cio/output_device.hpp" // IWYU pragma: export +#include // IWYU pragma: export #include diff --git a/kapi/include/kapi/cio/output_device.hpp b/kapi/include/kapi/cio/output_device.hpp index f08d7baf..9fe25577 100644 --- a/kapi/include/kapi/cio/output_device.hpp +++ b/kapi/include/kapi/cio/output_device.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KAPI_CIO_OUTPUT_DEVICE_HPP #define TEACHOS_KAPI_CIO_OUTPUT_DEVICE_HPP -// IWYU pragma: private, include "kapi/cio.hpp" +// IWYU pragma: private, include #include diff --git a/kapi/include/kapi/cpu.hpp b/kapi/include/kapi/cpu.hpp index e736be17..deaf5cd7 100644 --- a/kapi/include/kapi/cpu.hpp +++ b/kapi/include/kapi/cpu.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KAPI_CPU_HPP #define TEACHOS_KAPI_CPU_HPP -#include "kapi/memory.hpp" +#include #include #include diff --git a/kapi/include/kapi/devices.hpp b/kapi/include/kapi/devices.hpp index ec154a51..b597aa8c 100644 --- a/kapi/include/kapi/devices.hpp +++ b/kapi/include/kapi/devices.hpp @@ -1,10 +1,10 @@ #ifndef TEACHOS_KAPI_DEVICES_HPP #define TEACHOS_KAPI_DEVICES_HPP -#include "kapi/devices/bus.hpp" // IWYU pragma: export -#include "kapi/devices/cpu.hpp" // IWYU pragma: export -#include "kapi/devices/device.hpp" // IWYU pragma: export -#include "kapi/devices/manager.hpp" // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export namespace kapi::devices { diff --git a/kapi/include/kapi/devices/bus.hpp b/kapi/include/kapi/devices/bus.hpp index 60134ff6..59f49f73 100644 --- a/kapi/include/kapi/devices/bus.hpp +++ b/kapi/include/kapi/devices/bus.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_KAPI_DEVICES_BUS_HPP #define TEACHOS_KAPI_DEVICES_BUS_HPP -// IWYU pragma: private, include "kapi/devices.hpp" +// IWYU pragma: private, include -#include "kapi/devices/device.hpp" +#include #include #include diff --git a/kapi/include/kapi/devices/cpu.hpp b/kapi/include/kapi/devices/cpu.hpp index 00766b51..f8ff60c6 100644 --- a/kapi/include/kapi/devices/cpu.hpp +++ b/kapi/include/kapi/devices/cpu.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KAPI_DEVICES_CPU_HPP #define TEACHOS_KAPI_DEVICES_CPU_HPP -#include "kapi/devices/bus.hpp" +#include #include #include diff --git a/kapi/include/kapi/devices/device.hpp b/kapi/include/kapi/devices/device.hpp index 9939494e..70cf01f3 100644 --- a/kapi/include/kapi/devices/device.hpp +++ b/kapi/include/kapi/devices/device.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KAPI_DEVICES_DEVICE_HPP #define TEACH_OS_KAPI_DEVICES_DEVICE_HPP -// IWYU pragma: private, include "kapi/devices.hpp" +// IWYU pragma: private, include #include #include diff --git a/kapi/include/kapi/devices/manager.hpp b/kapi/include/kapi/devices/manager.hpp index f19366ee..c9b90b4e 100644 --- a/kapi/include/kapi/devices/manager.hpp +++ b/kapi/include/kapi/devices/manager.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_KAPI_DEVICES_MANAGER_HPP #define TEACHOS_KAPI_DEVICES_MANAGER_HPP -// IWYU pragma: private, include "kapi/devices.hpp" +// IWYU pragma: private, include -#include "kapi/devices/device.hpp" +#include #include diff --git a/kapi/include/kapi/memory.hpp b/kapi/include/kapi/memory.hpp index f5e126ab..8ad8d6ec 100644 --- a/kapi/include/kapi/memory.hpp +++ b/kapi/include/kapi/memory.hpp @@ -1,13 +1,13 @@ #ifndef TEACHOS_KAPI_MEMORY_HPP #define TEACHOS_KAPI_MEMORY_HPP -#include "kapi/memory/address.hpp" // IWYU pragma: export -#include "kapi/memory/chunk.hpp" // IWYU pragma: export -#include "kapi/memory/frame.hpp" // IWYU pragma: export -#include "kapi/memory/frame_allocator.hpp" // IWYU pragma: export -#include "kapi/memory/layout.hpp" // IWYU pragma: export -#include "kapi/memory/page.hpp" // IWYU pragma: export -#include "kapi/memory/page_mapper.hpp" // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export #include #include diff --git a/kapi/include/kapi/memory/address.hpp b/kapi/include/kapi/memory/address.hpp index 13bdf4c7..9231cfc6 100644 --- a/kapi/include/kapi/memory/address.hpp +++ b/kapi/include/kapi/memory/address.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KAPI_MEMORY_ADDRESS_HPP #define TEACHOS_KAPI_MEMORY_ADDRESS_HPP -// IWYU pragma: private, include "kapi/memory.hpp" +// IWYU pragma: private, include #include #include diff --git a/kapi/include/kapi/memory/chunk.hpp b/kapi/include/kapi/memory/chunk.hpp index a046221a..485a890d 100644 --- a/kapi/include/kapi/memory/chunk.hpp +++ b/kapi/include/kapi/memory/chunk.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KAPI_MEMORY_CHUNK_HPP #define TEACHOS_KAPI_MEMORY_CHUNK_HPP -// IWYU pragma: private, include "kapi/memory.hpp" +// IWYU pragma: private, include #include diff --git a/kapi/include/kapi/memory/frame.hpp b/kapi/include/kapi/memory/frame.hpp index a55b6ffa..e423fa4f 100644 --- a/kapi/include/kapi/memory/frame.hpp +++ b/kapi/include/kapi/memory/frame.hpp @@ -1,11 +1,11 @@ #ifndef TEACHOS_KAPI_MEMORY_FRAME_HPP #define TEACHOS_KAPI_MEMORY_FRAME_HPP -// IWYU pragma: private, include "kapi/memory.hpp" +// IWYU pragma: private, include -#include "kapi/memory/address.hpp" -#include "kapi/memory/chunk.hpp" -#include "kapi/memory/layout.hpp" +#include +#include +#include #include diff --git a/kapi/include/kapi/memory/frame_allocator.hpp b/kapi/include/kapi/memory/frame_allocator.hpp index cfa8a1c7..784ea932 100644 --- a/kapi/include/kapi/memory/frame_allocator.hpp +++ b/kapi/include/kapi/memory/frame_allocator.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_KAPI_MEMORY_FRAME_ALLOCATOR_HPP #define TEACHOS_KAPI_MEMORY_FRAME_ALLOCATOR_HPP -// IWYU pragma: private, include "kapi/memory.hpp" +// IWYU pragma: private, include -#include "kapi/memory/frame.hpp" +#include #include #include diff --git a/kapi/include/kapi/memory/layout.hpp b/kapi/include/kapi/memory/layout.hpp index 26b48d8a..733fa960 100644 --- a/kapi/include/kapi/memory/layout.hpp +++ b/kapi/include/kapi/memory/layout.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_KAPI_MEMORY_LAYOUT_HPP #define TEACHOS_KAPI_MEMORY_LAYOUT_HPP -// IWYU pragma: private, include "kapi/memory.hpp" +// IWYU pragma: private, include -#include "kapi/memory/address.hpp" +#include #include diff --git a/kapi/include/kapi/memory/page.hpp b/kapi/include/kapi/memory/page.hpp index aa161ee2..d9875346 100644 --- a/kapi/include/kapi/memory/page.hpp +++ b/kapi/include/kapi/memory/page.hpp @@ -1,11 +1,11 @@ #ifndef TEACHOS_KAPI_MEMORY_PAGE_HPP #define TEACHOS_KAPI_MEMORY_PAGE_HPP -// IWYU pragma: private, include "kapi/memory.hpp" +// IWYU pragma: private, include -#include "kapi/memory/address.hpp" -#include "kapi/memory/chunk.hpp" -#include "kapi/memory/layout.hpp" +#include +#include +#include #include diff --git a/kapi/include/kapi/memory/page_mapper.hpp b/kapi/include/kapi/memory/page_mapper.hpp index c6052e99..fb600b2d 100644 --- a/kapi/include/kapi/memory/page_mapper.hpp +++ b/kapi/include/kapi/memory/page_mapper.hpp @@ -1,10 +1,10 @@ #ifndef TEACHOS_KAPI_MEMORY_PAGE_MAPPER_HPP #define TEACHOS_KAPI_MEMORY_PAGE_MAPPER_HPP -// IWYU pragma: private, include "kapi/memory.hpp" +// IWYU pragma: private, include -#include "kapi/memory/frame.hpp" -#include "kapi/memory/page.hpp" +#include +#include #include diff --git a/kernel/include/kernel/devices/block_device.hpp b/kernel/include/kernel/devices/block_device.hpp index 43e65110..a6d68ee2 100644 --- a/kernel/include/kernel/devices/block_device.hpp +++ b/kernel/include/kernel/devices/block_device.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KERNEL_DEVICES_BLOCK_DEVICE_HPP #define TEACH_OS_KERNEL_DEVICES_BLOCK_DEVICE_HPP -#include "kapi/devices/device.hpp" +#include #include diff --git a/kernel/include/kernel/devices/block_device_utils.hpp b/kernel/include/kernel/devices/block_device_utils.hpp index 7b1daec5..8be75b6f 100644 --- a/kernel/include/kernel/devices/block_device_utils.hpp +++ b/kernel/include/kernel/devices/block_device_utils.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KERNEL_DEVICES_BLOCK_DEVICE_UTILS_HPP #define TEACH_OS_KERNEL_DEVICES_BLOCK_DEVICE_UTILS_HPP -#include "kapi/devices/device.hpp" +#include #include diff --git a/kernel/include/kernel/devices/root_bus.hpp b/kernel/include/kernel/devices/root_bus.hpp index 660b715d..c8fee520 100644 --- a/kernel/include/kernel/devices/root_bus.hpp +++ b/kernel/include/kernel/devices/root_bus.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_DEVICES_ROOT_BUS_HPP #define TEACHOS_KERNEL_DEVICES_ROOT_BUS_HPP -#include "kapi/devices/bus.hpp" +#include namespace kernel::devices { diff --git a/kernel/include/kernel/devices/storage/controller.hpp b/kernel/include/kernel/devices/storage/controller.hpp index a91e452b..bea18f38 100644 --- a/kernel/include/kernel/devices/storage/controller.hpp +++ b/kernel/include/kernel/devices/storage/controller.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KERNEL_DEVICES_STORAGE_CONTROLLER_HPP #define TEACH_OS_KERNEL_DEVICES_STORAGE_CONTROLLER_HPP -#include "kapi/devices/device.hpp" +#include #include #include diff --git a/kernel/include/kernel/devices/storage/management.hpp b/kernel/include/kernel/devices/storage/management.hpp index b2f42d1d..9a840875 100644 --- a/kernel/include/kernel/devices/storage/management.hpp +++ b/kernel/include/kernel/devices/storage/management.hpp @@ -1,9 +1,9 @@ #ifndef TEACH_OS_KERNEL_DEVICES_STORAGE_MANAGEMENT_HPP #define TEACH_OS_KERNEL_DEVICES_STORAGE_MANAGEMENT_HPP -#include "kernel/devices/storage/controller.hpp" +#include -#include "kapi/devices/device.hpp" +#include #include #include diff --git a/kernel/include/kernel/devices/storage/ram_disk/controller.hpp b/kernel/include/kernel/devices/storage/ram_disk/controller.hpp index febec950..93cf30d8 100644 --- a/kernel/include/kernel/devices/storage/ram_disk/controller.hpp +++ b/kernel/include/kernel/devices/storage/ram_disk/controller.hpp @@ -1,9 +1,9 @@ #ifndef TEACH_OS_KERNEL_DEVICES_STORAGE_RAM_DISK_CONTROLLER_HPP #define TEACH_OS_KERNEL_DEVICES_STORAGE_RAM_DISK_CONTROLLER_HPP -#include "kernel/devices/storage/controller.hpp" +#include -#include "kapi/boot_module/boot_module_registry.hpp" +#include namespace kernel::devices::storage::ram_disk { diff --git a/kernel/include/kernel/devices/storage/ram_disk/device.hpp b/kernel/include/kernel/devices/storage/ram_disk/device.hpp index 0ee0f8f4..89789ea9 100644 --- a/kernel/include/kernel/devices/storage/ram_disk/device.hpp +++ b/kernel/include/kernel/devices/storage/ram_disk/device.hpp @@ -1,9 +1,9 @@ #ifndef TEACH_OS_KERNEL_DEVICES_STORAGE_RAM_DISK_DEVICE_HPP #define TEACH_OS_KERNEL_DEVICES_STORAGE_RAM_DISK_DEVICE_HPP -#include "kernel/devices/block_device.hpp" +#include -#include "kapi/boot_module/boot_module.hpp" +#include #include diff --git a/kernel/include/kernel/filesystem/dentry.hpp b/kernel/include/kernel/filesystem/dentry.hpp index 58a918f7..94fa39a9 100644 --- a/kernel/include/kernel/filesystem/dentry.hpp +++ b/kernel/include/kernel/filesystem/dentry.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_DENTRY_HPP #define TEACH_OS_KERNEL_FILESYSTEM_DENTRY_HPP -#include "kernel/filesystem/inode.hpp" +#include #include #include diff --git a/kernel/include/kernel/filesystem/devfs/filesystem.hpp b/kernel/include/kernel/filesystem/devfs/filesystem.hpp index 53bb87df..8d965558 100644 --- a/kernel/include/kernel/filesystem/devfs/filesystem.hpp +++ b/kernel/include/kernel/filesystem/devfs/filesystem.hpp @@ -1,9 +1,9 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_DEVFS_FILESYSTEM_HPP #define TEACH_OS_KERNEL_FILESYSTEM_DEVFS_FILESYSTEM_HPP -#include "kernel/filesystem/device_inode.hpp" -#include "kernel/filesystem/filesystem.hpp" -#include "kernel/filesystem/inode.hpp" +#include +#include +#include #include #include diff --git a/kernel/include/kernel/filesystem/devfs/inode.hpp b/kernel/include/kernel/filesystem/devfs/inode.hpp index c117bd29..0fab280d 100644 --- a/kernel/include/kernel/filesystem/devfs/inode.hpp +++ b/kernel/include/kernel/filesystem/devfs/inode.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_DEVFS_INODE_HPP #define TEACH_OS_KERNEL_FILESYSTEM_DEVFS_INODE_HPP -#include "kernel/filesystem/inode.hpp" +#include #include diff --git a/kernel/include/kernel/filesystem/device_inode.hpp b/kernel/include/kernel/filesystem/device_inode.hpp index 6afe5bc5..2f79fca4 100644 --- a/kernel/include/kernel/filesystem/device_inode.hpp +++ b/kernel/include/kernel/filesystem/device_inode.hpp @@ -1,9 +1,9 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_DEVICE_INODE_HPP #define TEACH_OS_KERNEL_FILESYSTEM_DEVICE_INODE_HPP -#include "kernel/filesystem/inode.hpp" +#include -#include "kapi/devices/device.hpp" +#include #include diff --git a/kernel/include/kernel/filesystem/ext2/filesystem.hpp b/kernel/include/kernel/filesystem/ext2/filesystem.hpp index 9112866c..516e71db 100644 --- a/kernel/include/kernel/filesystem/ext2/filesystem.hpp +++ b/kernel/include/kernel/filesystem/ext2/filesystem.hpp @@ -1,11 +1,11 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_EXT2_FILESYSTEM_HPP #define TEACH_OS_KERNEL_FILESYSTEM_EXT2_FILESYSTEM_HPP -#include "kernel/filesystem/ext2/block_group_descriptor.hpp" -#include "kernel/filesystem/ext2/inode.hpp" -#include "kernel/filesystem/ext2/superblock.hpp" -#include "kernel/filesystem/filesystem.hpp" -#include "kernel/filesystem/inode.hpp" +#include +#include +#include +#include +#include #include #include diff --git a/kernel/include/kernel/filesystem/ext2/inode.hpp b/kernel/include/kernel/filesystem/ext2/inode.hpp index a1645cd5..9291eea9 100644 --- a/kernel/include/kernel/filesystem/ext2/inode.hpp +++ b/kernel/include/kernel/filesystem/ext2/inode.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_EXT2_INODE_HPP #define TEACH_OS_KERNEL_FILESYSTEM_EXT2_INODE_HPP -#include "kernel/filesystem/inode.hpp" +#include #include diff --git a/kernel/include/kernel/filesystem/file_descriptor_table.hpp b/kernel/include/kernel/filesystem/file_descriptor_table.hpp index 5dd91e7f..293dc368 100644 --- a/kernel/include/kernel/filesystem/file_descriptor_table.hpp +++ b/kernel/include/kernel/filesystem/file_descriptor_table.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_FILE_DESCRIPTOR_TABLE_HPP #define TEACH_OS_KERNEL_FILESYSTEM_FILE_DESCRIPTOR_TABLE_HPP -#include "open_file_description.hpp" +#include #include #include diff --git a/kernel/include/kernel/filesystem/filesystem.hpp b/kernel/include/kernel/filesystem/filesystem.hpp index 16c07ad9..2fdc0ed0 100644 --- a/kernel/include/kernel/filesystem/filesystem.hpp +++ b/kernel/include/kernel/filesystem/filesystem.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_FILESYSTEM_HPP #define TEACH_OS_KERNEL_FILESYSTEM_FILESYSTEM_HPP -#include "kernel/filesystem/inode.hpp" +#include #include #include diff --git a/kernel/include/kernel/filesystem/mount.hpp b/kernel/include/kernel/filesystem/mount.hpp index 0ac6b2f2..72855a01 100644 --- a/kernel/include/kernel/filesystem/mount.hpp +++ b/kernel/include/kernel/filesystem/mount.hpp @@ -1,8 +1,8 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_MOUNT_HPP #define TEACH_OS_KERNEL_FILESYSTEM_MOUNT_HPP -#include "kernel/filesystem/dentry.hpp" -#include "kernel/filesystem/filesystem.hpp" +#include +#include #include #include diff --git a/kernel/include/kernel/filesystem/mount_table.hpp b/kernel/include/kernel/filesystem/mount_table.hpp index a5cdde6e..00277eac 100644 --- a/kernel/include/kernel/filesystem/mount_table.hpp +++ b/kernel/include/kernel/filesystem/mount_table.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_MOUNT_TABLE_HPP #define TEACH_OS_KERNEL_FILESYSTEM_MOUNT_TABLE_HPP -#include "kernel/filesystem/mount.hpp" +#include #include #include diff --git a/kernel/include/kernel/filesystem/open_file_description.hpp b/kernel/include/kernel/filesystem/open_file_description.hpp index 738afd4b..fad41e45 100644 --- a/kernel/include/kernel/filesystem/open_file_description.hpp +++ b/kernel/include/kernel/filesystem/open_file_description.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_OPEN_FILE_DESCRIPTION_HPP #define TEACH_OS_KERNEL_FILESYSTEM_OPEN_FILE_DESCRIPTION_HPP -#include "kernel/filesystem/inode.hpp" +#include #include diff --git a/kernel/include/kernel/filesystem/rootfs/filesystem.hpp b/kernel/include/kernel/filesystem/rootfs/filesystem.hpp index e14a1ee7..cc778d8d 100644 --- a/kernel/include/kernel/filesystem/rootfs/filesystem.hpp +++ b/kernel/include/kernel/filesystem/rootfs/filesystem.hpp @@ -1,8 +1,8 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_ROOTFS_FILESYSTEM_HPP #define TEACH_OS_KERNEL_FILESYSTEM_ROOTFS_FILESYSTEM_HPP -#include "kernel/filesystem/filesystem.hpp" -#include "kernel/filesystem/inode.hpp" +#include +#include #include #include diff --git a/kernel/include/kernel/filesystem/rootfs/inode.hpp b/kernel/include/kernel/filesystem/rootfs/inode.hpp index 469e47a9..37d0a300 100644 --- a/kernel/include/kernel/filesystem/rootfs/inode.hpp +++ b/kernel/include/kernel/filesystem/rootfs/inode.hpp @@ -1,7 +1,7 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_ROOTFS_INODE_HPP #define TEACH_OS_KERNEL_FILESYSTEM_ROOTFS_INODE_HPP -#include "kernel/filesystem/inode.hpp" +#include #include #include diff --git a/kernel/include/kernel/filesystem/vfs.hpp b/kernel/include/kernel/filesystem/vfs.hpp index 678e6458..5b5c868b 100644 --- a/kernel/include/kernel/filesystem/vfs.hpp +++ b/kernel/include/kernel/filesystem/vfs.hpp @@ -1,10 +1,10 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_VFS_HPP #define TEACH_OS_KERNEL_FILESYSTEM_VFS_HPP -#include "kernel/filesystem/dentry.hpp" -#include "kernel/filesystem/filesystem.hpp" -#include "kernel/filesystem/mount_table.hpp" -#include "kernel/filesystem/open_file_description.hpp" +#include +#include +#include +#include #include diff --git a/kernel/include/kernel/memory.hpp b/kernel/include/kernel/memory.hpp index 568dd246..17fb82b4 100644 --- a/kernel/include/kernel/memory.hpp +++ b/kernel/include/kernel/memory.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_KERNEL_MEMORY_HPP #define TEACHOS_KERNEL_MEMORY_HPP -#include "kernel/memory/heap_allocator.hpp" // IWYU pragma: export +#include // IWYU pragma: export -#include "kapi/memory.hpp" +#include namespace kernel::memory { diff --git a/kernel/include/kernel/memory/bitmap_allocator.hpp b/kernel/include/kernel/memory/bitmap_allocator.hpp index fb5bf553..370ce64d 100644 --- a/kernel/include/kernel/memory/bitmap_allocator.hpp +++ b/kernel/include/kernel/memory/bitmap_allocator.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_MEMORY_BITMAP_ALLOCATOR_HPP #define TEACHOS_KERNEL_MEMORY_BITMAP_ALLOCATOR_HPP -#include "kapi/memory.hpp" +#include #include #include diff --git a/kernel/include/kernel/memory/block_list_allocator.hpp b/kernel/include/kernel/memory/block_list_allocator.hpp index c2cb468a..51b226ee 100644 --- a/kernel/include/kernel/memory/block_list_allocator.hpp +++ b/kernel/include/kernel/memory/block_list_allocator.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_KERNEL_MEMORY_BLOCK_LIST_ALLOCATOR_HPP #define TEACHOS_KERNEL_MEMORY_BLOCK_LIST_ALLOCATOR_HPP -#include "kernel/memory/heap_allocator.hpp" +#include -#include "kapi/memory.hpp" +#include #include #include diff --git a/kernel/include/kernel/memory/mmio_allocator.hpp b/kernel/include/kernel/memory/mmio_allocator.hpp index 4ec6bec7..c7a8ed0c 100644 --- a/kernel/include/kernel/memory/mmio_allocator.hpp +++ b/kernel/include/kernel/memory/mmio_allocator.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_MEMORY_MMIO_ALLOCATOR_HPP #define TEACHOS_KERNEL_MEMORY_MMIO_ALLOCATOR_HPP -#include "kapi/memory.hpp" +#include #include #include diff --git a/kernel/include/kernel/test_support/bump_frame_allocator.hpp b/kernel/include/kernel/test_support/bump_frame_allocator.hpp index 6380294d..a8ffd486 100644 --- a/kernel/include/kernel/test_support/bump_frame_allocator.hpp +++ b/kernel/include/kernel/test_support/bump_frame_allocator.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_BUMP_FRAME_ALLOCATOR_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_BUMP_FRAME_ALLOCATOR_HPP -#include "kapi/memory.hpp" +#include #include #include diff --git a/kernel/include/kernel/test_support/cio.hpp b/kernel/include/kernel/test_support/cio.hpp index e990825c..afe27e05 100644 --- a/kernel/include/kernel/test_support/cio.hpp +++ b/kernel/include/kernel/test_support/cio.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_CIO_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_CIO_HPP -#include "kernel/test_support/log_buffer.hpp" +#include -#include "kapi/cio.hpp" +#include #include diff --git a/kernel/include/kernel/test_support/devices/block_device.hpp b/kernel/include/kernel/test_support/devices/block_device.hpp index 110872f5..89a2bf15 100644 --- a/kernel/include/kernel/test_support/devices/block_device.hpp +++ b/kernel/include/kernel/test_support/devices/block_device.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_DEVICES_BLOCK_DEVICE_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_DEVICES_BLOCK_DEVICE_HPP -#include "kernel/devices/block_device.hpp" +#include #include #include diff --git a/kernel/include/kernel/test_support/devices/character_device.hpp b/kernel/include/kernel/test_support/devices/character_device.hpp index a106cfbf..aba183a1 100644 --- a/kernel/include/kernel/test_support/devices/character_device.hpp +++ b/kernel/include/kernel/test_support/devices/character_device.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_DEVICES_CHARACTER_DEVICE_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_DEVICES_CHARACTER_DEVICE_HPP -#include "kapi/devices/device.hpp" +#include #include #include diff --git a/kernel/include/kernel/test_support/filesystem/ext2.hpp b/kernel/include/kernel/test_support/filesystem/ext2.hpp index edbda295..107e5a40 100644 --- a/kernel/include/kernel/test_support/filesystem/ext2.hpp +++ b/kernel/include/kernel/test_support/filesystem/ext2.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_FILESYSTEM_EXT2_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_FILESYSTEM_EXT2_HPP -#include "kernel/test_support/devices/block_device.hpp" +#include #include #include diff --git a/kernel/include/kernel/test_support/filesystem/filesystem.hpp b/kernel/include/kernel/test_support/filesystem/filesystem.hpp index 13aade4c..dab08925 100644 --- a/kernel/include/kernel/test_support/filesystem/filesystem.hpp +++ b/kernel/include/kernel/test_support/filesystem/filesystem.hpp @@ -1,8 +1,8 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_FILESYSTEM_FILESYSTEM_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_FILESYSTEM_FILESYSTEM_HPP -#include "kernel/filesystem/filesystem.hpp" -#include "kernel/filesystem/inode.hpp" +#include +#include #include diff --git a/kernel/include/kernel/test_support/filesystem/inode.hpp b/kernel/include/kernel/test_support/filesystem/inode.hpp index 6568f248..9d179178 100644 --- a/kernel/include/kernel/test_support/filesystem/inode.hpp +++ b/kernel/include/kernel/test_support/filesystem/inode.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_FILESYSTEM_INODE_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_FILESYSTEM_INODE_HPP -#include "kernel/filesystem/inode.hpp" +#include #include diff --git a/kernel/include/kernel/test_support/filesystem/storage_boot_module_fixture.hpp b/kernel/include/kernel/test_support/filesystem/storage_boot_module_fixture.hpp index 4b496841..94a66688 100644 --- a/kernel/include/kernel/test_support/filesystem/storage_boot_module_fixture.hpp +++ b/kernel/include/kernel/test_support/filesystem/storage_boot_module_fixture.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_FILESYSTEM_STORAGE_BOOT_MODULE_FIXTURE_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_FILESYSTEM_STORAGE_BOOT_MODULE_FIXTURE_HPP -#include "kapi/boot_module/boot_module_registry.hpp" +#include #include #include diff --git a/kernel/include/kernel/test_support/filesystem/storage_boot_module_vfs_fixture.hpp b/kernel/include/kernel/test_support/filesystem/storage_boot_module_vfs_fixture.hpp index bd1c2899..55f4b290 100644 --- a/kernel/include/kernel/test_support/filesystem/storage_boot_module_vfs_fixture.hpp +++ b/kernel/include/kernel/test_support/filesystem/storage_boot_module_vfs_fixture.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_FILESYSTEM_STORAGE_BOOT_MODULE_VFS_FIXTURE_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_FILESYSTEM_STORAGE_BOOT_MODULE_VFS_FIXTURE_HPP -#include "kernel/test_support/filesystem/storage_boot_module_fixture.hpp" +#include #include #include diff --git a/kernel/include/kernel/test_support/memory.hpp b/kernel/include/kernel/test_support/memory.hpp index 6034a1e8..21030a41 100644 --- a/kernel/include/kernel/test_support/memory.hpp +++ b/kernel/include/kernel/test_support/memory.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_MEMORY_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_MEMORY_HPP -#include "kapi/memory.hpp" +#include namespace kernel::tests::memory { diff --git a/kernel/include/kernel/test_support/page_mapper.hpp b/kernel/include/kernel/test_support/page_mapper.hpp index 05f43590..be4403b0 100644 --- a/kernel/include/kernel/test_support/page_mapper.hpp +++ b/kernel/include/kernel/test_support/page_mapper.hpp @@ -1,9 +1,9 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_PAGE_MAPPER_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_PAGE_MAPPER_HPP -#include "kernel/test_support/simulated_memory.hpp" +#include -#include "kapi/memory.hpp" +#include #include diff --git a/kernel/include/kernel/test_support/simulated_memory.hpp b/kernel/include/kernel/test_support/simulated_memory.hpp index ef4e3ec4..a201c3d7 100644 --- a/kernel/include/kernel/test_support/simulated_memory.hpp +++ b/kernel/include/kernel/test_support/simulated_memory.hpp @@ -1,7 +1,7 @@ #ifndef TEACHOS_KERNEL_TEST_SUPPORT_SIMULATED_MEMORY_HPP #define TEACHOS_KERNEL_TEST_SUPPORT_SIMULATED_MEMORY_HPP -#include "kapi/memory.hpp" +#include #include diff --git a/kernel/kapi/acpi.cpp b/kernel/kapi/acpi.cpp index fc9ff31e..b6d5cdf9 100644 --- a/kernel/kapi/acpi.cpp +++ b/kernel/kapi/acpi.cpp @@ -1,8 +1,8 @@ -#include "kapi/acpi.hpp" +#include -#include "kernel/acpi/manager.hpp" +#include -#include "kapi/system.hpp" +#include #include diff --git a/kernel/kapi/boot_modules.cpp b/kernel/kapi/boot_modules.cpp index 05493686..1ad541b2 100644 --- a/kernel/kapi/boot_modules.cpp +++ b/kernel/kapi/boot_modules.cpp @@ -1,6 +1,6 @@ -#include "kapi/boot_modules.hpp" +#include -#include "kapi/system.hpp" +#include #include diff --git a/kernel/kapi/cio.cpp b/kernel/kapi/cio.cpp index d447a6ae..96f043c1 100644 --- a/kernel/kapi/cio.cpp +++ b/kernel/kapi/cio.cpp @@ -1,4 +1,4 @@ -#include "kapi/cio.hpp" +#include #include #include diff --git a/kernel/kapi/cpu.cpp b/kernel/kapi/cpu.cpp index 13de584d..7b1a43b3 100644 --- a/kernel/kapi/cpu.cpp +++ b/kernel/kapi/cpu.cpp @@ -1,6 +1,6 @@ -#include "kapi/cpu.hpp" +#include -#include "kapi/system.hpp" +#include #include diff --git a/kernel/kapi/cpu.tests.cpp b/kernel/kapi/cpu.tests.cpp index 85b20fd0..9ce29179 100644 --- a/kernel/kapi/cpu.tests.cpp +++ b/kernel/kapi/cpu.tests.cpp @@ -1,6 +1,6 @@ -#include "kapi/cpu.hpp" +#include -#include "kernel/test_support/cpu.hpp" +#include #include diff --git a/kernel/kapi/devices.cpp b/kernel/kapi/devices.cpp index 53bab8cc..572227e6 100644 --- a/kernel/kapi/devices.cpp +++ b/kernel/kapi/devices.cpp @@ -1,8 +1,8 @@ -#include "kapi/devices.hpp" +#include -#include "kernel/devices/root_bus.hpp" +#include -#include "kapi/system.hpp" +#include #include #include diff --git a/kernel/kapi/devices/bus.cpp b/kernel/kapi/devices/bus.cpp index 5f0dfcdb..59753f79 100644 --- a/kernel/kapi/devices/bus.cpp +++ b/kernel/kapi/devices/bus.cpp @@ -1,7 +1,7 @@ -#include "kapi/devices/bus.hpp" +#include -#include "kapi/devices.hpp" -#include "kapi/system.hpp" +#include +#include #include #include diff --git a/kernel/kapi/devices/cpu.cpp b/kernel/kapi/devices/cpu.cpp index 9de5f941..f0e1d725 100644 --- a/kernel/kapi/devices/cpu.cpp +++ b/kernel/kapi/devices/cpu.cpp @@ -1,6 +1,6 @@ -#include "kapi/devices/cpu.hpp" +#include -#include "kapi/devices.hpp" +#include #include #include diff --git a/kernel/kapi/devices/device.cpp b/kernel/kapi/devices/device.cpp index 41d96dc5..8b5d6b97 100644 --- a/kernel/kapi/devices/device.cpp +++ b/kernel/kapi/devices/device.cpp @@ -1,6 +1,6 @@ -#include "kapi/devices/device.hpp" +#include -#include "kapi/devices/bus.hpp" +#include #include #include diff --git a/kernel/kapi/filesystem.cpp b/kernel/kapi/filesystem.cpp index eee3b8bd..c8d4c6dc 100644 --- a/kernel/kapi/filesystem.cpp +++ b/kernel/kapi/filesystem.cpp @@ -1,8 +1,8 @@ -#include "kapi/filesystem.hpp" +#include -#include "kernel/filesystem/file_descriptor_table.hpp" -#include "kernel/filesystem/open_file_description.hpp" -#include "kernel/filesystem/vfs.hpp" +#include +#include +#include #include diff --git a/kernel/kapi/filesystem.tests.cpp b/kernel/kapi/filesystem.tests.cpp index aa24aede..baa86137 100644 --- a/kernel/kapi/filesystem.tests.cpp +++ b/kernel/kapi/filesystem.tests.cpp @@ -1,6 +1,6 @@ -#include "kapi/filesystem.hpp" +#include -#include "kernel/test_support/filesystem/storage_boot_module_vfs_fixture.hpp" +#include #include diff --git a/kernel/kapi/interrupts.cpp b/kernel/kapi/interrupts.cpp index 0e37bc37..4efcaa37 100644 --- a/kernel/kapi/interrupts.cpp +++ b/kernel/kapi/interrupts.cpp @@ -1,4 +1,4 @@ -#include "kapi/interrupts.hpp" +#include #include #include diff --git a/kernel/kapi/memory.cpp b/kernel/kapi/memory.cpp index 66ccb9ca..5ea08b16 100644 --- a/kernel/kapi/memory.cpp +++ b/kernel/kapi/memory.cpp @@ -1,9 +1,9 @@ -#include "kapi/memory.hpp" +#include -#include "kernel/memory/bitmap_allocator.hpp" -#include "kernel/memory/mmio_allocator.hpp" +#include +#include -#include "kapi/system.hpp" +#include #include #include diff --git a/kernel/kapi/system.cpp b/kernel/kapi/system.cpp index a17d9b93..9819ceb7 100644 --- a/kernel/kapi/system.cpp +++ b/kernel/kapi/system.cpp @@ -1,6 +1,6 @@ -#include "kapi/system.hpp" +#include -#include "kapi/cpu.hpp" +#include #include diff --git a/kernel/kapi/system.tests.cpp b/kernel/kapi/system.tests.cpp index 687053e7..1e300316 100644 --- a/kernel/kapi/system.tests.cpp +++ b/kernel/kapi/system.tests.cpp @@ -1,7 +1,7 @@ -#include "kapi/system.hpp" +#include -#include "kernel/test_support/cio.hpp" -#include "kernel/test_support/cpu.hpp" +#include +#include #include diff --git a/kernel/kstd/os.cpp b/kernel/kstd/os.cpp index 21254c48..ae69e7e7 100644 --- a/kernel/kstd/os.cpp +++ b/kernel/kstd/os.cpp @@ -1,4 +1,4 @@ -#include "kapi/system.hpp" +#include #include diff --git a/kernel/kstd/print.cpp b/kernel/kstd/print.cpp index a2e7fe77..d0611b21 100644 --- a/kernel/kstd/print.cpp +++ b/kernel/kstd/print.cpp @@ -1,6 +1,6 @@ #include -#include "kapi/cio.hpp" +#include #include #include diff --git a/kernel/kstd/print.tests.cpp b/kernel/kstd/print.tests.cpp index 8deeb175..4963f46e 100644 --- a/kernel/kstd/print.tests.cpp +++ b/kernel/kstd/print.tests.cpp @@ -1,6 +1,6 @@ -#include "kstd/print" +#include -#include "kernel/test_support/cio.hpp" +#include #include diff --git a/kernel/src/acpi/manager.cpp b/kernel/src/acpi/manager.cpp index f17c9cbc..99c88607 100644 --- a/kernel/src/acpi/manager.cpp +++ b/kernel/src/acpi/manager.cpp @@ -1,7 +1,7 @@ -#include "kernel/acpi/manager.hpp" +#include -#include "kapi/memory.hpp" -#include "kapi/system.hpp" +#include +#include #include diff --git a/kernel/src/devices/block_device.cpp b/kernel/src/devices/block_device.cpp index b7cb26ed..13d73acd 100644 --- a/kernel/src/devices/block_device.cpp +++ b/kernel/src/devices/block_device.cpp @@ -1,7 +1,7 @@ -#include "kernel/devices/block_device.hpp" +#include -#include "kapi/devices/device.hpp" -#include "kapi/system.hpp" +#include +#include #include diff --git a/kernel/src/devices/block_device.tests.cpp b/kernel/src/devices/block_device.tests.cpp index 378437e6..a2ddd2bb 100644 --- a/kernel/src/devices/block_device.tests.cpp +++ b/kernel/src/devices/block_device.tests.cpp @@ -1,6 +1,6 @@ -#include "kernel/test_support/devices/block_device.hpp" +#include -#include "kernel/test_support/cpu.hpp" +#include #include #include diff --git a/kernel/src/devices/block_device_utils.cpp b/kernel/src/devices/block_device_utils.cpp index 3c773086..cb8ecba1 100644 --- a/kernel/src/devices/block_device_utils.cpp +++ b/kernel/src/devices/block_device_utils.cpp @@ -1,9 +1,9 @@ -#include "kernel/devices/block_device_utils.hpp" +#include -#include "kernel/devices/block_device.hpp" +#include -#include "kapi/devices/device.hpp" -#include "kapi/system.hpp" +#include +#include #include #include diff --git a/kernel/src/devices/block_device_utils.tests.cpp b/kernel/src/devices/block_device_utils.tests.cpp index f78e4773..e2e1e65e 100644 --- a/kernel/src/devices/block_device_utils.tests.cpp +++ b/kernel/src/devices/block_device_utils.tests.cpp @@ -1,8 +1,8 @@ -#include "kernel/devices/block_device_utils.hpp" +#include -#include "kernel/test_support/cpu.hpp" -#include "kernel/test_support/devices/block_device.hpp" -#include "kernel/test_support/devices/character_device.hpp" +#include +#include +#include #include #include diff --git a/kernel/src/devices/root_bus.cpp b/kernel/src/devices/root_bus.cpp index 43a35bff..1b754f23 100644 --- a/kernel/src/devices/root_bus.cpp +++ b/kernel/src/devices/root_bus.cpp @@ -1,6 +1,6 @@ -#include "kernel/devices/root_bus.hpp" +#include -#include "kapi/devices.hpp" +#include namespace kernel::devices { diff --git a/kernel/src/devices/storage/controller.cpp b/kernel/src/devices/storage/controller.cpp index 1bef6708..171b918e 100644 --- a/kernel/src/devices/storage/controller.cpp +++ b/kernel/src/devices/storage/controller.cpp @@ -1,6 +1,6 @@ -#include "kernel/devices/storage/controller.hpp" +#include -#include "kapi/devices/device.hpp" +#include #include #include diff --git a/kernel/src/devices/storage/management.cpp b/kernel/src/devices/storage/management.cpp index 8ff1b06e..7361cd5b 100644 --- a/kernel/src/devices/storage/management.cpp +++ b/kernel/src/devices/storage/management.cpp @@ -1,11 +1,11 @@ -#include "kernel/devices/storage/management.hpp" +#include -#include "kernel/devices/storage/controller.hpp" -#include "kernel/devices/storage/ram_disk/controller.hpp" +#include +#include -#include "kapi/boot_modules.hpp" -#include "kapi/devices/device.hpp" -#include "kapi/system.hpp" +#include +#include +#include #include #include diff --git a/kernel/src/devices/storage/ram_disk/controller.cpp b/kernel/src/devices/storage/ram_disk/controller.cpp index d2305336..30441fa5 100644 --- a/kernel/src/devices/storage/ram_disk/controller.cpp +++ b/kernel/src/devices/storage/ram_disk/controller.cpp @@ -1,8 +1,8 @@ -#include "kernel/devices/storage/ram_disk/controller.hpp" +#include -#include "kernel/devices/storage/ram_disk/device.hpp" +#include -#include "kapi/boot_module/boot_module_registry.hpp" +#include #include diff --git a/kernel/src/devices/storage/ram_disk/device.cpp b/kernel/src/devices/storage/ram_disk/device.cpp index c6a13631..21b0000a 100644 --- a/kernel/src/devices/storage/ram_disk/device.cpp +++ b/kernel/src/devices/storage/ram_disk/device.cpp @@ -1,9 +1,9 @@ -#include "kernel/devices/storage/ram_disk/device.hpp" +#include -#include "kernel/devices/block_device.hpp" +#include -#include "kapi/boot_module/boot_module.hpp" -#include "kapi/system.hpp" +#include +#include #include #include diff --git a/kernel/src/devices/storage/ram_disk/device.tests.cpp b/kernel/src/devices/storage/ram_disk/device.tests.cpp index b475c4bf..d0fab76b 100644 --- a/kernel/src/devices/storage/ram_disk/device.tests.cpp +++ b/kernel/src/devices/storage/ram_disk/device.tests.cpp @@ -1,7 +1,7 @@ -#include "kernel/devices/storage/ram_disk/device.hpp" +#include -#include "kapi/boot_module/boot_module.hpp" -#include "kapi/memory.hpp" +#include +#include #include #include diff --git a/kernel/src/filesystem/dentry.cpp b/kernel/src/filesystem/dentry.cpp index af5ceab8..572dd825 100644 --- a/kernel/src/filesystem/dentry.cpp +++ b/kernel/src/filesystem/dentry.cpp @@ -1,8 +1,8 @@ -#include "kernel/filesystem/dentry.hpp" +#include -#include "kernel/filesystem/inode.hpp" +#include -#include "kapi/system.hpp" +#include #include diff --git a/kernel/src/filesystem/dentry.tests.cpp b/kernel/src/filesystem/dentry.tests.cpp index a6620d36..f81c260e 100644 --- a/kernel/src/filesystem/dentry.tests.cpp +++ b/kernel/src/filesystem/dentry.tests.cpp @@ -1,7 +1,7 @@ -#include "kernel/filesystem/dentry.hpp" +#include -#include "kernel/test_support/cpu.hpp" -#include "kernel/test_support/filesystem/inode.hpp" +#include +#include #include #include diff --git a/kernel/src/filesystem/devfs/filesystem.cpp b/kernel/src/filesystem/devfs/filesystem.cpp index 76b9489a..96e40a89 100644 --- a/kernel/src/filesystem/devfs/filesystem.cpp +++ b/kernel/src/filesystem/devfs/filesystem.cpp @@ -1,11 +1,11 @@ -#include "kernel/filesystem/devfs/filesystem.hpp" +#include -#include "kernel/devices/storage/management.hpp" -#include "kernel/filesystem/devfs/inode.hpp" -#include "kernel/filesystem/device_inode.hpp" -#include "kernel/filesystem/inode.hpp" +#include +#include +#include +#include -#include "kapi/devices/device.hpp" +#include #include diff --git a/kernel/src/filesystem/devfs/filesystem.tests.cpp b/kernel/src/filesystem/devfs/filesystem.tests.cpp index f8c4764d..2b6c09bf 100644 --- a/kernel/src/filesystem/devfs/filesystem.tests.cpp +++ b/kernel/src/filesystem/devfs/filesystem.tests.cpp @@ -1,7 +1,7 @@ -#include "kernel/filesystem/devfs/filesystem.hpp" +#include -#include "kernel/filesystem/filesystem.hpp" -#include "kernel/test_support/filesystem/storage_boot_module_fixture.hpp" +#include +#include #include diff --git a/kernel/src/filesystem/devfs/inode.cpp b/kernel/src/filesystem/devfs/inode.cpp index 52cf6fa7..0ed66adf 100644 --- a/kernel/src/filesystem/devfs/inode.cpp +++ b/kernel/src/filesystem/devfs/inode.cpp @@ -1,6 +1,6 @@ -#include "kernel/filesystem/devfs/inode.hpp" +#include -#include "kernel/filesystem/inode.hpp" +#include #include diff --git a/kernel/src/filesystem/devfs/inode.tests.cpp b/kernel/src/filesystem/devfs/inode.tests.cpp index 50e34a70..030d7091 100644 --- a/kernel/src/filesystem/devfs/inode.tests.cpp +++ b/kernel/src/filesystem/devfs/inode.tests.cpp @@ -1,4 +1,4 @@ -#include "kernel/filesystem/devfs/inode.hpp" +#include #include #include diff --git a/kernel/src/filesystem/device_inode.cpp b/kernel/src/filesystem/device_inode.cpp index 5793bfcb..3bafe06f 100644 --- a/kernel/src/filesystem/device_inode.cpp +++ b/kernel/src/filesystem/device_inode.cpp @@ -1,10 +1,10 @@ -#include "kernel/filesystem/device_inode.hpp" +#include -#include "kernel/devices/block_device_utils.hpp" -#include "kernel/filesystem/inode.hpp" +#include +#include -#include "kapi/devices/device.hpp" -#include "kapi/system.hpp" +#include +#include #include diff --git a/kernel/src/filesystem/device_inode.tests.cpp b/kernel/src/filesystem/device_inode.tests.cpp index 4e31812a..8ac4effd 100644 --- a/kernel/src/filesystem/device_inode.tests.cpp +++ b/kernel/src/filesystem/device_inode.tests.cpp @@ -1,8 +1,8 @@ -#include "kernel/filesystem/device_inode.hpp" +#include -#include "kernel/test_support/cpu.hpp" -#include "kernel/test_support/devices/block_device.hpp" -#include "kernel/test_support/devices/character_device.hpp" +#include +#include +#include #include #include diff --git a/kernel/src/filesystem/ext2/filesystem.cpp b/kernel/src/filesystem/ext2/filesystem.cpp index c0f97ed2..41572ee7 100644 --- a/kernel/src/filesystem/ext2/filesystem.cpp +++ b/kernel/src/filesystem/ext2/filesystem.cpp @@ -1,11 +1,11 @@ -#include "kernel/filesystem/ext2/filesystem.hpp" - -#include "kernel/filesystem/ext2/block_group_descriptor.hpp" -#include "kernel/filesystem/ext2/inode.hpp" -#include "kernel/filesystem/ext2/linked_directory_entry.hpp" -#include "kernel/filesystem/ext2/superblock.hpp" -#include "kernel/filesystem/filesystem.hpp" -#include "kernel/filesystem/inode.hpp" +#include + +#include +#include +#include +#include +#include +#include #include #include diff --git a/kernel/src/filesystem/ext2/filesystem.tests.cpp b/kernel/src/filesystem/ext2/filesystem.tests.cpp index a7b8d5b8..31c4c296 100644 --- a/kernel/src/filesystem/ext2/filesystem.tests.cpp +++ b/kernel/src/filesystem/ext2/filesystem.tests.cpp @@ -1,12 +1,12 @@ -#include "kernel/filesystem/ext2/filesystem.hpp" - -#include "kernel/devices/storage/management.hpp" -#include "kernel/filesystem/device_inode.hpp" -#include "kernel/filesystem/ext2/inode.hpp" -#include "kernel/filesystem/filesystem.hpp" -#include "kernel/test_support/devices/block_device.hpp" -#include "kernel/test_support/filesystem/ext2.hpp" -#include "kernel/test_support/filesystem/storage_boot_module_fixture.hpp" +#include + +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/kernel/src/filesystem/ext2/inode.cpp b/kernel/src/filesystem/ext2/inode.cpp index 6b42db65..c45c41e5 100644 --- a/kernel/src/filesystem/ext2/inode.cpp +++ b/kernel/src/filesystem/ext2/inode.cpp @@ -1,9 +1,9 @@ -#include "kernel/filesystem/ext2/inode.hpp" +#include -#include "kernel/filesystem/ext2/filesystem.hpp" -#include "kernel/filesystem/inode.hpp" +#include +#include -#include "kapi/system.hpp" +#include #include #include diff --git a/kernel/src/filesystem/ext2/inode.tests.cpp b/kernel/src/filesystem/ext2/inode.tests.cpp index ae66aff5..4d617904 100644 --- a/kernel/src/filesystem/ext2/inode.tests.cpp +++ b/kernel/src/filesystem/ext2/inode.tests.cpp @@ -1,13 +1,13 @@ -#include "kernel/filesystem/ext2/inode.hpp" - -#include "kernel/devices/storage/management.hpp" -#include "kernel/filesystem/device_inode.hpp" -#include "kernel/filesystem/ext2/filesystem.hpp" -#include "kernel/filesystem/filesystem.hpp" -#include "kernel/test_support/cpu.hpp" -#include "kernel/test_support/devices/block_device.hpp" -#include "kernel/test_support/filesystem/ext2.hpp" -#include "kernel/test_support/filesystem/storage_boot_module_fixture.hpp" +#include + +#include +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/kernel/src/filesystem/file_descriptor_table.cpp b/kernel/src/filesystem/file_descriptor_table.cpp index 4160429b..db7692ba 100644 --- a/kernel/src/filesystem/file_descriptor_table.cpp +++ b/kernel/src/filesystem/file_descriptor_table.cpp @@ -1,8 +1,8 @@ -#include "kernel/filesystem/file_descriptor_table.hpp" +#include -#include "kernel/filesystem/open_file_description.hpp" +#include -#include "kapi/system.hpp" +#include #include diff --git a/kernel/src/filesystem/file_descriptor_table.tests.cpp b/kernel/src/filesystem/file_descriptor_table.tests.cpp index 5aeadb24..86ed7bfd 100644 --- a/kernel/src/filesystem/file_descriptor_table.tests.cpp +++ b/kernel/src/filesystem/file_descriptor_table.tests.cpp @@ -1,7 +1,7 @@ -#include "kernel/filesystem/file_descriptor_table.hpp" +#include -#include "kernel/filesystem/open_file_description.hpp" -#include "kernel/test_support/filesystem/inode.hpp" +#include +#include #include #include diff --git a/kernel/src/filesystem/filesystem.cpp b/kernel/src/filesystem/filesystem.cpp index f9586600..24d0e229 100644 --- a/kernel/src/filesystem/filesystem.cpp +++ b/kernel/src/filesystem/filesystem.cpp @@ -1,9 +1,9 @@ -#include "kernel/filesystem/filesystem.hpp" +#include -#include "kernel/filesystem/ext2/filesystem.hpp" -#include "kernel/filesystem/inode.hpp" +#include +#include -#include "kapi/system.hpp" +#include #include diff --git a/kernel/src/filesystem/inode.cpp b/kernel/src/filesystem/inode.cpp index 1cbead84..2f0764c6 100644 --- a/kernel/src/filesystem/inode.cpp +++ b/kernel/src/filesystem/inode.cpp @@ -1,4 +1,4 @@ -#include "kernel/filesystem/inode.hpp" +#include namespace kernel::filesystem { diff --git a/kernel/src/filesystem/mount.cpp b/kernel/src/filesystem/mount.cpp index 9c8584b7..67450b71 100644 --- a/kernel/src/filesystem/mount.cpp +++ b/kernel/src/filesystem/mount.cpp @@ -1,9 +1,9 @@ -#include "kernel/filesystem/mount.hpp" +#include -#include "kernel/filesystem/dentry.hpp" -#include "kernel/filesystem/filesystem.hpp" +#include +#include -#include "kapi/system.hpp" +#include #include #include diff --git a/kernel/src/filesystem/mount.tests.cpp b/kernel/src/filesystem/mount.tests.cpp index 4c4393a3..d6304642 100644 --- a/kernel/src/filesystem/mount.tests.cpp +++ b/kernel/src/filesystem/mount.tests.cpp @@ -1,9 +1,9 @@ -#include "kernel/filesystem/mount.hpp" +#include -#include "kernel/filesystem/dentry.hpp" -#include "kernel/test_support/cpu.hpp" -#include "kernel/test_support/filesystem/filesystem.hpp" -#include "kernel/test_support/filesystem/inode.hpp" +#include +#include +#include +#include #include #include diff --git a/kernel/src/filesystem/mount_table.cpp b/kernel/src/filesystem/mount_table.cpp index 3b1dee39..da3c4519 100644 --- a/kernel/src/filesystem/mount_table.cpp +++ b/kernel/src/filesystem/mount_table.cpp @@ -1,7 +1,7 @@ -#include "kernel/filesystem/mount_table.hpp" +#include -#include "kernel/filesystem/dentry.hpp" -#include "kernel/filesystem/mount.hpp" +#include +#include #include #include diff --git a/kernel/src/filesystem/mount_table.tests.cpp b/kernel/src/filesystem/mount_table.tests.cpp index 439fe97c..747ffdf7 100644 --- a/kernel/src/filesystem/mount_table.tests.cpp +++ b/kernel/src/filesystem/mount_table.tests.cpp @@ -1,9 +1,9 @@ -#include "kernel/filesystem/mount_table.hpp" +#include -#include "kernel/filesystem/dentry.hpp" -#include "kernel/filesystem/mount.hpp" -#include "kernel/test_support/filesystem/filesystem.hpp" -#include "kernel/test_support/filesystem/inode.hpp" +#include +#include +#include +#include #include #include diff --git a/kernel/src/filesystem/open_file_description.cpp b/kernel/src/filesystem/open_file_description.cpp index f049a34f..3033e2bf 100644 --- a/kernel/src/filesystem/open_file_description.cpp +++ b/kernel/src/filesystem/open_file_description.cpp @@ -1,6 +1,6 @@ -#include "kernel/filesystem/open_file_description.hpp" +#include -#include "kernel/filesystem/inode.hpp" +#include #include #include diff --git a/kernel/src/filesystem/open_file_description.tests.cpp b/kernel/src/filesystem/open_file_description.tests.cpp index ec355463..ce3c81a2 100644 --- a/kernel/src/filesystem/open_file_description.tests.cpp +++ b/kernel/src/filesystem/open_file_description.tests.cpp @@ -1,8 +1,8 @@ -#include "kernel/filesystem/open_file_description.hpp" +#include -#include "kernel/filesystem/vfs.hpp" -#include "kernel/test_support/filesystem/inode.hpp" -#include "kernel/test_support/filesystem/storage_boot_module_vfs_fixture.hpp" +#include +#include +#include #include #include diff --git a/kernel/src/filesystem/rootfs/filesystem.cpp b/kernel/src/filesystem/rootfs/filesystem.cpp index f718c72a..6187c3c9 100644 --- a/kernel/src/filesystem/rootfs/filesystem.cpp +++ b/kernel/src/filesystem/rootfs/filesystem.cpp @@ -1,7 +1,7 @@ -#include "kernel/filesystem/rootfs/filesystem.hpp" +#include -#include "kernel/filesystem/inode.hpp" -#include "kernel/filesystem/rootfs/inode.hpp" +#include +#include #include diff --git a/kernel/src/filesystem/rootfs/filesystem.tests.cpp b/kernel/src/filesystem/rootfs/filesystem.tests.cpp index b013f78b..81ac9e4f 100644 --- a/kernel/src/filesystem/rootfs/filesystem.tests.cpp +++ b/kernel/src/filesystem/rootfs/filesystem.tests.cpp @@ -1,6 +1,6 @@ -#include "kernel/filesystem/rootfs/filesystem.hpp" +#include -#include "kernel/filesystem/filesystem.hpp" +#include #include #include diff --git a/kernel/src/filesystem/rootfs/inode.cpp b/kernel/src/filesystem/rootfs/inode.cpp index 3ca9c026..eeea3fed 100644 --- a/kernel/src/filesystem/rootfs/inode.cpp +++ b/kernel/src/filesystem/rootfs/inode.cpp @@ -1,6 +1,6 @@ -#include "kernel/filesystem/inode.hpp" +#include -#include "kernel/filesystem/rootfs/inode.hpp" +#include #include #include diff --git a/kernel/src/filesystem/rootfs/inode.tests.cpp b/kernel/src/filesystem/rootfs/inode.tests.cpp index a0c59389..879818ce 100644 --- a/kernel/src/filesystem/rootfs/inode.tests.cpp +++ b/kernel/src/filesystem/rootfs/inode.tests.cpp @@ -1,4 +1,4 @@ -#include "kernel/filesystem/rootfs/inode.hpp" +#include #include #include diff --git a/kernel/src/filesystem/vfs.cpp b/kernel/src/filesystem/vfs.cpp index 23ced4cd..5b454f60 100644 --- a/kernel/src/filesystem/vfs.cpp +++ b/kernel/src/filesystem/vfs.cpp @@ -1,13 +1,13 @@ -#include "kernel/filesystem/vfs.hpp" +#include -#include "kernel/filesystem/dentry.hpp" -#include "kernel/filesystem/devfs/filesystem.hpp" -#include "kernel/filesystem/filesystem.hpp" -#include "kernel/filesystem/mount.hpp" -#include "kernel/filesystem/mount_table.hpp" -#include "kernel/filesystem/rootfs/filesystem.hpp" +#include +#include +#include +#include +#include +#include -#include "kapi/system.hpp" +#include #include diff --git a/kernel/src/filesystem/vfs.tests.cpp b/kernel/src/filesystem/vfs.tests.cpp index eba157d2..9cadb4d6 100644 --- a/kernel/src/filesystem/vfs.tests.cpp +++ b/kernel/src/filesystem/vfs.tests.cpp @@ -1,7 +1,7 @@ -#include "kernel/filesystem/vfs.hpp" +#include -#include "kernel/filesystem/open_file_description.hpp" -#include "kernel/test_support/filesystem/storage_boot_module_vfs_fixture.hpp" +#include +#include #include #include diff --git a/kernel/src/main.cpp b/kernel/src/main.cpp index 52cbe2e9..60b6e6e3 100644 --- a/kernel/src/main.cpp +++ b/kernel/src/main.cpp @@ -1,17 +1,17 @@ -#include "kernel/devices/storage/management.hpp" -#include "kernel/filesystem/device_inode.hpp" -#include "kernel/filesystem/file_descriptor_table.hpp" -#include "kernel/filesystem/open_file_description.hpp" -#include "kernel/filesystem/vfs.hpp" -#include "kernel/memory.hpp" - -#include "kapi/boot_modules.hpp" -#include "kapi/cio.hpp" -#include "kapi/cpu.hpp" -#include "kapi/devices.hpp" -#include "kapi/interrupts.hpp" -#include "kapi/memory.hpp" -#include "kapi/system.hpp" +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/kernel/src/memory.cpp b/kernel/src/memory.cpp index b5f65faf..6a85c0e7 100644 --- a/kernel/src/memory.cpp +++ b/kernel/src/memory.cpp @@ -1,10 +1,10 @@ -#include "kernel/memory.hpp" +#include -#include "kernel/memory/block_list_allocator.hpp" -#include "kernel/memory/heap_allocator.hpp" +#include +#include -#include "kapi/memory.hpp" -#include "kapi/system.hpp" +#include +#include #include #include diff --git a/kernel/src/memory/bitmap_allocator.cpp b/kernel/src/memory/bitmap_allocator.cpp index caaf5a45..240e2afe 100644 --- a/kernel/src/memory/bitmap_allocator.cpp +++ b/kernel/src/memory/bitmap_allocator.cpp @@ -1,6 +1,6 @@ -#include "kernel/memory/bitmap_allocator.hpp" +#include -#include "kapi/memory.hpp" +#include #include #include diff --git a/kernel/src/memory/bitmap_allocator.tests.cpp b/kernel/src/memory/bitmap_allocator.tests.cpp index eff6d854..05d11a33 100644 --- a/kernel/src/memory/bitmap_allocator.tests.cpp +++ b/kernel/src/memory/bitmap_allocator.tests.cpp @@ -1,10 +1,10 @@ -#include "kernel/memory/bitmap_allocator.hpp" +#include -#include "kapi/memory.hpp" +#include -#include "catch2/matchers/catch_matchers.hpp" -#include "catch2/matchers/catch_matchers_range_equals.hpp" #include +#include +#include #include #include diff --git a/kernel/src/memory/block_list_allocator.cpp b/kernel/src/memory/block_list_allocator.cpp index 5c416fa8..6e68ada7 100644 --- a/kernel/src/memory/block_list_allocator.cpp +++ b/kernel/src/memory/block_list_allocator.cpp @@ -1,9 +1,9 @@ -#include "kernel/memory/block_list_allocator.hpp" +#include -#include "kernel/memory/heap_allocator.hpp" +#include -#include "kapi/memory.hpp" -#include "kapi/system.hpp" +#include +#include #include #include diff --git a/kernel/src/memory/block_list_allocator.tests.cpp b/kernel/src/memory/block_list_allocator.tests.cpp index fccdad58..c5f84c52 100644 --- a/kernel/src/memory/block_list_allocator.tests.cpp +++ b/kernel/src/memory/block_list_allocator.tests.cpp @@ -1,8 +1,8 @@ -#include "kernel/memory/block_list_allocator.hpp" +#include -#include "kernel/test_support/memory.hpp" +#include -#include "kapi/memory.hpp" +#include #include diff --git a/kernel/src/memory/mmio_allocator.cpp b/kernel/src/memory/mmio_allocator.cpp index ddbdfc2d..ba23dbde 100644 --- a/kernel/src/memory/mmio_allocator.cpp +++ b/kernel/src/memory/mmio_allocator.cpp @@ -1,7 +1,7 @@ -#include "kernel/memory/mmio_allocator.hpp" +#include -#include "kapi/memory.hpp" -#include "kapi/system.hpp" +#include +#include #include diff --git a/kernel/src/memory/operators.cpp b/kernel/src/memory/operators.cpp index dd3b4fa4..5673d680 100644 --- a/kernel/src/memory/operators.cpp +++ b/kernel/src/memory/operators.cpp @@ -1,6 +1,6 @@ -#include "kernel/memory.hpp" +#include -#include "kapi/system.hpp" +#include #include diff --git a/kernel/src/test_support/devices/block_device.cpp b/kernel/src/test_support/devices/block_device.cpp index d1d4101d..9a9e544d 100644 --- a/kernel/src/test_support/devices/block_device.cpp +++ b/kernel/src/test_support/devices/block_device.cpp @@ -1,6 +1,6 @@ -#include "kernel/test_support/devices/block_device.hpp" +#include -#include "kernel/devices/block_device.hpp" +#include #include #include diff --git a/kernel/src/test_support/devices/character_device.cpp b/kernel/src/test_support/devices/character_device.cpp index 9e9227dc..3806654f 100644 --- a/kernel/src/test_support/devices/character_device.cpp +++ b/kernel/src/test_support/devices/character_device.cpp @@ -1,7 +1,6 @@ +#include -#include "kernel/test_support/devices/character_device.hpp" - -#include "kapi/devices.hpp" +#include #include diff --git a/kernel/src/test_support/filesystem/ext2.cpp b/kernel/src/test_support/filesystem/ext2.cpp index 36273739..5a27b63d 100644 --- a/kernel/src/test_support/filesystem/ext2.cpp +++ b/kernel/src/test_support/filesystem/ext2.cpp @@ -1,10 +1,10 @@ -#include "kernel/test_support/filesystem/ext2.hpp" +#include -#include "kernel/filesystem/ext2/block_group_descriptor.hpp" -#include "kernel/filesystem/ext2/filesystem.hpp" -#include "kernel/filesystem/ext2/inode.hpp" -#include "kernel/filesystem/ext2/superblock.hpp" -#include "kernel/test_support/devices/block_device.hpp" +#include +#include +#include +#include +#include #include #include diff --git a/kernel/src/test_support/filesystem/filesystem.cpp b/kernel/src/test_support/filesystem/filesystem.cpp index 225d0963..12d43e03 100644 --- a/kernel/src/test_support/filesystem/filesystem.cpp +++ b/kernel/src/test_support/filesystem/filesystem.cpp @@ -1,7 +1,7 @@ -#include "kernel/test_support/filesystem/filesystem.hpp" +#include -#include "kernel/filesystem/inode.hpp" -#include "kernel/test_support/filesystem/inode.hpp" +#include +#include #include diff --git a/kernel/src/test_support/filesystem/inode.cpp b/kernel/src/test_support/filesystem/inode.cpp index 5df7bcd2..54bd7e0d 100644 --- a/kernel/src/test_support/filesystem/inode.cpp +++ b/kernel/src/test_support/filesystem/inode.cpp @@ -1,6 +1,6 @@ -#include "kernel/test_support/filesystem/inode.hpp" +#include -#include "kernel/filesystem/inode.hpp" +#include #include diff --git a/kernel/src/test_support/filesystem/storage_boot_module_fixture.cpp b/kernel/src/test_support/filesystem/storage_boot_module_fixture.cpp index 7fa2cb86..aabaaceb 100644 --- a/kernel/src/test_support/filesystem/storage_boot_module_fixture.cpp +++ b/kernel/src/test_support/filesystem/storage_boot_module_fixture.cpp @@ -1,12 +1,12 @@ -#include "kernel/test_support/filesystem/storage_boot_module_fixture.hpp" +#include -#include "kernel/devices/storage/management.hpp" -#include "kernel/test_support/boot_modules.hpp" -#include "kernel/test_support/devices/storage/management.hpp" +#include +#include +#include -#include "kapi/boot_module/boot_module.hpp" -#include "kapi/boot_modules.hpp" -#include "kapi/memory.hpp" +#include +#include +#include #include #include diff --git a/kernel/src/test_support/filesystem/storage_boot_module_vfs_fixture.cpp b/kernel/src/test_support/filesystem/storage_boot_module_vfs_fixture.cpp index 1a71b57e..02ccfec3 100644 --- a/kernel/src/test_support/filesystem/storage_boot_module_vfs_fixture.cpp +++ b/kernel/src/test_support/filesystem/storage_boot_module_vfs_fixture.cpp @@ -1,7 +1,7 @@ -#include "kernel/test_support/filesystem/storage_boot_module_vfs_fixture.hpp" +#include -#include "kernel/filesystem/vfs.hpp" -#include "kernel/test_support/filesystem/vfs.hpp" +#include +#include #include #include diff --git a/kernel/src/test_support/kapi/cio.cpp b/kernel/src/test_support/kapi/cio.cpp index 5cdd4628..98bc99d7 100644 --- a/kernel/src/test_support/kapi/cio.cpp +++ b/kernel/src/test_support/kapi/cio.cpp @@ -1,6 +1,6 @@ -#include "kernel/test_support/cio.hpp" +#include -#include "kernel/test_support/log_buffer.hpp" +#include #include diff --git a/kernel/src/test_support/kapi/cpu.cpp b/kernel/src/test_support/kapi/cpu.cpp index 671097e0..5d956331 100644 --- a/kernel/src/test_support/kapi/cpu.cpp +++ b/kernel/src/test_support/kapi/cpu.cpp @@ -1,4 +1,4 @@ -#include "kernel/test_support/cpu.hpp" +#include #include diff --git a/kernel/src/test_support/kapi/memory.cpp b/kernel/src/test_support/kapi/memory.cpp index 3b4a1bd4..7fc95cb0 100644 --- a/kernel/src/test_support/kapi/memory.cpp +++ b/kernel/src/test_support/kapi/memory.cpp @@ -1,7 +1,7 @@ -#include "kapi/memory.hpp" +#include -#include "kernel/test_support/bump_frame_allocator.hpp" -#include "kernel/test_support/page_mapper.hpp" +#include +#include #include diff --git a/kernel/src/test_support/log_buffer.cpp b/kernel/src/test_support/log_buffer.cpp index 9cff5962..04d875bd 100644 --- a/kernel/src/test_support/log_buffer.cpp +++ b/kernel/src/test_support/log_buffer.cpp @@ -1,4 +1,4 @@ -#include "kernel/test_support/log_buffer.hpp" +#include #include #include diff --git a/kernel/src/test_support/output_device.cpp b/kernel/src/test_support/output_device.cpp index 505e385b..45fb4bc8 100644 --- a/kernel/src/test_support/output_device.cpp +++ b/kernel/src/test_support/output_device.cpp @@ -1,7 +1,7 @@ -#include "kernel/test_support/cio.hpp" -#include "kernel/test_support/log_buffer.hpp" +#include +#include -#include "kapi/cio.hpp" +#include #include #include diff --git a/kernel/src/test_support/page_mapper.cpp b/kernel/src/test_support/page_mapper.cpp index 9236deb6..3d50ff1a 100644 --- a/kernel/src/test_support/page_mapper.cpp +++ b/kernel/src/test_support/page_mapper.cpp @@ -1,6 +1,6 @@ -#include "kernel/test_support/page_mapper.hpp" +#include -#include "kapi/memory.hpp" +#include #include diff --git a/kernel/src/test_support/simulated_memory.cpp b/kernel/src/test_support/simulated_memory.cpp index 2a4f15ba..074e6b10 100644 --- a/kernel/src/test_support/simulated_memory.cpp +++ b/kernel/src/test_support/simulated_memory.cpp @@ -1,6 +1,6 @@ -#include "kernel/test_support/simulated_memory.hpp" +#include -#include "kapi/memory.hpp" +#include #include diff --git a/kernel/src/test_support/state_reset_listener.cpp b/kernel/src/test_support/state_reset_listener.cpp index 19677439..1815110f 100644 --- a/kernel/src/test_support/state_reset_listener.cpp +++ b/kernel/src/test_support/state_reset_listener.cpp @@ -1,15 +1,15 @@ -#include "kernel/filesystem/file_descriptor_table.hpp" -#include "kernel/test_support/boot_modules.hpp" -#include "kernel/test_support/cio.hpp" -#include "kernel/test_support/cpu.hpp" -#include "kernel/test_support/devices/storage/management.hpp" -#include "kernel/test_support/filesystem/file_descriptor_table.hpp" -#include "kernel/test_support/filesystem/vfs.hpp" -#include "kernel/test_support/memory.hpp" - -#include "kapi/cio.hpp" -#include "kapi/cpu.hpp" -#include "kapi/memory.hpp" +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include #include #include diff --git a/libs/elf/include/elf/section_header.hpp b/libs/elf/include/elf/section_header.hpp index 2b907cbd..b1305ec2 100644 --- a/libs/elf/include/elf/section_header.hpp +++ b/libs/elf/include/elf/section_header.hpp @@ -1,7 +1,7 @@ #ifndef ELF_SECTION_HEADER_HPP #define ELF_SECTION_HEADER_HPP -#include "format.hpp" +#include #include #include diff --git a/libs/kstd/include/kstd/bits/format/arg.hpp b/libs/kstd/include/kstd/bits/format/arg.hpp index a9a6ab53..e65b26fa 100644 --- a/libs/kstd/include/kstd/bits/format/arg.hpp +++ b/libs/kstd/include/kstd/bits/format/arg.hpp @@ -3,8 +3,8 @@ // IWYU pragma: private, include -#include "error.hpp" -#include "fwd.hpp" +#include +#include #include #include diff --git a/libs/kstd/include/kstd/bits/format/args.hpp b/libs/kstd/include/kstd/bits/format/args.hpp index d1586acd..e8e31145 100644 --- a/libs/kstd/include/kstd/bits/format/args.hpp +++ b/libs/kstd/include/kstd/bits/format/args.hpp @@ -3,10 +3,10 @@ // IWYU pragma: private, include -#include "arg.hpp" -#include "context.hpp" -#include "fwd.hpp" -#include "parse_context.hpp" +#include +#include +#include +#include #include #include diff --git a/libs/kstd/include/kstd/bits/format/context.hpp b/libs/kstd/include/kstd/bits/format/context.hpp index 1883fc82..c166ba9c 100644 --- a/libs/kstd/include/kstd/bits/format/context.hpp +++ b/libs/kstd/include/kstd/bits/format/context.hpp @@ -3,8 +3,8 @@ // IWYU pragma: private, include -#include "kstd/bits/format/arg.hpp" -#include "kstd/bits/format/output_buffer.hpp" +#include +#include #include #include diff --git a/libs/kstd/include/kstd/bits/format/error.hpp b/libs/kstd/include/kstd/bits/format/error.hpp index f0863ebd..c0cb53d7 100644 --- a/libs/kstd/include/kstd/bits/format/error.hpp +++ b/libs/kstd/include/kstd/bits/format/error.hpp @@ -1,7 +1,7 @@ #ifndef KSTD_BITS_FORMAT_ERROR_HPP #define KSTD_BITS_FORMAT_ERROR_HPP -#include "kstd/os/error.hpp" +#include namespace kstd::bits::format { diff --git a/libs/kstd/include/kstd/bits/format/formatter.hpp b/libs/kstd/include/kstd/bits/format/formatter.hpp index 096168d1..eb288294 100644 --- a/libs/kstd/include/kstd/bits/format/formatter.hpp +++ b/libs/kstd/include/kstd/bits/format/formatter.hpp @@ -3,9 +3,9 @@ // IWYU pragma: private, include -#include "context.hpp" -#include "error.hpp" -#include "parse_context.hpp" +#include +#include +#include #include #include diff --git a/libs/kstd/include/kstd/bits/format/formatter/bool.hpp b/libs/kstd/include/kstd/bits/format/formatter/bool.hpp index e371cec7..cc8d190f 100644 --- a/libs/kstd/include/kstd/bits/format/formatter/bool.hpp +++ b/libs/kstd/include/kstd/bits/format/formatter/bool.hpp @@ -1,11 +1,11 @@ #ifndef KSTD_BITS_FORMAT_FORMATTER_BOOL_HPP #define KSTD_BITS_FORMAT_FORMATTER_BOOL_HPP -#include "../context.hpp" -#include "../error.hpp" -#include "../formatter.hpp" -#include "../parse_context.hpp" -#include "../specifiers.hpp" +#include +#include +#include +#include +#include #include #include diff --git a/libs/kstd/include/kstd/bits/format/formatter/byte.hpp b/libs/kstd/include/kstd/bits/format/formatter/byte.hpp index 70d98f4d..cc8aece2 100644 --- a/libs/kstd/include/kstd/bits/format/formatter/byte.hpp +++ b/libs/kstd/include/kstd/bits/format/formatter/byte.hpp @@ -1,9 +1,9 @@ #ifndef KSTD_BITS_FORMAT_FORMATTER_BYTE_HPP #define KSTD_BITS_FORMAT_FORMATTER_BYTE_HPP -#include "../context.hpp" -#include "../formatter.hpp" -#include "integral.hpp" +#include +#include +#include #include diff --git a/libs/kstd/include/kstd/bits/format/formatter/char.hpp b/libs/kstd/include/kstd/bits/format/formatter/char.hpp index ddfefe5e..92489a1e 100644 --- a/libs/kstd/include/kstd/bits/format/formatter/char.hpp +++ b/libs/kstd/include/kstd/bits/format/formatter/char.hpp @@ -1,12 +1,12 @@ #ifndef KSTD_BITS_FORMAT_FORMATTER_CHAR_HPP #define KSTD_BITS_FORMAT_FORMATTER_CHAR_HPP -#include "../context.hpp" -#include "../error.hpp" -#include "../formatter.hpp" -#include "../parse_context.hpp" -#include "../specifiers.hpp" -#include "integral.hpp" +#include +#include +#include +#include +#include +#include #include diff --git a/libs/kstd/include/kstd/bits/format/formatter/cstring.hpp b/libs/kstd/include/kstd/bits/format/formatter/cstring.hpp index 9afb974e..553c8caf 100644 --- a/libs/kstd/include/kstd/bits/format/formatter/cstring.hpp +++ b/libs/kstd/include/kstd/bits/format/formatter/cstring.hpp @@ -1,9 +1,9 @@ #ifndef KSTD_BITS_FORMAT_FORMATTER_CSTRING_HPP #define KSTD_BITS_FORMAT_FORMATTER_CSTRING_HPP -#include "../context.hpp" -#include "../formatter.hpp" -#include "string_view.hpp" +#include +#include +#include #include diff --git a/libs/kstd/include/kstd/bits/format/formatter/integral.hpp b/libs/kstd/include/kstd/bits/format/formatter/integral.hpp index e5a234ad..d17dc95b 100644 --- a/libs/kstd/include/kstd/bits/format/formatter/integral.hpp +++ b/libs/kstd/include/kstd/bits/format/formatter/integral.hpp @@ -1,11 +1,11 @@ #ifndef KSTD_BITS_FORMAT_FORMATTER_INTEGRAL_HPP #define KSTD_BITS_FORMAT_FORMATTER_INTEGRAL_HPP -#include "../context.hpp" -#include "../error.hpp" -#include "../formatter.hpp" -#include "../parse_context.hpp" -#include "../specifiers.hpp" +#include +#include +#include +#include +#include #include #include diff --git a/libs/kstd/include/kstd/bits/format/formatter/ordering.hpp b/libs/kstd/include/kstd/bits/format/formatter/ordering.hpp index 758285dd..78322262 100644 --- a/libs/kstd/include/kstd/bits/format/formatter/ordering.hpp +++ b/libs/kstd/include/kstd/bits/format/formatter/ordering.hpp @@ -1,10 +1,10 @@ #ifndef KSTD_BITS_FORMAT_FORMATTER_ORDERING_HPP #define KSTD_BITS_FORMAT_FORMATTER_ORDERING_HPP -#include "../context.hpp" -#include "../formatter.hpp" -#include "../parse_context.hpp" -#include "../specifiers.hpp" +#include +#include +#include +#include #include diff --git a/libs/kstd/include/kstd/bits/format/formatter/pointer.hpp b/libs/kstd/include/kstd/bits/format/formatter/pointer.hpp index fe75a2f8..15f9a5b4 100644 --- a/libs/kstd/include/kstd/bits/format/formatter/pointer.hpp +++ b/libs/kstd/include/kstd/bits/format/formatter/pointer.hpp @@ -1,11 +1,11 @@ #ifndef KSTD_BITS_FORMAT_FORMATTER_POINTER_HPP #define KSTD_BITS_FORMAT_FORMATTER_POINTER_HPP -#include "../context.hpp" -#include "../formatter.hpp" -#include "../parse_context.hpp" -#include "../specifiers.hpp" -#include "integral.hpp" +#include +#include +#include +#include +#include #include #include diff --git a/libs/kstd/include/kstd/bits/format/formatter/range.hpp b/libs/kstd/include/kstd/bits/format/formatter/range.hpp index 54ee7fb7..05af06f5 100644 --- a/libs/kstd/include/kstd/bits/format/formatter/range.hpp +++ b/libs/kstd/include/kstd/bits/format/formatter/range.hpp @@ -1,7 +1,7 @@ #ifndef KSTD_BITS_FORMAT_FORMATTER_RANGE_HPP #define KSTD_BITS_FORMAT_FORMATTER_RANGE_HPP -#include "../formatter.hpp" +#include #include #include diff --git a/libs/kstd/include/kstd/bits/format/formatter/string_view.hpp b/libs/kstd/include/kstd/bits/format/formatter/string_view.hpp index f5b698e4..7d745798 100644 --- a/libs/kstd/include/kstd/bits/format/formatter/string_view.hpp +++ b/libs/kstd/include/kstd/bits/format/formatter/string_view.hpp @@ -1,10 +1,10 @@ #ifndef KSTD_BITS_FORMAT_FORMATTER_STRING_VIEW_HPP #define KSTD_BITS_FORMAT_FORMATTER_STRING_VIEW_HPP -#include "../context.hpp" -#include "../error.hpp" -#include "../formatter.hpp" -#include "../parse_context.hpp" +#include +#include +#include +#include #include diff --git a/libs/kstd/include/kstd/bits/format/parse_context.hpp b/libs/kstd/include/kstd/bits/format/parse_context.hpp index 063263b8..cab8d726 100644 --- a/libs/kstd/include/kstd/bits/format/parse_context.hpp +++ b/libs/kstd/include/kstd/bits/format/parse_context.hpp @@ -3,7 +3,7 @@ // IWYU pragma: private, include -#include "error.hpp" +#include #include #include diff --git a/libs/kstd/include/kstd/bits/format/specifiers.hpp b/libs/kstd/include/kstd/bits/format/specifiers.hpp index 18c6f661..211c95d4 100644 --- a/libs/kstd/include/kstd/bits/format/specifiers.hpp +++ b/libs/kstd/include/kstd/bits/format/specifiers.hpp @@ -3,8 +3,8 @@ // IWYU pragma: private -#include "error.hpp" -#include "parse_context.hpp" +#include +#include #include #include diff --git a/libs/kstd/include/kstd/bits/format/string.hpp b/libs/kstd/include/kstd/bits/format/string.hpp index 40282e45..e7e40886 100644 --- a/libs/kstd/include/kstd/bits/format/string.hpp +++ b/libs/kstd/include/kstd/bits/format/string.hpp @@ -3,10 +3,10 @@ // IWYU pragma: private, include -#include "context.hpp" -#include "error.hpp" -#include "formatter.hpp" -#include "parse_context.hpp" +#include +#include +#include +#include #include #include diff --git a/libs/kstd/include/kstd/bits/observer_ptr.hpp b/libs/kstd/include/kstd/bits/observer_ptr.hpp index 1c5da150..2593d7a4 100644 --- a/libs/kstd/include/kstd/bits/observer_ptr.hpp +++ b/libs/kstd/include/kstd/bits/observer_ptr.hpp @@ -3,7 +3,7 @@ // IWYU pragma: private, include -#include "kstd/os/error.hpp" +#include #include #include diff --git a/libs/kstd/include/kstd/format b/libs/kstd/include/kstd/format index 047ea5c6..e04b79a9 100644 --- a/libs/kstd/include/kstd/format +++ b/libs/kstd/include/kstd/format @@ -1,22 +1,22 @@ #ifndef KSTD_FORMAT_HPP #define KSTD_FORMAT_HPP -#include "bits/format/arg.hpp" // IWYU pragma: export -#include "bits/format/args.hpp" // IWYU pragma: export -#include "bits/format/context.hpp" // IWYU pragma: export -#include "bits/format/formatter.hpp" // IWYU pragma: export -#include "bits/format/formatter/bool.hpp" // IWYU pragma: export -#include "bits/format/formatter/byte.hpp" // IWYU pragma: export -#include "bits/format/formatter/char.hpp" // IWYU pragma: export -#include "bits/format/formatter/cstring.hpp" // IWYU pragma: export -#include "bits/format/formatter/integral.hpp" // IWYU pragma: export -#include "bits/format/formatter/ordering.hpp" // IWYU pragma: export -#include "bits/format/formatter/pointer.hpp" // IWYU pragma: export -#include "bits/format/formatter/range.hpp" // IWYU pragma: export -#include "bits/format/formatter/string_view.hpp" // IWYU pragma: export -#include "bits/format/output_buffer.hpp" // IWYU pragma: export -#include "bits/format/parse_context.hpp" // IWYU pragma: export -#include "bits/format/string.hpp" // IWYU pragma: export -#include "bits/format/vformat.hpp" // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export #endif \ No newline at end of file diff --git a/libs/kstd/include/kstd/memory b/libs/kstd/include/kstd/memory index 493f49a0..f108c6d6 100644 --- a/libs/kstd/include/kstd/memory +++ b/libs/kstd/include/kstd/memory @@ -1,8 +1,8 @@ #ifndef KSTD_MEMORY_HPP #define KSTD_MEMORY_HPP -#include "kstd/bits/observer_ptr.hpp" // IWYU pragma: export -#include "kstd/bits/shared_ptr.hpp" // IWYU pragma: export -#include "kstd/bits/unique_ptr.hpp" // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export #endif \ No newline at end of file diff --git a/libs/kstd/include/kstd/os/print.hpp b/libs/kstd/include/kstd/os/print.hpp index b8e07321..36cb43d1 100644 --- a/libs/kstd/include/kstd/os/print.hpp +++ b/libs/kstd/include/kstd/os/print.hpp @@ -1,8 +1,8 @@ #ifndef KSTD_OS_PRINT_HPP #define KSTD_OS_PRINT_HPP -#include "kstd/bits/format/args.hpp" -#include "kstd/bits/print_sink.hpp" +#include +#include #include diff --git a/libs/kstd/include/kstd/print b/libs/kstd/include/kstd/print index f91cb04b..1033f722 100644 --- a/libs/kstd/include/kstd/print +++ b/libs/kstd/include/kstd/print @@ -1,10 +1,9 @@ #ifndef KSTD_PRINT #define KSTD_PRINT -#include "bits/print_sink.hpp" // IWYU pragma: export -#include "os/print.hpp" - +#include // IWYU pragma: export #include +#include #include diff --git a/libs/kstd/include/kstd/stack b/libs/kstd/include/kstd/stack index 77e6bfd3..02e44ea4 100644 --- a/libs/kstd/include/kstd/stack +++ b/libs/kstd/include/kstd/stack @@ -1,7 +1,7 @@ #ifndef KSTD_STACK_HPP #define KSTD_STACK_HPP -#include "kstd/vector" +#include #include #include diff --git a/libs/kstd/src/libc/stdlib.cpp b/libs/kstd/src/libc/stdlib.cpp index bb406055..a18fed06 100644 --- a/libs/kstd/src/libc/stdlib.cpp +++ b/libs/kstd/src/libc/stdlib.cpp @@ -1,4 +1,4 @@ -#include "kstd/os/error.hpp" +#include namespace kstd::libc { diff --git a/libs/kstd/src/mutex.cpp b/libs/kstd/src/mutex.cpp index d66cb984..73876572 100644 --- a/libs/kstd/src/mutex.cpp +++ b/libs/kstd/src/mutex.cpp @@ -1,6 +1,6 @@ -#include "kstd/mutex" +#include -#include "kstd/os/error.hpp" +#include #include diff --git a/libs/kstd/src/os/error.cpp b/libs/kstd/src/os/error.cpp index b82158d9..f969cb5d 100644 --- a/libs/kstd/src/os/error.cpp +++ b/libs/kstd/src/os/error.cpp @@ -1,4 +1,4 @@ -#include "kstd/os/error.hpp" +#include namespace kstd::os { diff --git a/libs/kstd/tests/src/os_panic.cpp b/libs/kstd/tests/src/os_panic.cpp index 3eae6ff6..0759763c 100644 --- a/libs/kstd/tests/src/os_panic.cpp +++ b/libs/kstd/tests/src/os_panic.cpp @@ -1,4 +1,4 @@ -#include "kstd/tests/os_panic.hpp" +#include #include #include diff --git a/libs/kstd/tests/src/vector.cpp b/libs/kstd/tests/src/vector.cpp index 415ca8e2..b838f42b 100644 --- a/libs/kstd/tests/src/vector.cpp +++ b/libs/kstd/tests/src/vector.cpp @@ -1,7 +1,7 @@ #include -#include "kstd/tests/os_panic.hpp" #include +#include #include #include diff --git a/libs/multiboot2/multiboot2/constants.hpp b/libs/multiboot2/multiboot2/constants.hpp index 21982102..57fa940e 100644 --- a/libs/multiboot2/multiboot2/constants.hpp +++ b/libs/multiboot2/multiboot2/constants.hpp @@ -1,7 +1,7 @@ #ifndef MULTIBOOT2_CONSTANTS_HPP #define MULTIBOOT2_CONSTANTS_HPP -#include "constants/architecture_id.hpp" // IWYU pragma: export +#include // IWYU pragma: export #include diff --git a/libs/multiboot2/multiboot2/information.hpp b/libs/multiboot2/multiboot2/information.hpp index 5f75fc8c..f688fe5d 100644 --- a/libs/multiboot2/multiboot2/information.hpp +++ b/libs/multiboot2/multiboot2/information.hpp @@ -6,9 +6,9 @@ #include -#include "multiboot2/information/data.hpp" // IWYU pragma: export -#include "multiboot2/information/iterator.hpp" // IWYU pragma: export -#include "multiboot2/information/tag.hpp" // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export #include #include diff --git a/libs/multiboot2/multiboot2/information/data.hpp b/libs/multiboot2/multiboot2/information/data.hpp index 531e2f31..f39a6cb2 100644 --- a/libs/multiboot2/multiboot2/information/data.hpp +++ b/libs/multiboot2/multiboot2/information/data.hpp @@ -5,8 +5,8 @@ #include -#include "multiboot2/constants/information_id.hpp" -#include "multiboot2/constants/memory_type.hpp" +#include +#include #include diff --git a/libs/multiboot2/multiboot2/information/iterator.hpp b/libs/multiboot2/multiboot2/information/iterator.hpp index ec0f4a2a..bded43e8 100644 --- a/libs/multiboot2/multiboot2/information/iterator.hpp +++ b/libs/multiboot2/multiboot2/information/iterator.hpp @@ -3,8 +3,8 @@ // IWYU pragma: private, include -#include "multiboot2/constants/information_id.hpp" -#include "multiboot2/information/tag.hpp" +#include +#include #include #include diff --git a/libs/multiboot2/multiboot2/information/tag.hpp b/libs/multiboot2/multiboot2/information/tag.hpp index 8d907901..0c292994 100644 --- a/libs/multiboot2/multiboot2/information/tag.hpp +++ b/libs/multiboot2/multiboot2/information/tag.hpp @@ -3,7 +3,7 @@ // IWYU pragma: private, include -#include "multiboot2/constants/information_id.hpp" +#include #include #include -- cgit v1.2.3