Common implementations and headers for RISC-V. More...
Common implementations and headers for RISC-V.
Files | |
file | architecture_arch.h |
Architecture details. | |
file | atomic_utils_arch.h |
Implementation of fast atomic utility functions. | |
file | context_frame.h |
Thread context frame stored on stack. | |
file | cpu.h |
Basic definitions for the RISC-V common module. | |
file | cpu_conf.h |
CPU specific configuration options. | |
file | cpucycle.h |
Functions to read CPU cycle counter. | |
file | irq_arch.h |
Implementation of the kernels irq interface. | |
file | periph_cpu.h |
CPU specific definitions for internal peripheral handling. | |
file | plic.h |
Platform-Level interrupt controller driver. | |
Functions | |
void | cpu_init (void) |
Initialization of the CPU. | |
void | clock_init (void) |
Initialization of the clock. | |
uint32_t | cpu_freq (void) |
Get and eventually compute the current CPU core clock frequency. More... | |
void | irq_init (void) |
Initialization of interrupts. | |
static void | cpu_print_last_instruction (void) |
Print the last instruction's address. More... | |
void | nanostubs_init (void) |
Initialization of the Newlib-nano stub. | |
uint32_t cpu_freq | ( | void | ) |
Get and eventually compute the current CPU core clock frequency.