Kernel/ARM: use modern srsdb invocation
This commit is contained in:
parent
fe892c5e66
commit
fb4b3da7da
@ -40,7 +40,7 @@ IMPORT(svc_stack)
|
|||||||
*/
|
*/
|
||||||
.macro switch_to_svc lr_offset
|
.macro switch_to_svc lr_offset
|
||||||
sub lr, lr, #\lr_offset
|
sub lr, lr, #\lr_offset
|
||||||
srsdb #MODE_SVC!
|
srsdb sp!, #MODE_SVC
|
||||||
cps #MODE_SVC
|
cps #MODE_SVC
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ -182,7 +182,7 @@ irq_entry_from_kernel:
|
|||||||
* supervisor call (SVC) kernel entry point
|
* supervisor call (SVC) kernel entry point
|
||||||
*/
|
*/
|
||||||
ENTRY(svc_entry)
|
ENTRY(svc_entry)
|
||||||
srsdb #MODE_SVC!
|
srsdb sp!, #MODE_SVC
|
||||||
save_process_ctx
|
save_process_ctx
|
||||||
|
|
||||||
/* save the pointer to the current process */
|
/* save the pointer to the current process */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user