[Zion] Mark pages as not present before calling invlpg.
This commit is contained in:
parent
1f8085f791
commit
815a603c1c
6 changed files with 48 additions and 17 deletions
|
|
@ -29,5 +29,6 @@ z_err_t AddressSpaceUnmap(ZAddressSpaceUnmapReq* req) {
|
|||
RET_ERR(ValidateCapability<AddressSpace>(vmas_cap, kZionPerm_Write));
|
||||
|
||||
auto vmas = vmas_cap->obj<AddressSpace>();
|
||||
return vmas->FreeAddressRange(req->lower_addr, req->upper_addr);
|
||||
return vmas->FreeAddressRange(req->lower_addr, req->upper_addr,
|
||||
/* is_dying_proc= */ true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue