File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -549,15 +549,21 @@ _continue_interrupt_trap:
549
549
}
550
550
551
551
#[ proc_macro_attribute]
552
- /// Attribute to declare an interrupt handler. The function must have the signature `[unsafe] fn() [-> !]`.
553
- /// If the `v-trap` feature is enabled, this macro generates the interrupt trap handler in assembly for RISCV-32 targets.
552
+ /// Attribute to declare an interrupt handler.
553
+ ///
554
+ /// The function must have the signature `[unsafe] fn() [-> !]`.
555
+ /// If the `v-trap` feature is enabled, this macro generates the
556
+ /// interrupt trap handler in assembly for RISCV-32 targets.
554
557
pub fn interrupt_riscv32 ( args : TokenStream , input : TokenStream ) -> TokenStream {
555
558
interrupt ( args, input, RiscvArch :: Rv32 )
556
559
}
557
560
558
561
#[ proc_macro_attribute]
559
- /// Attribute to declare an interrupt handler. The function must have the signature `[unsafe] fn() [-> !]`.
560
- /// If the `v-trap` feature is enabled, this macro generates the interrupt trap handler in assembly for RISCV-32 targets.
562
+ /// Attribute to declare an interrupt handler.
563
+ ///
564
+ /// The function must have the signature `[unsafe] fn() [-> !]`.
565
+ /// If the `v-trap` feature is enabled, this macro generates the
566
+ /// interrupt trap handler in assembly for RISCV-64 targets.
561
567
pub fn interrupt_riscv64 ( args : TokenStream , input : TokenStream ) -> TokenStream {
562
568
interrupt ( args, input, RiscvArch :: Rv64 )
563
569
}
You can’t perform that action at this time.
0 commit comments