diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-28 08:33:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-28 08:33:11 +0100 |
commit | 9a0648ff0ad38195d7211b8c65d82b93fe123949 (patch) | |
tree | 65389f6208ea88028e095dc65e881b733c7402de /src/core/hle/kernel/k_page_table.h | |
parent | Merge pull request #7630 from ameerj/glasm-get-int (diff) | |
parent | core: hle: kernel: Implement SetMemoryPermission. (diff) | |
download | yuzu-9a0648ff0ad38195d7211b8c65d82b93fe123949.tar yuzu-9a0648ff0ad38195d7211b8c65d82b93fe123949.tar.gz yuzu-9a0648ff0ad38195d7211b8c65d82b93fe123949.tar.bz2 yuzu-9a0648ff0ad38195d7211b8c65d82b93fe123949.tar.lz yuzu-9a0648ff0ad38195d7211b8c65d82b93fe123949.tar.xz yuzu-9a0648ff0ad38195d7211b8c65d82b93fe123949.tar.zst yuzu-9a0648ff0ad38195d7211b8c65d82b93fe123949.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_page_table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_page_table.h b/src/core/hle/kernel/k_page_table.h index d784aa67e..db08ea8ce 100644 --- a/src/core/hle/kernel/k_page_table.h +++ b/src/core/hle/kernel/k_page_table.h @@ -47,6 +47,7 @@ public: KMemoryInfo QueryInfo(VAddr addr); ResultCode ReserveTransferMemory(VAddr addr, std::size_t size, KMemoryPermission perm); ResultCode ResetTransferMemory(VAddr addr, std::size_t size); + ResultCode SetMemoryPermission(VAddr addr, std::size_t size, Svc::MemoryPermission perm); ResultCode SetMemoryAttribute(VAddr addr, std::size_t size, KMemoryAttribute mask, KMemoryAttribute value); ResultCode SetHeapCapacity(std::size_t new_heap_capacity); |