aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2024-10-26 11:30:01 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2024-10-26 11:30:01 +0000
commit454dcb6f2033ee80a43f99d23323b02e8fd0a115 (patch)
treebe20c2197834150c9c4ee20527a59707135c364c /arch
parent9954cff61ce56f9e68eefa24a5d838f935515f6c (diff)
downloadteachos-454dcb6f2033ee80a43f99d23323b02e8fd0a115.tar.xz
teachos-454dcb6f2033ee80a43f99d23323b02e8fd0a115.zip
add doc
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/src/memory/paging/page_table.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86_64/src/memory/paging/page_table.cpp b/arch/x86_64/src/memory/paging/page_table.cpp
index 059ada2..14ead9e 100644
--- a/arch/x86_64/src/memory/paging/page_table.cpp
+++ b/arch/x86_64/src/memory/paging/page_table.cpp
@@ -3,6 +3,10 @@
#include <array>
#include <memory>
+/*
+ * This is a linker variable reference. This referenc cannot reside inside a namespace, because in
+ * that case the compiler would try to find arch::memory::paging::_end_of_image inside the ELF file.
+ */
extern char _end_of_image;
namespace teachos::arch::memory::paging