Expand description
This crate has been deprecated. Please use the riscv-macros crate instead.
Macros§
- default_
start_ trap - Generates
_default_start_trapfunction in assembly. If no_start_trapfunction is defined, the linker will use this function as the default. - llvm_
arch_ patch - Temporary patch macro to deal with LLVM bug
- loop_
asm - Loops an asm expression n times.
- loop_
global_ asm - Loops a global_asm expression n times.
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.
- post_
init - Attribute to mark which function will be called before jumping to the entry point.
You must enable the
post-initfeature in theriscv-rtcrate to use this macro. - pre_
init Deprecated - Attribute to mark which function will be called at the beginning of the reset handler.
You must enable the
pre_initfeature in theriscv-rtcrate to use this macro.