diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2023-10-11 15:37:06 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2023-10-11 15:37:06 +0200 |
| commit | 6e1d10528b1c04c34c57995c85b45448715767f2 (patch) | |
| tree | 08531be2d19fc666a23d96371c8e91aab97ce53f /source/include/memory | |
| parent | 74eaee0fcc7390d4290b41a2a92ee34346e2f7c2 (diff) | |
| download | teachos-6e1d10528b1c04c34c57995c85b45448715767f2.tar.xz teachos-6e1d10528b1c04c34c57995c85b45448715767f2.zip | |
x86_64: vga: improve text printing code
Diffstat (limited to 'source/include/memory')
| -rw-r--r-- | source/include/memory/asm_pointer.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/include/memory/asm_pointer.hpp b/source/include/memory/asm_pointer.hpp index ec7141e..b2e890c 100644 --- a/source/include/memory/asm_pointer.hpp +++ b/source/include/memory/asm_pointer.hpp @@ -7,6 +7,8 @@ namespace teachos::boot template<typename Type> struct asm_pointer { + using pointer = Type; + constexpr asm_pointer(Type & pointer) : m_pointer{&pointer} { |
