From bfe60f1c0f316cc512dd61f82667e59b284d3271 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 13 Jul 2025 14:17:21 +0000 Subject: build: update toolchain --- arch/x86_64/src/video/vga/text.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/x86_64/src/video/vga/text.cpp b/arch/x86_64/src/video/vga/text.cpp index 0137ddb..b070a0a 100644 --- a/arch/x86_64/src/video/vga/text.cpp +++ b/arch/x86_64/src/video/vga/text.cpp @@ -7,6 +7,8 @@ #include #include +extern "C" std::pair * vga_buffer_pointer; + namespace teachos::arch::video::vga::text { namespace @@ -14,7 +16,6 @@ namespace teachos::arch::video::vga::text auto constexpr DEFAULT_TEXT_BUFFER_WIDTH = 80U; auto constexpr DEFAULT_TEXT_BUFFER_HEIGHT = 25U; - extern "C" std::pair * vga_buffer_pointer; auto constinit text_buffer = teachos::memory::asm_pointer{vga_buffer_pointer}; } // namespace -- cgit v1.2.3