This commit is contained in:
Antonio 2024-09-04 16:16:34 -04:00
parent 95942f19b1
commit e2d8a48855

View file

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