microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
microfmt::translation_attributes Struct Reference

Attributes and physical mapping details resolved for a virtual address. More...

#include <address_translator.hpp>

Public Member Functions

constexpr bool is_valid () const noexcept
 Reports whether the attribute record represents a valid translation.
 

Public Attributes

uintptr_t physical_address {0}
 Translated physical address.
 
uint8_t space_id {0}
 Target memory space identifier (e.g., ASID, VM space ID, or domain tag).
 
bool is_secure {false}
 
bool readable {false}
 Page permits read access.
 
bool writable {false}
 Page permits write access.
 
bool executable {false}
 Page permits instruction execution.
 
bool user_accessible {false}
 Page permits unprivileged (user-mode) access.
 

Detailed Description

Attributes and physical mapping details resolved for a virtual address.

Member Function Documentation

◆ is_valid()

constexpr bool microfmt::translation_attributes::is_valid ( ) const
inlineconstexprnoexcept

Reports whether the attribute record represents a valid translation.

Member Data Documentation

◆ executable

bool microfmt::translation_attributes::executable {false}

Page permits instruction execution.

◆ is_secure

bool microfmt::translation_attributes::is_secure {false}

Security state indicator (e.g., true = Secure [S], false = Non-Secure [NS] on ARM TrustZone).

◆ physical_address

uintptr_t microfmt::translation_attributes::physical_address {0}

Translated physical address.

◆ readable

bool microfmt::translation_attributes::readable {false}

Page permits read access.

◆ space_id

uint8_t microfmt::translation_attributes::space_id {0}

Target memory space identifier (e.g., ASID, VM space ID, or domain tag).

◆ user_accessible

bool microfmt::translation_attributes::user_accessible {false}

Page permits unprivileged (user-mode) access.

◆ writable

bool microfmt::translation_attributes::writable {false}

Page permits write access.


The documentation for this struct was generated from the following file: