aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-01-16 14:21:25 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-01-16 14:21:25 +0100
commitf7fc4cb67c8c7c6ec1833f6ac6f0ad3a2837251d (patch)
tree0ccd26ebaf5fb288892b763fff496daae25c7f65 /arch/x86_64/include
parent159bdd2cac3f967c31c2f416fbc542e0277ec860 (diff)
downloadteachos-f7fc4cb67c8c7c6ec1833f6ac6f0ad3a2837251d.tar.xz
teachos-f7fc4cb67c8c7c6ec1833f6ac6f0ad3a2837251d.zip
x86_64: fixup some documentation
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/arch/boot/boot.hpp42
1 files changed, 14 insertions, 28 deletions
diff --git a/arch/x86_64/include/arch/boot/boot.hpp b/arch/x86_64/include/arch/boot/boot.hpp
index 71e8a70..3a598f5 100644
--- a/arch/x86_64/include/arch/boot/boot.hpp
+++ b/arch/x86_64/include/arch/boot/boot.hpp
@@ -1,48 +1,34 @@
-#ifndef TEACHOS_X86_64_BOOT_BOOT_H
-#define TEACHOS_X86_64_BOOT_BOOT_H
+#ifndef TEACHOS_X86_64_BOOT_BOOT_HPP
+#define TEACHOS_X86_64_BOOT_BOOT_HPP
#ifdef __ASSEMBLER__
-/* clang-format off */
-/**
- * @brief The number of huge pages to map during bootstrap.
- */
+// clang-format off
+
+//! The number of huge pages to map during bootstrap.
#define HUGE_PAGES_TO_MAP (16)
-/**
- * @brief The magic value to be set in eax by the multiboot 2 loader.
- */
+//! The magic value to be set in eax by the multiboot 2 loader.
#define MULTIBOOT2_MAGIC (0x36d76289)
-/**
- * @brief The "A" bit in a GDT entry.
- */
+//! The "A" bit in a GDT entry.
#define GDT_ACCESSED (1 << 40)
-/**
- * @brief The "R/W" bit in a GDT entry
- */
+//! The "R/W" bit in a GDT entry
#define GDT_READ_WRITE (1 << 41)
-/**
- * @brief The "E" bit in a GDT entry.
- */
+//! The "E" bit in a GDT entry.
#define GDT_EXECUTABLE (1 << 43)
-/**
- * @brief The "S" bit in a GDT entry.
- */
+//! The "S" bit in a GDT entry.
#define GDT_DESCRIPTOR_TYPE (1 << 44)
-/**
- * @brief The "P" bit in a GDT entry.
- */
+//! The "P" bit in a GDT entry.
#define GDT_PRESENT (1 << 47)
-/**
- * @brief The "L" bit in a GDT entry.
- */
+//! The "L" bit in a GDT entry.
#define GDT_LONG_MODE (1 << 53)
-/* clang-format on */
+
+// clang-format on
#else
#include "kapi/boot.hpp" // IWYU pragma: export