aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-03-08 22:39:16 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-03-09 10:13:26 +0200
commit170f3c0fe5def46c4d287a385e2354536fc5f693 (patch)
tree790bb4fc6b796894b1d1df3bf5d33f09d198bc1c /drivers
parentMove multiboot header to its own section (diff)
downloadkernel.cpp-170f3c0fe5def46c4d287a385e2354536fc5f693.tar.xz
Map kernel to higher half
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cga.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cga.cc b/drivers/cga.cc
index 0646ff7..6589cee 100644
--- a/drivers/cga.cc
+++ b/drivers/cga.cc
@@ -21,8 +21,7 @@ constexpr uint8_t cursor_addr_l = 15; // 0xf
* 1 1 | blink fast
*/
constexpr uint8_t cursor_hide = 0b00100000;
-
-constexpr uint32_t address = 0xB8000;
+constexpr uint32_t address = 0xc03ff000;
CGA::CGA() {
buffer = reinterpret_cast<Entry*>(address);