FreeRTOS port on GAP8/RISC-V
|
Macros | |
#define | pulp_read32 |
#define | pulp_write32 |
#define | hal_itc_wait_for_event_noirq |
#define | hal_itc_wait_for_event |
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 () |
#define hal_itc_wait_for_event |
#define hal_itc_wait_for_event_noirq |
#define pulp_read32 |
#define pulp_write32 |
|
inlinestatic |
References hal_compiler_barrier().
Referenced by udma_ctrl_cg_enable(), udma_ctrl_disable_event_forward(), and udma_ctrl_enable_event_forward().
|
inlinestatic |
Compiler barriers: essential to make sure that read/writes are all flushed by compiler before next instructions
Referenced by __aes_drv_fifo_pop(), __ffc_drv_fifo_pop(), __i2c_drv_fifo_pop(), __os_native_kickoff(), __pi_i2c_cs_data_remove(), __pi_spim_drv_fifo_enqueue(), __pi_task_destroy(), __pi_task_wait_on(), __pi_uart_copy_exec(), __tas_addr_lock(), __udma_datamove_drv_fifo_pop(), cl_dma_cmd_set(), cl_dma_status_set(), cl_notify_fc_event_handler(), disable_irq(), hal_and32(), hal_cl_eu_mutex_init(), hal_cl_eu_mutex_unlock(), hal_eu_read32(), hal_eu_soc_events_get_event(), hal_eu_soc_events_is_valid(), hal_fc_eu_soc_events_pop(), hal_or32(), hal_read32(), hal_read8(), hal_soc_eu_clear_fc_mask(), hal_soc_eu_set_fc_mask(), hal_write32(), hal_write8(), pi_cl_send_task_to_fc(), pi_cl_uart_write(), pi_cl_uart_write_byte(), pi_pmu_mram_poweron(), pi_sem_deinit(), pi_sem_give(), pi_sem_init(), pi_sem_take(), pi_task_release(), pi_task_wait_on_no_mutex(), pmsis_event_lock_cl_to_fc_init(), pmsis_mutex_deinit(), pmsis_mutex_init(), pmsis_mutex_release(), pmsis_mutex_take(), pmsis_spinlock_init(), pmsis_spinlock_release(), pmsis_spinlock_take(), restore_irq(), and system_usermode_entry().
|
inlinestatic |
References hal_compiler_barrier(), and Catch::Generators::value().
Referenced by pi_timer_reset(), pi_timer_start(), udma_ctrl_cg_disable(), and udma_ctrl_enable_event_forward().
|
inlinestatic |
References hal_compiler_barrier().
Referenced by __attribute__(), __pi_spi_send_async(), __pi_spi_send_async_with_ucode(), __pi_spi_xfer_async(), __spi_cpy_send_aligned(), __spi_cpy_send_misaligned(), cl_dma_cmd_get(), cl_dma_status_get(), cpi_cfg_filter_get(), cpi_cfg_glob_get(), cpi_cfg_ll_get(), cpi_cfg_size_get(), cpi_cfg_ur_get(), dmacpy_dst_addr_get(), dmacpy_mem_sel_get(), dmacpy_src_addr_get(), fll_ctrl_conf1_get(), fll_ctrl_conf2_get(), fll_ctrl_integrator_get(), fll_ctrl_status_get(), gpio_gpioen_get(), gpio_inten_get(), gpio_intstatus_get(), gpio_inttype_get(), gpio_padcfg_get(), gpio_paddir_get(), gpio_padin_get(), gpio_padout_get(), hal_cl_eu_barrier_team_get(), hal_cl_eu_dispatch_fifo_pop(), hal_efuse_read_word(), hal_eu_soc_events_pop(), hal_fc_eu_soc_events_pop(), hal_itc_ack_get(), hal_itc_event_fifo_pop(), hal_itc_irq_get(), hal_itc_mask_get(), hal_soc_eu_enable_timer(), hal_soc_eu_sel_timer(), hyper_ext_addr_get(), hyper_mem_cfg0_get(), hyper_mem_cfg1_get(), hyper_mem_cfg2_get(), hyper_mem_cfg3_get(), hyper_mem_cfg4_get(), hyper_mem_cfg5_get(), hyper_mem_cfg6_get(), hyper_mem_cfg7_get(), i2c_setup_get(), i2c_status_get(), i2s_cfg_clkgen0_get(), i2s_cfg_clkgen1_get(), i2s_chmode_get(), i2s_ext_clk_get(), i2s_filt_ch0_get(), i2s_filt_ch1_get(), pi_timer_stop(), pi_timer_value_read(), pmu_dlc_dlc_idifr_get(), pmu_dlc_dlc_ifr_get(), pmu_dlc_dlc_imcifr_get(), pmu_dlc_dlc_imr_get(), pmu_dlc_dlc_ioifr_get(), pmu_dlc_dlc_pctrl_get(), pmu_dlc_dlc_prdata_get(), pmu_dlc_dlc_sr_get(), pwm_ch_threshold_get(), pwm_cmd_get(), pwm_config_get(), pwm_counter_get(), pwm_ctrl_cg_get(), pwm_ctrl_event_cfg_get(), pwm_threshold_get(), rtc_apb_cr_get(), rtc_apb_dr_get(), rtc_apb_icr_get(), rtc_apb_ifr_get(), rtc_apb_imr_get(), rtc_apb_sr_get(), soc_ctrl_cl_busy_get(), soc_ctrl_cl_bypass_get(), soc_ctrl_cl_isolate_get(), soc_ctrl_corestatus_get(), soc_ctrl_fast_pmu_sleepctrl_get(), soc_ctrl_info_get(), soc_ctrl_safe_padcfg_get(), soc_ctrl_safe_padfun_get(), soc_ctrl_safe_padsleep_get(), soc_ctrl_safe_pmu_force_get(), soc_ctrl_safe_pmu_rar_get(), soc_ctrl_safe_pmu_sleepctrl_get(), soc_ctrl_safe_sleeppadcfg_get(), uart_setup_get(), uart_status_get(), udma_channel_busy_get(), udma_ctrl_get_clock_gating_register(), and udma_ctrl_get_event_register().
|
inlinestatic |
References hal_compiler_barrier().
Referenced by hal_efuse_read_byte().
|
inlinestatic |
References hal_compiler_barrier(), and Catch::Generators::value().
Referenced by __attribute__(), cl_dma_cmd_set(), cl_dma_status_set(), cpi_cfg_filter_set(), cpi_cfg_glob_set(), cpi_cfg_ll_set(), cpi_cfg_size_set(), cpi_cfg_ur_set(), dmacpy_dst_addr_set(), dmacpy_mem_sel_set(), dmacpy_src_addr_set(), fll_ctrl_conf1_set(), fll_ctrl_conf2_set(), fll_ctrl_integrator_set(), gpio_gpioen_set(), gpio_inten_set(), gpio_intstatus_set(), gpio_inttype_set(), gpio_padcfg_set(), gpio_paddir_set(), gpio_padin_set(), gpio_padout_set(), hal_cl_ctrl_boot_addr_set(), hal_cl_ctrl_clock_gate_disable(), hal_cl_ctrl_clock_gate_enable(), hal_cl_ctrl_fetch_enable(), hal_cl_ctrl_fetch_mask_enable(), hal_cl_eu_barrier_setup(), hal_cl_eu_barrier_trigger(), hal_cl_eu_dispatch_fifo_push(), hal_cl_eu_dispatch_team_config(), hal_cl_eu_evt_clear(), hal_cl_eu_evt_mask_clear(), hal_cl_eu_evt_mask_set(), hal_cl_eu_glob_sw_trig(), hal_cl_eu_irq_mask_clear(), hal_cl_eu_irq_mask_set(), hal_cl_eu_mutex_init(), hal_cl_eu_mutex_unlock(), hal_cl_icache_disable(), hal_cl_icache_enable(), hal_efuse_config_timings(), hal_efuse_sleep(), hal_efuse_start_program(), hal_efuse_start_read(), hal_eu_dispatch_push(), hal_eu_dispatch_team_config(), hal_eu_fc_evt_demux_trig_set(), hal_eu_fc_evt_trig_set(), hal_itc_ack_clear(), hal_itc_ack_set(), hal_itc_irq_all_clear(), hal_itc_irq_clear(), hal_itc_irq_set(), hal_itc_irq_status_set(), hal_itc_mask_all_clear(), hal_itc_mask_clear(), hal_itc_mask_set(), hal_itc_reset(), hal_soc_eu_enable_timer(), hal_soc_eu_sel_timer(), hyper_ext_addr_set(), hyper_mem_cfg0_set(), hyper_mem_cfg1_set(), hyper_mem_cfg2_set(), hyper_mem_cfg3_set(), hyper_mem_cfg4_set(), hyper_mem_cfg5_set(), hyper_mem_cfg6_set(), hyper_mem_cfg7_set(), i2c_setup_set(), i2c_status_set(), i2s_cfg_clkgen0_set(), i2s_cfg_clkgen1_set(), i2s_chmode_set(), i2s_ext_clk_set(), i2s_filt_ch0_set(), i2s_filt_ch1_set(), pi_timer_init(), pi_timer_stop(), pmu_dlc_dlc_idifr_set(), pmu_dlc_dlc_ifr_set(), pmu_dlc_dlc_imcifr_set(), pmu_dlc_dlc_imr_set(), pmu_dlc_dlc_ioifr_set(), pmu_dlc_dlc_pctrl_set(), pwm_ch_threshold_set(), pwm_cmd_set(), pwm_config_set(), pwm_ctrl_cg_set(), pwm_ctrl_event_cfg_set(), pwm_threshold_set(), rtc_apb_cr_set(), rtc_apb_dr_set(), rtc_apb_icr_set(), rtc_apb_ifr_set(), rtc_apb_imr_set(), rtc_apb_sr_set(), soc_ctrl_cl_bypass_set(), soc_ctrl_cl_isolate_set(), soc_ctrl_corestatus_set(), soc_ctrl_safe_padcfg_set(), soc_ctrl_safe_padfun_set(), soc_ctrl_safe_padsleep_set(), soc_ctrl_safe_pmu_force_set(), soc_ctrl_safe_pmu_rar_set(), soc_ctrl_safe_pmu_sleepctrl_set(), soc_ctrl_safe_sleeppadcfg_set(), system_init(), uart_setup_set(), udma_channel_clear(), and udma_enqueue_channel().
|
inlinestatic |
References hal_compiler_barrier().
Referenced by hal_efuse_write_byte().
|
inlinestatic |
Referenced by __cluster_start().
|
inlinestatic |
Referenced by __cluster_start(), __pi_send_task_to_cl(), and cl_pop_cluster_task().
|
inlinestatic |
References __native_cluster_id().
Referenced by helloworld().
|
inlinestatic |
References __native_core_id().
Referenced by helloworld().
|
inlinestatic |
References __native_is_fc().
Referenced by __os_native_api_sem_take(), pi_perf_conf(), pi_perf_read(), pi_perf_reset(), pi_perf_start(), pi_perf_stop(), and system_exit().