Merge branch 'vm/memory-mapped-files' into vm/virtual-memory/saleh
This commit is contained in:
@@ -259,7 +259,7 @@ try_fetch_page (void *upage, bool write)
|
||||
/* Load the page into memory based on the type of data it is expecting. */
|
||||
bool success = false;
|
||||
switch (page->type) {
|
||||
case PAGE_EXECUTABLE:
|
||||
case PAGE_FILE:
|
||||
success = page_load (page, page->writable);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user