aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-08-20 15:08:38 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-08-20 15:08:38 +0200
commit51bd0daba2fa3cd42242b2c07cf4851bc7845fb1 (patch)
tree66217854d939dee1e20d6972ae996bca12aed458 /arch/x86_64
parent9638a27c37f1f85625d9b3681792fce37fb935af (diff)
downloadkernel-51bd0daba2fa3cd42242b2c07cf4851bc7845fb1.tar.xz
kernel-51bd0daba2fa3cd42242b2c07cf4851bc7845fb1.zip
chore: clean up some more doc comments
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/arch/vga/text/attribute.hpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/x86_64/arch/vga/text/attribute.hpp b/arch/x86_64/arch/vga/text/attribute.hpp
index 6395aed0..29ff22b7 100644
--- a/arch/x86_64/arch/vga/text/attribute.hpp
+++ b/arch/x86_64/arch/vga/text/attribute.hpp
@@ -17,10 +17,14 @@ namespace arch::vga::text
//! @see text::background_flag
struct attribute
{
- color foreground_color : 3; ///< The foreground color of the cell, e.g. the color of the code point.
- enum foreground_flag foreground_flag : 1; ///< The foreground color modification flag of the cell.
- color background_color : 3; ///< The background color of the cell.
- enum background_flag background_flag : 1; ///< The background color modification flag of the cell.
+ //! The foreground color of the cell, e.g. the color of the code point.
+ color foreground_color : 3;
+ //! The foreground color modification flag of the cell.
+ enum foreground_flag foreground_flag : 1;
+ //! The background color of the cell.
+ color background_color : 3;
+ //! The background color modification flag of the cell.
+ enum background_flag background_flag : 1;
};
static_assert(sizeof(attribute) == 1, "The VGA text mode attribute must fit inside a single byte.");