From 454dcb6f2033ee80a43f99d23323b02e8fd0a115 Mon Sep 17 00:00:00 2001 From: Fabian Imhof Date: Sat, 26 Oct 2024 11:30:01 +0000 Subject: add doc --- arch/x86_64/src/memory/paging/page_table.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/x86_64/src/memory') 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 #include +/* + * 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 -- cgit v1.2.3