template <typename OnTerminalEntry>

class ReadonlyTerminalVisitor

Defined at line 628 of file ../../zircon/kernel/lib/arch/include/lib/arch/paging.h

A simple read-only visitor that returns information based on the terminal

entry encountered. The logic at the terminal level and visitor's return

value are parameterized by `OnTerminalEntry`: called only on terminal

entries this type is callable on `const TableEntry

<Level

>

&

` for each

level in `kLevels` with a uniform return type. Representing its return

type as `TerminalResult`, the value type of the visitor is then

`fit::result

<fit

::failed, TerminalResult>`, where `fit::failed` is

returned in the event of encountering an unexpected, non-present entry.

Public Methods

void ReadonlyTerminalVisitor<OnTerminalEntry> (OnTerminalEntry on_terminal)

Defined at line 642 of file ../../zircon/kernel/lib/arch/include/lib/arch/paging.h

template <class TableIo, LevelType Level>
std::optional<value_type> operator() (TableIo & io, TableEntry<Level> & entry, uint64_t vaddr)

Defined at line 646 of file ../../zircon/kernel/lib/arch/include/lib/arch/paging.h

template <class TableIo, LevelType Level>
std::optional<value_type> operator() (TableIo & io, TableEntry<Level> & entry, uint64_t vaddr)

Defined at line 646 of file ../../zircon/kernel/lib/arch/include/lib/arch/paging.h

template <class TableIo, LevelType Level>
std::optional<value_type> operator() (TableIo & io, TableEntry<Level> & entry, uint64_t vaddr)

Defined at line 646 of file ../../zircon/kernel/lib/arch/include/lib/arch/paging.h

Records