Epok Engine

EPOK RUNTIME

epok::SerialKernelState::capture

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 `capture` 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> bool capture(Memory& memory)

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

ParameterTypeMeaning
memoryMemory &Not documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

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 */;

auto result = object.capture<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:51

Related members