This commit is contained in:
Antonio 2024-09-04 16:14:57 -04:00
parent 4ad59abc2f
commit 95942f19b1

View file

@ -365,7 +365,7 @@ int MemoryManager::MTypeProtect(VAddr addr, size_t size, VMAType mtype, MemoryPr
return ORBIS_KERNEL_ERROR_EINVAL;
}
// Validate protection flags
// Validate protection flag
constexpr static MemoryProt valid_flags = MemoryProt::NoAccess | MemoryProt::CpuRead |
MemoryProt::CpuReadWrite | MemoryProt::GpuRead |
MemoryProt::GpuWrite | MemoryProt::GpuReadWrite;