mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +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
|
|
@ -10,6 +10,7 @@ struct Thread;
|
|||
struct Module;
|
||||
struct timespec;
|
||||
struct File;
|
||||
struct MemoryProtection;
|
||||
|
||||
struct ProcessOps {
|
||||
SysResult (*mmap)(Thread *thread, caddr_t addr, size_t len, sint prot,
|
||||
|
|
@ -32,6 +33,8 @@ struct ProcessOps {
|
|||
SysResult (*munlock)(Thread *thread, ptr<const void> addr, size_t len);
|
||||
SysResult (*virtual_query)(Thread *thread, ptr<const void> addr, sint flags,
|
||||
ptr<void> info, ulong infoSize);
|
||||
SysResult (*query_memory_protection)(Thread *thread, ptr<void> address,
|
||||
ptr<MemoryProtection> protection);
|
||||
|
||||
SysResult (*open)(Thread *thread, ptr<const char> path, sint flags, sint mode,
|
||||
Ref<File> *file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue