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

Virtual table of address translation operations. More...

#include <address_translator.hpp>

Public Attributes

bool(* translate )(const void *ctx, uintptr_t virt_addr, translation_attributes &out_attrs) noexcept = nullptr
 Translates a virtual address and retrieves its protection and space attributes.
 

Detailed Description

Virtual table of address translation operations.

Member Data Documentation

◆ translate

bool(* microfmt::address_translator_ref::vtable::translate) (const void *ctx, uintptr_t virt_addr, translation_attributes &out_attrs) noexcept = nullptr
noexcept

Translates a virtual address and retrieves its protection and space attributes.

Parameters
ctxOpaque pointer to the concrete context state.
virt_addrVirtual address to translate.
out_attrsReceives the resolved physical address and memory attributes on success.
Returns
true if translation succeeded and the page is present, false otherwise.

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