Feat: implement page_get_swap and page_set_swap functions

This commit is contained in:
EDiasAlberto
2024-11-30 03:21:34 +00:00
parent 40c553d68b
commit 94adc11f03
3 changed files with 25 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ pagedir_destroy (uint32_t *pd)
on CREATE. If CREATE is true, then a new page table is
created and a pointer into it is returned. Otherwise, a null
pointer is returned. */
static uint32_t *
uint32_t *
lookup_page (uint32_t *pd, const void *vaddr, bool create)
{
uint32_t *pt, *pde;