Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
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.
Performs `capture` as part of PSX kernel ownership, interrupts and low-level services.
template<class Memory> bool capture(Memory& memory)Performs `capture` as part of PSX kernel ownership, interrupts and low-level services.
| Parameter | Type | Meaning |
|---|---|---|
memory | Memory & | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#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);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/serial_kernel.hpp:51
callbackPerforms `callback` as part of PSX kernel ownership, interrupts and low-level services.MethodramPerforms `ram` as part of PSX kernel ownership, interrupts and low-level services.MethodresidentPerforms `resident` as part of PSX kernel ownership, interrupts and low-level services.MethodrestorePerforms `restore` as part of PSX kernel ownership, interrupts and low-level services.Function template