Move some variable name to task_cx to task_cx_ptr2
This commit is contained in:
parent
1ea79921bd
commit
923abbbc96
3 changed files with 14 additions and 8 deletions
|
@ -8,7 +8,10 @@
|
|||
.section .text
|
||||
.globl __switch
|
||||
__switch:
|
||||
# __switch(current_task_cx: &*const TaskContext, next_task_cx: &*const TaskContext)
|
||||
# __switch(
|
||||
# current_task_cx_ptr2: &*const TaskContext,
|
||||
# next_task_cx_ptr2: &*const TaskContext
|
||||
# )
|
||||
# push TaskContext to current sp and save its address to where a0 points to
|
||||
addi sp, sp, -13*8
|
||||
sd sp, 0(a0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue