Skip to main content

Crate riscv_macros

Crate riscv_macros 

Source

Macros§

rvrt_default_start_trap
Generates assembly code required for the default handling of traps.
rvrt_llvm_arch_patch
Temporary patch macro to deal with LLVM bug.

Attribute Macros§

core_interrupt
Attribute to declare a core interrupt handler.
entry
Attribute to declare the entry point of the program
exception
Attribute to declare an exception handler.
external_interrupt
Attribute to declare an external interrupt handler.
pac_enum
Attribute-like macro that implements the traits of the riscv-types crate for a given enum.
post_init
Attribute to mark which function will be called before jumping to the entry point.
setup_interrupts
Attribute to mark which function will set interrupts before jumping to the entry point.