Epok Engine

EPOK RUNTIME

epok::SerialKernelState::ram

Method · 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.

Method

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

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

Declaration

static
Declaration
static bool ram(uint32_t address, uint32_t bytes)

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

ParameterTypeMeaning
addressuint32_tNot documented; consult the linked header.
bytesuint32_tNot documented; consult the linked header.

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

Example sketch

C++ example
#include "serial_kernel.hpp"

// Assume these named values have been initialized with valid data:
// uint32_t address
// uint32_t bytes

auto result = epok::SerialKernelState::ram(address, bytes);

Trade-offs and warnings

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

Declared in runtime/serial_kernel.hpp:36

Related members