Epok Engine

EPOK RUNTIME

epok::SerialKernelState::restore

Function template · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function template

Performs `restore` as part of PSX kernel ownership, interrupts and low-level services.

Belongs to
epok::SerialKernelState
Header
serial_kernel.hpp
Overloads
1

Declaration

template
Declaration
template<class Memory> void restore(Memory& memory)

Performs `restore` as part of PSX kernel ownership, interrupts and low-level services.

ParameterTypeMeaning
memoryMemory &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "serial_kernel.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Memory

// Assume these named values have been initialized with valid data:
// Memory & memory

epok::SerialKernelState& object = /* obtain a valid instance */;

object.restore<Memory>(memory);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/serial_kernel.hpp:74

Related members