|
IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
|
Paging (i386 2-level and x86_64 4-level page tables). More...
#include <algorithm>#include <bit>#include <span>#include <arch/x86/cr.hpp>#include <arch/x86/exceptions.hpp>#include <arch/x86/features.hpp>#include <arch/x86/irq.hpp>#include <arch/x86/native.hpp>#include <arch/x86/paging.hpp>#include <klib/kAlign.hpp>#include <klib/kPrint.hpp>#include <mem/direct.hpp>#include <platform/platform.hpp>
Go to the source code of this file.
Namespaces | |
| namespace | igros |
| IgrOS kernel: common types and literals. | |
| namespace | igros::x86 |
| Code shared by i386 and x86_64: ports, interrupts, exceptions, paging. | |
| namespace | igros::x86::anonymous_namespace{paging.cpp} |
| Paging state. | |
Functions | |
| void | igros::x86::anonymous_namespace{paging.cpp}::invalidate (const mem::virt_t virt) noexcept |
| Invalidate TLB entry of virtual address (invlpg takes memory operand). | |
| static constexpr auto | igros::x86::flag (const paging::FLAGS value) noexcept -> paging::entry_t |
| Entry flag value. | |
| static constexpr auto | igros::x86::hasFlag (const paging::entry_t entry, const paging::FLAGS value) noexcept -> bool |
| Is flag set in entry. | |
Variables | |
| constinit paging::entry_t | igros::x86::anonymous_namespace{paging.cpp}::noExecute {0} |
| NX bit value if no-execute is enabled (else 0: NX can't be used). | |
Paging (i386 2-level and x86_64 4-level page tables).
Definition in file paging.cpp.