mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +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
13
orbis-kernel/include/orbis/vm.hpp
Normal file
13
orbis-kernel/include/orbis/vm.hpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include "orbis-config.hpp"
|
||||
|
||||
namespace orbis {
|
||||
struct MemoryProtection {
|
||||
uint64_t startAddress;
|
||||
uint64_t endAddress;
|
||||
int32_t prot;
|
||||
};
|
||||
|
||||
static_assert(sizeof(MemoryProtection) == 24);
|
||||
} // namespace orbis
|
||||
Loading…
Add table
Add a link
Reference in a new issue