diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-10 09:34:21 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-10 09:34:21 +0000 |
| commit | edc11135d83ef1f8fcbc1575a290b31ccbdb7e07 (patch) | |
| tree | b4d151d94316a467a21a5aa0f344a59cbd2f59cb /arch/x86_64/src/memory/paging | |
| parent | 4c030cbaee174a9f7f42d4f5ca7ddf6debbbe048 (diff) | |
| download | teachos-edc11135d83ef1f8fcbc1575a290b31ccbdb7e07.tar.xz teachos-edc11135d83ef1f8fcbc1575a290b31ccbdb7e07.zip | |
Identity map memory map and vga text buffer,w hen setting up kernel
Diffstat (limited to 'arch/x86_64/src/memory/paging')
| -rw-r--r-- | arch/x86_64/src/memory/paging/page_entry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/memory/paging/page_entry.cpp b/arch/x86_64/src/memory/paging/page_entry.cpp index f13e645..aae5013 100644 --- a/arch/x86_64/src/memory/paging/page_entry.cpp +++ b/arch/x86_64/src/memory/paging/page_entry.cpp @@ -55,5 +55,5 @@ namespace teachos::arch::memory::paging flags = frame.start_address() | additional_flags.to_ulong(); } - auto entry::get_flags() -> std::bitset<64U> { return flags.to_ulong() & ~PHYSICAL_ADDRESS_MASK; } + auto entry::get_flags() const -> std::bitset<64U> { return flags.to_ulong() & ~PHYSICAL_ADDRESS_MASK; } } // namespace teachos::arch::memory::paging |
