aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2024-10-27 11:29:36 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2024-10-27 11:29:36 +0000
commitbecb1ce0abdaf4e6ad08bb6db7c706dd13a1294b (patch)
treebbb53d9bd6e98c6a69ec90eb20173e9fb1120d53
parentf8b1a0d9e8431393e1b47af87780c96729100a40 (diff)
downloadteachos-becb1ce0abdaf4e6ad08bb6db7c706dd13a1294b.tar.xz
teachos-becb1ce0abdaf4e6ad08bb6db7c706dd13a1294b.zip
Fix typo
-rw-r--r--arch/x86_64/include/arch/memory/paging/page_mapper.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/include/arch/memory/paging/page_mapper.hpp b/arch/x86_64/include/arch/memory/paging/page_mapper.hpp
index 4905e9e..7a8e2c9 100644
--- a/arch/x86_64/include/arch/memory/paging/page_mapper.hpp
+++ b/arch/x86_64/include/arch/memory/paging/page_mapper.hpp
@@ -95,7 +95,7 @@ namespace teachos::arch::memory::paging
auto map_next_free_page_to_frame(T & allocator, virtual_page page, std::bitset<64U> flags) -> void
{
auto frame = allocator.allocate_frame();
- exception_handling::assert(!frame.has_value(), "[Page mapper] Out of memory exception");
+ exception_handling::assert(frame.has_value(), "[Page mapper] Out of memory exception");
map_page_to_frame(allocator, page, frame.value(), flags);
}