mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
6c0486277e
This syscall will be used later on to ensure we can declare virtual memory mappings as immutable (which means that the underlying Region is basically immutable for both future annotations or changing the protection bits of it).
21 lines
331 B
C++
21 lines
331 B
C++
/*
|
|
* 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,
|
|
};
|
|
|
|
AK_ENUM_BITWISE_OPERATORS(VirtualMemoryRangeFlags);
|
|
|
|
}
|