aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-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.");