mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +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
|
|
@ -75,6 +75,6 @@ bool protect(void *addr, std::uint64_t size, std::int32_t prot);
|
|||
|
||||
bool virtualQuery(const void *addr, std::int32_t flags, VirtualQueryInfo *info);
|
||||
bool queryProtection(const void *addr, std::uint64_t *startAddress,
|
||||
std::uint64_t *endAddress, std::int64_t *prot);
|
||||
std::uint64_t *endAddress, std::int32_t *prot);
|
||||
unsigned getPageProtection(std::uint64_t address);
|
||||
} // namespace rx::vm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue