riscv/common: add CURRENT_REGS declare in RV32
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
ef4ba8cb6c
commit
e37d8da074
|
@ -108,6 +108,7 @@ EXTERN volatile uint64_t *g_current_regs[1];
|
||||||
EXTERN uintptr_t g_idle_topstack;
|
EXTERN uintptr_t g_idle_topstack;
|
||||||
#else
|
#else
|
||||||
EXTERN volatile uint32_t *g_current_regs;
|
EXTERN volatile uint32_t *g_current_regs;
|
||||||
|
# define CURRENT_REGS (g_current_regs)
|
||||||
EXTERN uint32_t g_idle_topstack;
|
EXTERN uint32_t g_idle_topstack;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue