[kernel] Make sure all vma types have (virtual) dtors

This commit is contained in:
Justin C. Miller
2021-02-07 23:45:07 -08:00
parent c88170f6e0
commit 72787c0652
2 changed files with 9 additions and 6 deletions

View File

@@ -114,6 +114,7 @@ public:
/// \arg size Initial virtual size of the memory area
/// \arg flags Flags for this memory area
vm_area_open(size_t size, vm_flags flags);
virtual ~vm_area_open();
virtual bool get_page(uintptr_t offset, uintptr_t &phys) override;
@@ -155,6 +156,8 @@ public:
size_t size,
vm_flags flags);
virtual ~vm_area_guarded();
/// Get an available section in this area
uintptr_t get_section();