mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-23 07:28:13 +00:00
kernel: split Io memory state, add PermissionLocked attribute
This commit is contained in:
parent
c9dab6d0c1
commit
144ae38fb3
5 changed files with 116 additions and 92 deletions
|
@ -46,7 +46,7 @@ Result AllocateIoForProcessAddressSpace(Common::ProcessAddress* out_map_address,
|
|||
// Get bounds of where mapping is possible.
|
||||
const VAddr alias_code_begin = GetInteger(page_table.GetAliasCodeRegionStart());
|
||||
const VAddr alias_code_size = page_table.GetAliasCodeRegionSize() / YUZU_PAGESIZE;
|
||||
const auto state = Kernel::KMemoryState::Io;
|
||||
const auto state = Kernel::KMemoryState::IoMemory;
|
||||
const auto perm = Kernel::KMemoryPermission::UserReadWrite;
|
||||
std::mt19937_64 rng{process->GetRandomEntropy(0)};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue