ptos/amd64+hal: Add page unmap interface

Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
2026-07-11 05:18:36 -04:00
parent 770ffe39ac
commit e03a6d0e91
2 changed files with 39 additions and 0 deletions
+12
View File
@@ -52,4 +52,16 @@ PT_STATUS HalMmuMapPage(
MMU_PAGESIZE PageSize
);
/*
* Unmap a single page of memory
*
* @Vas: Virtual address space to unmap within
* @VirtualBase: Virtual address to unmap
* @PageSize: Page size to unmap
*/
PT_STATUS HalMmuUnmapPage(
MMU_VAS *Vas, UPTR VirtualBase,
MMU_PAGESIZE PageSize
);
#endif /* !_HAL_MMU_H_ */