IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
Loading...
Searching...
No Matches
features.hpp
Go to the documentation of this file.
1
11
12
13#pragma once
14
15
16// IgrOS-Kernel arch
17#include <arch/types.hpp>
18
19
20#ifdef __cplusplus
21
22extern "C" {
23
24#endif // __cplusplus
25
26
31 [[nodiscard]]
32 auto cpuEnableNoExecute() noexcept -> bool;
33
34
35#ifdef __cplusplus
36
37} // extern "C"
38
39#endif // __cplusplus
40
auto cpuEnableNoExecute() noexcept -> bool
Enable no-execute page protection (EFER.NXE) if CPU supports it.
Definition features.cpp:36
Common C++ types redefinition.