rt-thread-official/bsp/qemu-riscv-virt64/driver/asm/sbiasm.h

11 lines
128 B
C
Raw Normal View History

#ifndef _SBI_ASM_H
#define _SBI_ASM_H
.macro SBI_CALL which
li a7, \which
ecall
nop
.endm
#endif /* _SBI_ASM_H */