Set aarch64 thread pointers

This commit is contained in:
Jeremy Soller
2022-08-24 19:21:36 -06:00
parent 545a561a26
commit f7e8026494
3 changed files with 51 additions and 6 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ pub const KFX_ALIGN: usize = 16;
pub struct Context {
elr_el1: usize,
sp_el0: usize,
tpidr_el0: usize, /* Pointer to TLS region for this Context */
tpidrro_el0: usize, /* Pointer to TLS (read-only) region for this Context */
pub(crate) tpidr_el0: usize, /* Pointer to TLS region for this Context */
pub(crate) tpidrro_el0: usize, /* Pointer to TLS (read-only) region for this Context */
spsr_el1: usize,
esr_el1: usize,
fx_loadable: bool,