diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-27 11:29:36 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-27 11:29:36 +0000 |
| commit | becb1ce0abdaf4e6ad08bb6db7c706dd13a1294b (patch) | |
| tree | bbb53d9bd6e98c6a69ec90eb20173e9fb1120d53 /arch | |
| parent | f8b1a0d9e8431393e1b47af87780c96729100a40 (diff) | |
| download | teachos-becb1ce0abdaf4e6ad08bb6db7c706dd13a1294b.tar.xz teachos-becb1ce0abdaf4e6ad08bb6db7c706dd13a1294b.zip | |
Fix typo
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/x86_64/include/arch/memory/paging/page_mapper.hpp | 2 |
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); } |
