IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
Loading...
Searching...
No Matches
igros::x86::anonymous_namespace{paging.cpp} Namespace Reference

Paging state. More...

Functions

void invalidate (const mem::virt_t virt) noexcept
 Invalidate TLB entry of virtual address (invlpg takes memory operand).

Variables

constinit paging::entry_t noExecute {0}
 NX bit value if no-execute is enabled (else 0: NX can't be used).

Detailed Description

Paging state.

Function Documentation

◆ invalidate()

void igros::x86::anonymous_namespace{paging.cpp}::invalidate ( const mem::virt_t virt)
noexcept

Invalidate TLB entry of virtual address (invlpg takes memory operand).

Parameters
virtVirtual address

Definition at line 48 of file paging.cpp.

Variable Documentation

◆ noExecute

paging::entry_t igros::x86::anonymous_namespace{paging.cpp}::noExecute {0}
constinit

NX bit value if no-execute is enabled (else 0: NX can't be used).

Definition at line 42 of file paging.cpp.