diff options
author | bunnei <bunneidev@gmail.com> | 2021-02-13 10:07:23 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-03-21 22:45:02 +0100 |
commit | 541b4353e4a85a1f10c53d643ea48b8e31363a62 (patch) | |
tree | 4546b14777c69cf74bbbdedfa50dfd904d8e8f59 /src/core/hle/kernel/k_memory_region_type.h | |
parent | hle: kernel: Move KMemoryRegion to its own module and update. (diff) | |
download | yuzu-541b4353e4a85a1f10c53d643ea48b8e31363a62.tar yuzu-541b4353e4a85a1f10c53d643ea48b8e31363a62.tar.gz yuzu-541b4353e4a85a1f10c53d643ea48b8e31363a62.tar.bz2 yuzu-541b4353e4a85a1f10c53d643ea48b8e31363a62.tar.lz yuzu-541b4353e4a85a1f10c53d643ea48b8e31363a62.tar.xz yuzu-541b4353e4a85a1f10c53d643ea48b8e31363a62.tar.zst yuzu-541b4353e4a85a1f10c53d643ea48b8e31363a62.zip |
Diffstat (limited to 'src/core/hle/kernel/k_memory_region_type.h')
-rw-r--r-- | src/core/hle/kernel/k_memory_region_type.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_memory_region_type.h b/src/core/hle/kernel/k_memory_region_type.h new file mode 100644 index 000000000..6fb5abde9 --- /dev/null +++ b/src/core/hle/kernel/k_memory_region_type.h @@ -0,0 +1,22 @@ +// Copyright 2021 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "common/common_types.h" + +namespace Kernel { + +enum class KMemoryRegionType : u32 {}; + +enum class KMemoryRegionAttr : typename std::underlying_type<KMemoryRegionType>::type { + CarveoutProtected = 0x04000000, + DidKernelMap = 0x08000000, + ShouldKernelMap = 0x10000000, + UserReadOnly = 0x20000000, + NoUserMap = 0x40000000, + LinearMapped = 0x80000000, +}; + +} // namespace Kernel |