FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gap9/pmsis/include/pmsis/targets/target.h File Reference

Macros

#define pulp_read32
 
#define pulp_write32
 
#define hal_itc_wait_for_event_noirq
 
#define hal_itc_wait_for_event
 
#define archi_write32(addr, value)
 
#define archi_read32(addr)
 

Functions

static void hal_compiler_barrier ()
 
static void hal_write32 (volatile void *addr, uint32_t value)
 
static void hal_write8 (volatile void *addr, uint32_t value)
 
static void hal_or32 (volatile void *addr, uint32_t value)
 
static void hal_and32 (volatile void *addr, uint32_t value)
 
static uint32_t hal_read32 (volatile void *addr)
 
static uint8_t hal_read8 (volatile void *addr)
 
static uint32_t pi_core_id ()
 
static uint32_t pi_cluster_id ()
 
static uint32_t pi_is_fc ()
 
static uint32_t pi_cl_cluster_nb_pe_cores (void)
 
static int pi_cl_cluster_nb_cores ()
 

Macro Definition Documentation

#define archi_read32 (   addr)
#define archi_write32 (   addr,
  value 
)
#define hal_itc_wait_for_event
#define hal_itc_wait_for_event_noirq
#define pulp_read32
#define pulp_write32

Function Documentation

static void hal_and32 ( volatile void *  addr,
uint32_t  value 
)
inlinestatic
static void hal_compiler_barrier ( )
inlinestatic

Compiler barriers: essential to make sure that read/writes are all flushed by compiler before next instructions

Referenced by hal_and32(), hal_or32(), hal_read32(), hal_read8(), hal_write32(), and hal_write8().

static void hal_or32 ( volatile void *  addr,
uint32_t  value 
)
inlinestatic
static uint32_t hal_read32 ( volatile void *  addr)
inlinestatic
static uint8_t hal_read8 ( volatile void *  addr)
inlinestatic
static void hal_write32 ( volatile void *  addr,
uint32_t  value 
)
inlinestatic
static void hal_write8 ( volatile void *  addr,
uint32_t  value 
)
inlinestatic
static int pi_cl_cluster_nb_cores ( )
inlinestatic
static uint32_t pi_cl_cluster_nb_pe_cores ( void  )
inlinestatic

Referenced by pi_cl_cluster_nb_cores().

static uint32_t pi_cluster_id ( )
inlinestatic

References __native_cluster_id().

static uint32_t pi_core_id ( )
inlinestatic

References __native_core_id().

static uint32_t pi_is_fc ( )
inlinestatic

References __native_is_fc().