mirror of
https://github.com/Alvin-Zilverstand/bob16.git
synced 2026-11-29 06:07:49 +01:00
d
d
This commit is contained in:
1 parent
3d06f94e48
commit
57787bfc7f
59 files changed
+9967
-410
No files matched your search
+8
-1
@@ -192,7 +192,14 @@ int bob64_page_map_range(BOB64_PAGE_TABLE *table,u64 virtual_address,
|
||||
for(u64 i=0;i<pages;i++) {
|
||||
int result=bob64_page_map(table,virtual_page+i*BOB64_PAGE_SIZE,
|
||||
physical_page+i*BOB64_PAGE_SIZE,flags);
|
||||
if(result)return result;
|
||||
if(result) {
|
||||
while(i) {
|
||||
i--;
|
||||
(void)bob64_page_unmap(table,
|
||||
virtual_page+i*BOB64_PAGE_SIZE,0,0);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user