1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:37:36 +00:00

Kernel/aarch64: Remove tpidr_el0 from RegisterState

In the next commit, this register will be populated by directly writing
to it, instead of using the RegisterState mechanism.
This commit is contained in:
Timon Kruiper 2023-02-15 19:36:34 +01:00 committed by Jelle Raaijmakers
parent cff6af9f75
commit 7d0917f50b
4 changed files with 6 additions and 14 deletions

View file

@ -291,7 +291,6 @@ FlatPtr Processor::init_context(Thread& thread, bool leave_crit)
eretframe.x[30] = FlatPtr(&exit_kernel_thread);
eretframe.elr_el1 = thread_regs.elr_el1;
eretframe.sp_el0 = thread_regs.sp_el0;
eretframe.tpidr_el0 = 0; // FIXME: Correctly initialize this when aarch64 has support for thread local storage.
eretframe.spsr_el1 = thread_regs.spsr_el1;
// Push a TrapFrame onto the stack