mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
[rpcsx-os] implement sys_dmem_mmap
This commit is contained in:
parent
6c1580f17c
commit
cd7b842c60
7 changed files with 76 additions and 15 deletions
|
|
@ -14,6 +14,9 @@ struct File;
|
|||
struct ProcessOps {
|
||||
SysResult (*mmap)(Thread *thread, caddr_t addr, size_t len, sint prot,
|
||||
sint flags, sint fd, off_t pos);
|
||||
SysResult (*dmem_mmap)(Thread *thread, caddr_t addr, size_t len,
|
||||
sint memoryType, sint prot, sint flags,
|
||||
off_t directMemoryStart);
|
||||
SysResult (*munmap)(Thread *thread, ptr<void> addr, size_t len);
|
||||
SysResult (*msync)(Thread *thread, ptr<void> addr, size_t len, sint flags);
|
||||
SysResult (*mprotect)(Thread *thread, ptr<const void> addr, size_t len,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue