Support anonymous MAP_SHARED mmaps.

This commit is contained in:
4lDO2
2023-07-06 10:54:51 +02:00
parent 70b4d99c96
commit afa3d7dc7b
3 changed files with 119 additions and 47 deletions
+1
View File
@@ -546,6 +546,7 @@ pub unsafe fn usermode_bootstrap(bootstrap: &Bootstrap) -> ! {
PageFlags::new().user(true).write(true).execute(true),
&mut addr_space.table.utable,
PageFlushAll::new(),
false, // is_shared
).expect("failed to physmap bootstrap memory"));
}