commit 6f260c51ea3af92e49aba6084c7cc55e17988042
parent d89171c4fc42050b53473e75fc313573ddeaf013
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 6 Nov 2024 21:12:53 +0100
os9: Use the va field instead of the Map aggregate
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/os9/arch/arm64/ctx.c b/src/os9/arch/arm64/ctx.c
@@ -131,7 +131,7 @@ ictx(Task *tp, void *fn)
memset(rp, 0, sizeof(tp->ctx.r));
rp[X30] = (uint64_t) outsync;
- rp[SP_EL1] = (uint64_t) tp->kstack;
+ rp[SP_EL1] = tp->kstack.va;
rp[SPSR] = sysrd(SPSR_EL1);
rp[ELR] = (uint64_t) fn;
}