mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Implement utils::memory_lock
This commit is contained in:
parent
d1988d384c
commit
e98eb4659e
2 changed files with 12 additions and 0 deletions
|
@ -39,6 +39,9 @@ namespace utils
|
|||
// Set memory protection
|
||||
void memory_protect(void* pointer, std::size_t size, protection prot);
|
||||
|
||||
// Lock pages in memory
|
||||
void memory_lock(void* pointer, std::size_t size);
|
||||
|
||||
// Shared memory handle
|
||||
class shm
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue