diff options
| author | 2023-10-11 10:24:48 -0400 | |
|---|---|---|
| committer | 2023-10-20 02:34:15 -0400 | |
| commit | 794e6c7a96dbca24780a4301ea439db7a532acc3 (patch) | |
| tree | ee48ba26791d7c73cefb06997adcfc0d41389f35 /src/core/hle/service | |
| parent | kernel: reshuffle ini1 size, add slab clear note (diff) | |
| download | yuzu-794e6c7a96dbca24780a4301ea439db7a532acc3.tar.gz yuzu-794e6c7a96dbca24780a4301ea439db7a532acc3.tar.xz yuzu-794e6c7a96dbca24780a4301ea439db7a532acc3.zip | |
kernel: split Io memory state, add PermissionLocked attribute
Diffstat (limited to 'src/core/hle/service')
| -rw-r--r-- | src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp index 469a53244..2e29bc848 100644 --- a/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp +++ b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp | |||
| @@ -46,7 +46,7 @@ Result AllocateIoForProcessAddressSpace(Common::ProcessAddress* out_map_address, | |||
| 46 | // Get bounds of where mapping is possible. | 46 | // Get bounds of where mapping is possible. |
| 47 | const VAddr alias_code_begin = GetInteger(page_table.GetAliasCodeRegionStart()); | 47 | const VAddr alias_code_begin = GetInteger(page_table.GetAliasCodeRegionStart()); |
| 48 | const VAddr alias_code_size = page_table.GetAliasCodeRegionSize() / YUZU_PAGESIZE; | 48 | const VAddr alias_code_size = page_table.GetAliasCodeRegionSize() / YUZU_PAGESIZE; |
| 49 | const auto state = Kernel::KMemoryState::Io; | 49 | const auto state = Kernel::KMemoryState::IoMemory; |
| 50 | const auto perm = Kernel::KMemoryPermission::UserReadWrite; | 50 | const auto perm = Kernel::KMemoryPermission::UserReadWrite; |
| 51 | std::mt19937_64 rng{process->GetRandomEntropy(0)}; | 51 | std::mt19937_64 rng{process->GetRandomEntropy(0)}; |
| 52 | 52 | ||