Refactor page_type to rename PAGE_FILE to PAGE_EXECUTABLE as mmap and executables are now separate

This commit is contained in:
sBubshait
2024-12-06 16:22:26 +00:00
parent c1bc70adad
commit 7f058ffc90
3 changed files with 3 additions and 3 deletions

View File

@@ -289,7 +289,7 @@ fetch_page (void *upage, bool write)
bool success = false;
switch (page->type) {
case PAGE_MMAP:
case PAGE_FILE:
case PAGE_EXECUTABLE:
case PAGE_SHARED:
success = page_load_file (page);
break;