diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2024-10-26 11:30:01 +0000 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2024-10-26 11:30:01 +0000 |
| commit | 454dcb6f2033ee80a43f99d23323b02e8fd0a115 (patch) | |
| tree | be20c2197834150c9c4ee20527a59707135c364c /arch | |
| parent | 9954cff61ce56f9e68eefa24a5d838f935515f6c (diff) | |
| download | teachos-454dcb6f2033ee80a43f99d23323b02e8fd0a115.tar.xz teachos-454dcb6f2033ee80a43f99d23323b02e8fd0a115.zip | |
add doc
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/x86_64/src/memory/paging/page_table.cpp | 4 |
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 |
