From 95d8c279bf945c99ef207c12de3ab6a2bc14f380 Mon Sep 17 00:00:00 2001 From: Fabian Imhof Date: Sun, 3 Nov 2024 14:57:06 +0000 Subject: construct virtual_page using containing_address --- arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch') 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 frame_container; -- cgit v1.2.3