aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/vga/text/buffer.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-01-16 13:36:38 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-01-16 13:36:38 +0100
commit7d6f0ed063790042a808f4bf07c50d308b3f2de4 (patch)
tree1a2e1c4ed7e2f3d8e6cdcfb012e554d1a4eb1e5a /arch/x86_64/src/vga/text/buffer.cpp
parent9750405757396d006ab6992fb93baf414b3e2ae8 (diff)
downloadteachos-7d6f0ed063790042a808f4bf07c50d308b3f2de4.tar.xz
teachos-7d6f0ed063790042a808f4bf07c50d308b3f2de4.zip
chore: restructure namespaces
Diffstat (limited to 'arch/x86_64/src/vga/text/buffer.cpp')
-rw-r--r--arch/x86_64/src/vga/text/buffer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86_64/src/vga/text/buffer.cpp b/arch/x86_64/src/vga/text/buffer.cpp
index 2dcf084..7112573 100644
--- a/arch/x86_64/src/vga/text/buffer.cpp
+++ b/arch/x86_64/src/vga/text/buffer.cpp
@@ -1,6 +1,6 @@
-#include "x86_64/vga/text/buffer.hpp"
+#include "arch/vga/text/buffer.hpp"
-#include "x86_64/vga/text/attribute.hpp"
+#include "arch/vga/text/attribute.hpp"
#include <algorithm>
#include <bit>
@@ -9,7 +9,7 @@
#include <string_view>
#include <utility>
-namespace teachos::vga::x86_64::text
+namespace arch::vga::text
{
buffer::buffer(std::size_t width, std::size_t height, cell * start, std::size_t position)
: m_width{width}
@@ -98,4 +98,4 @@ namespace teachos::vga::x86_64::text
m_buffer[m_position++] = std::pair{code_point, std::bit_cast<std::byte>(attribute)};
}
-} // namespace teachos::vga::x86_64::text
+} // namespace arch::vga::text