summaryrefslogtreecommitdiffhomepage
path: root/newBoot/BootKit
diff options
context:
space:
mode:
Diffstat (limited to 'newBoot/BootKit')
-rw-r--r--newBoot/BootKit/Boot.hpp19
1 files changed, 13 insertions, 6 deletions
diff --git a/newBoot/BootKit/Boot.hpp b/newBoot/BootKit/Boot.hpp
index fabc6186..af86ce4c 100644
--- a/newBoot/BootKit/Boot.hpp
+++ b/newBoot/BootKit/Boot.hpp
@@ -22,9 +22,13 @@ enum
kSegmentBss = 6,
};
-class BTextWriter final
+/**
+ * @brief BootKit Text Writer class
+ * Writes to VGA.
+ */
+class BKTextWriter final
{
- volatile UInt16* fWhere;
+ volatile UInt16* fWhere{ nullptr };
public:
void WriteString(const char* c,
@@ -40,12 +44,12 @@ public:
int y);
public:
- BTextWriter() = default;
- ~BTextWriter() = default;
+ BKTextWriter() = default;
+ ~BKTextWriter() = default;
public:
- BTextWriter& operator=(const BTextWriter&) = default;
- BTextWriter(const BTextWriter&) = default;
+ BKTextWriter& operator=(const BKTextWriter&) = default;
+ BKTextWriter(const BKTextWriter&) = default;
};
@@ -68,3 +72,6 @@ enum
kYellow,
kWhite,
};
+
+#define BK_START_KERNEL (0x00080000)
+