diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2024-11-03 14:57:06 +0000 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2024-11-03 14:57:06 +0000 |
| commit | 95d8c279bf945c99ef207c12de3ab6a2bc14f380 (patch) | |
| tree | 57a06bb1ea97977bf2318c3472a90698995d0208 /arch | |
| parent | e20b9a2acd77ab6df00ee4a9390aaef8c6941dc6 (diff) | |
| download | teachos-95d8c279bf945c99ef207c12de3ab6a2bc14f380.tar.xz teachos-95d8c279bf945c99ef207c12de3ab6a2bc14f380.zip | |
construct virtual_page using containing_address
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp b/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp index 54ec682..2dd0387 100644 --- a/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp +++ b/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp @@ -9,7 +9,7 @@ namespace teachos::arch::memory::paging { namespace { - virtual_page constexpr UNUSED_VIRTUAL_PAGE{0xCAFEBABE}; + virtual_page UNUSED_VIRTUAL_PAGE = virtual_page::containing_address(0xCAFEBABE); } // namespace typedef shared::container<allocator::physical_frame_iterator> frame_container; |
