ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_vsource_obj_t Struct Reference

One registered object's backing (paged or XIP). More...

#include <ra8_vsource.h>

Data Fields

ra8_vsource_read_fn read
 Paged read callback (NULL for an XIP object).
void * ctx
 Context passed to read.
const uint8_t * xip
 XIP base pointer (NULL for a paged object).
uint64_t base
 Paged: absolute base offset of the object.
uint64_t size
 Object length in bytes.

Detailed Description

One registered object's backing (paged or XIP).

Treat as private; populated by ra8_vsource_add_paged / ra8_vsource_add_xip. xip != NULL marks an XIP object.

Since
0.1.0

Definition at line 90 of file ra8_vsource.h.

Field Documentation

◆ base

uint64_t ra8_vsource_obj_t::base

Paged: absolute base offset of the object.

Definition at line 94 of file ra8_vsource.h.

Referenced by ra8_vsource_loader().

◆ ctx

void* ra8_vsource_obj_t::ctx

Context passed to read.

Definition at line 92 of file ra8_vsource.h.

Referenced by ra8_vsource_loader().

◆ read

ra8_vsource_read_fn ra8_vsource_obj_t::read

Paged read callback (NULL for an XIP object).

Definition at line 91 of file ra8_vsource.h.

Referenced by ra8_vsource_loader().

◆ size

uint64_t ra8_vsource_obj_t::size

Object length in bytes.

Definition at line 95 of file ra8_vsource.h.

Referenced by ra8_vsource_loader(), and ra8_vsource_xip_ptr().

◆ xip

const uint8_t* ra8_vsource_obj_t::xip

XIP base pointer (NULL for a paged object).

Definition at line 93 of file ra8_vsource.h.

Referenced by ra8_vsource_loader(), and ra8_vsource_xip_ptr().


The documentation for this struct was generated from the following file: