diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-13 14:17:21 +0000 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-13 14:17:21 +0000 |
| commit | bfe60f1c0f316cc512dd61f82667e59b284d3271 (patch) | |
| tree | 50d70c015197be75d2829b8666e2135cb034a9a0 /arch/x86_64/src | |
| parent | 3a7a596299580a3fd7d8b61f3ec34a3c0bfc5a3c (diff) | |
| download | teachos-bfe60f1c0f316cc512dd61f82667e59b284d3271.tar.xz teachos-bfe60f1c0f316cc512dd61f82667e59b284d3271.zip | |
build: update toolchain
Diffstat (limited to 'arch/x86_64/src')
| -rw-r--r-- | arch/x86_64/src/video/vga/text.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 <string_view> #include <utility> +extern "C" std::pair<char, teachos::arch::video::vga::text::attribute> * 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<char, attribute> * vga_buffer_pointer; auto constinit text_buffer = teachos::memory::asm_pointer{vga_buffer_pointer}; } // namespace |
