FreeRTOS port on GAP8/RISC-V
|
Data Structures | |
struct | xip_device_t |
struct | xip_page_cfg_t |
struct | pi_xip_conf_t |
Macros | |
#define | XIP_DEVICE_NB |
#define | XIP_PAGE_NB |
#define | XIP_DEVICE_HYPER0 |
#define | XIP_DEVICE_HYPER1 |
#define | XIP_DEVICE_MRAM0 |
Functions | |
static int | __pi_xip_set_page_config (uint8_t device_id, uint8_t page_id, void *l2_addr) |
static int | __pi_xip_open (xip_device_t **xip_dev, pi_xip_conf_t *conf) |
static int | __pi_xip_close (xip_device_t *xip_dev) |
Variables | |
xip_page_cfg_t | xip_page [XIP_PAGE_NB] |
xip_device_t * | xip_devices [XIP_DEVICE_NB] |
#define XIP_DEVICE_HYPER0 |
#define XIP_DEVICE_HYPER1 |
#define XIP_DEVICE_MRAM0 |
#define XIP_DEVICE_NB |
Referenced by __pi_xip_open().
#define XIP_PAGE_NB |
Referenced by __pi_xip_set_page_config().
|
inlinestatic |
References hal_xip_set_device(), xip_device_t::id, PREEMPT_DISABLE, and PREEMPT_RESTORE.
|
inlinestatic |
References pi_xip_conf_t::device_id, xip_device_t::ext_start_addr, pi_xip_conf_t::ext_start_addr, hal_xip_set_device(), xip_device_t::id, xip_device_t::mount_size, pi_xip_conf_t::mount_size, xip_device_t::page_size, pi_xip_conf_t::page_size, pi_malloc(), PREEMPT_DISABLE, PREEMPT_RESTORE, printf, xip_device_t::start_addr, pi_xip_conf_t::start_addr, and XIP_DEVICE_NB.
|
inlinestatic |
References xip_page_cfg_t::device_id, hal_xip_set_page_cfg(), xip_page_cfg_t::l2_addr, printf, and XIP_PAGE_NB.
xip_device_t* xip_devices[XIP_DEVICE_NB] |
xip_page_cfg_t xip_page[XIP_PAGE_NB] |