diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-12-22 14:53:33 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-12-22 14:53:33 +0100 |
| commit | b4ff67c8a9bebd99eb3c06ea141fe0f1b8feb5a4 (patch) | |
| tree | 3730f8ea9c880d97e3a63426fac9939976c39921 /arch/x86_64/include | |
| parent | 5c01134b95fc83b485720c3d06ef0284e4ba8568 (diff) | |
| download | teachos-b4ff67c8a9bebd99eb3c06ea141fe0f1b8feb5a4.tar.xz teachos-b4ff67c8a9bebd99eb3c06ea141fe0f1b8feb5a4.zip | |
chore: clean up linter warnings
Diffstat (limited to 'arch/x86_64/include')
5 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86_64/include/x86_64/cpu/control_register.hpp b/arch/x86_64/include/x86_64/cpu/control_register.hpp index e626b3b..9c3bad5 100644 --- a/arch/x86_64/include/x86_64/cpu/control_register.hpp +++ b/arch/x86_64/include/x86_64/cpu/control_register.hpp @@ -10,6 +10,7 @@ #include <cstdint> #include <string_view> #include <type_traits> +#include <utility> namespace teachos::cpu::x86_64 { diff --git a/arch/x86_64/include/x86_64/cpu/registers.hpp b/arch/x86_64/include/x86_64/cpu/registers.hpp index 8eb89e3..3ddd539 100644 --- a/arch/x86_64/include/x86_64/cpu/registers.hpp +++ b/arch/x86_64/include/x86_64/cpu/registers.hpp @@ -1,6 +1,8 @@ #ifndef TEACHOS_X86_64_CPU_REGISTERS_HPP #define TEACHOS_X86_64_CPU_REGISTERS_HPP +#include "kapi/memory.hpp" + #include "x86_64/cpu/control_register.hpp" // IWYU pragma: export #include "x86_64/cpu/model_specific_register.hpp" // IWYU pragma: export diff --git a/arch/x86_64/include/x86_64/memory/kernel_mapper.hpp b/arch/x86_64/include/x86_64/memory/kernel_mapper.hpp index 5b9c2fd..c393d73 100644 --- a/arch/x86_64/include/x86_64/memory/kernel_mapper.hpp +++ b/arch/x86_64/include/x86_64/memory/kernel_mapper.hpp @@ -7,6 +7,7 @@ #include <elf/section_header.hpp> #include <multiboot2/information.hpp> +#include <cstdint> #include <string_view> namespace teachos::memory::x86_64 diff --git a/arch/x86_64/include/x86_64/memory/recursive_page_mapper.hpp b/arch/x86_64/include/x86_64/memory/recursive_page_mapper.hpp index dc52065..819f404 100644 --- a/arch/x86_64/include/x86_64/memory/recursive_page_mapper.hpp +++ b/arch/x86_64/include/x86_64/memory/recursive_page_mapper.hpp @@ -3,6 +3,8 @@ #include "kapi/memory.hpp" +#include <cstddef> + namespace teachos::memory::x86_64 { diff --git a/arch/x86_64/include/x86_64/vga/crtc.hpp b/arch/x86_64/include/x86_64/vga/crtc.hpp index d4b4f51..fde69c2 100644 --- a/arch/x86_64/include/x86_64/vga/crtc.hpp +++ b/arch/x86_64/include/x86_64/vga/crtc.hpp @@ -12,13 +12,11 @@ namespace teachos::vga::x86_64::crtc /** * @brief The address port of the CRT Controller. */ - // NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers) using address = io::port<0x3d4, std::byte, io::port_write>; /** * @brief The data port of the CRT Controller. */ - // NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers) using data = io::port<0x3d5, std::byte, io::port_read, io::port_write>; namespace registers |
