mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
[rpcsx-os] implement sys_query_memory_protection
This commit is contained in:
parent
5edfdb037c
commit
0c59167c38
8 changed files with 95 additions and 11 deletions
|
|
@ -299,7 +299,14 @@ orbis::SysResult orbis::sys_evf_cancel(Thread *thread, sint id, uint64_t value,
|
|||
}
|
||||
return {};
|
||||
}
|
||||
orbis::SysResult orbis::sys_query_memory_protection(Thread *thread /* TODO */) {
|
||||
orbis::SysResult
|
||||
orbis::sys_query_memory_protection(Thread *thread, ptr<void> address,
|
||||
ptr<MemoryProtection> protection) {
|
||||
if (auto query_memory_protection =
|
||||
thread->tproc->ops->query_memory_protection) {
|
||||
return query_memory_protection(thread, address, protection);
|
||||
}
|
||||
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult orbis::sys_batch_map(Thread *thread /* TODO */) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue