mirror of
https://github.com/apache/nuttx.git
synced 2026-09-06 17:06:31 +00:00
riscv/common: add CURRENT_REGS declare in RV32
Change-Id: I92322a707b29bf1389ba81da118fb8be61877531 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
cd2fbf0b3c
commit
0eba5015dd
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ EXTERN volatile uint64_t *g_current_regs[1];
|
|||
EXTERN uintptr_t g_idle_topstack;
|
||||
#else
|
||||
EXTERN volatile uint32_t *g_current_regs;
|
||||
# define CURRENT_REGS (g_current_regs)
|
||||
EXTERN uint32_t g_idle_topstack;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue