mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-03 08:08:39 -04:00
kern: implement user thread start, el0 code now runs
This commit is contained in:
parent
560c340c96
commit
80b115ef57
4 changed files with 16 additions and 4 deletions
|
@ -39,7 +39,7 @@ _ZN3ams4kern4arch5arm6421UserModeThreadStarterEv:
|
|||
msr sp_el0, x19
|
||||
msr elr_el1, x20
|
||||
msr spsr_el1, x21
|
||||
msr tpidr_el1, x22
|
||||
msr tpidr_el0, x22
|
||||
|
||||
ldp x0, x1, [sp, #(8 * 0)]
|
||||
ldp x2, x3, [sp, #(8 * 2)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue