summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_memory_region_type.h
blob: 6fb5abde950c733137b4fe7537bec96be035fa42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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