Implement sys_vm_invalidate

This commit is contained in:
Nekotekina 2018-04-07 21:18:34 +03:00
parent 0797164fac
commit c77b310422

View File

@ -102,8 +102,9 @@ error_code sys_vm_flush(u32 addr, u32 size)
error_code sys_vm_invalidate(u32 addr, u32 size)
{
sys_vm.todo("sys_vm_invalidate(addr=0x%x, size=0x%x)", addr, size);
sys_vm.warning("sys_vm_invalidate(addr=0x%x, size=0x%x)", addr, size);
std::memset(vm::base(addr), 0, size);
return CELL_OK;
}