arm64: Save/restore TPIDR_EL0 in _arch_context_swap
It's not used for anything by the OS but userspace might want to use it for its own purposes. Change-Id: Icda4bcd6de9d68596555e81293c8bd075f80a2a4 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7511 Tested-by: Commit checker robot <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
@@ -18,7 +18,7 @@ struct iframe_stack {
|
||||
|
||||
|
||||
struct arch_thread {
|
||||
uint64 regs[13]; // x19-x30, sp
|
||||
uint64 regs[14]; // x19-x30, sp, tpidr_el0
|
||||
uint64 fp_regs[8]; // d8-d15
|
||||
|
||||
// used to track interrupts on this thread
|
||||
|
||||
Reference in New Issue
Block a user