mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
eZ80: fix name of SP register in stack frame
This commit is contained in:
committed by
Xiang Xiao
parent
e50b5bef8b
commit
256c5c266a
@@ -105,7 +105,7 @@ FAR void *up_stack_frame(FAR struct tcb_s *tcb, size_t frame_size)
|
||||
|
||||
/* Reset the initial stack pointer */
|
||||
|
||||
tcb->xcp.regs[REG_RSP] = (chipreg_t)tcb->adj_stack_ptr;
|
||||
tcb->xcp.regs[XCPT_SP] = (chipreg_t)tcb->adj_stack_ptr;
|
||||
|
||||
/* And return a pointer to the allocated memory */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user