diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-12-03 20:40:54 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-12-03 20:40:54 +0100 |
| commit | f3dd2b2f5bd1b5dd4d4309a30db3c7733b8f63bb (patch) | |
| tree | e8f6008c359f5c67fd0aeed47063356483c99203 /arch/x86_64/include | |
| parent | 448632c3c9c919e8eda44e8a83082f60983057b7 (diff) | |
| download | teachos-f3dd2b2f5bd1b5dd4d4309a30db3c7733b8f63bb.tar.xz teachos-f3dd2b2f5bd1b5dd4d4309a30db3c7733b8f63bb.zip | |
x86_64/memory: only deallocate allocated frames
Diffstat (limited to 'arch/x86_64/include')
| -rw-r--r-- | arch/x86_64/include/x86_64/memory/scoped_mapping.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/include/x86_64/memory/scoped_mapping.hpp b/arch/x86_64/include/x86_64/memory/scoped_mapping.hpp index dff54ec..99585bc 100644 --- a/arch/x86_64/include/x86_64/memory/scoped_mapping.hpp +++ b/arch/x86_64/include/x86_64/memory/scoped_mapping.hpp @@ -57,6 +57,7 @@ namespace teachos::memory::x86_64 page m_page; frame_allocator * m_allocator; bool m_mapped; + std::uint8_t m_allocated; }; } // namespace teachos::memory::x86_64 |
