summaryrefslogtreecommitdiff
path: root/Kernel/API/VirtualMemoryAnnotations.h
blob: bed3ffe113dbfab5cd13bde18b03ae5127f3da6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2022, Liav A. <liavalb@hotmail.co.il>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/EnumBits.h>
#include <AK/Types.h>

namespace Kernel {

enum class VirtualMemoryRangeFlags : u32 {
    None = 0,
    SyscallCode = 1 << 0,
    Immutable = 1 << 1,
};

AK_ENUM_BITWISE_OPERATORS(VirtualMemoryRangeFlags);

}