Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
ra8_io block-device fabric – one LBA vtable across every storage medium.
@ k_ra8_io_block_size_bytes
Bytes per logical block (the only size).
ra8_err_t ra8_io_blockdev_vsource_read(void *ctx, uint64_t offset, uint8_t *buf, uint32_t len)
Read len bytes at byte offset from the bound block device.
ra8_err_t ra8_io_blockdev_vsource_init(ra8_io_blockdev_vsource_ctx_t *ctx, const ra8_io_blockdev_t *bd)
Bind a block device into a vsource adapter context.
Virtual-memory object sources – the page-cache storage seam (Layer 1, #147).
Caller-allocated block-device handle binding a backend to its context.
Caller-owned adapter context binding a block device to a vsource read.
uint8_t scratch[(uint32_t) k_ra8_io_block_size_bytes]
One-sector bounce buffer (private).
const ra8_io_blockdev_t * bd
Bound block device (private; read-only use).