arm64: Implement kernel thread switching.

Change-Id: I87cca66ad89cfa85ba98a9ec828c5e357d7406b2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5263
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
milek7
2022-05-29 18:51:32 +00:00
committed by waddlesplash
parent e4d6c87ca2
commit 78ea9ffc9b
3 changed files with 34 additions and 7 deletions
@@ -10,12 +10,7 @@
struct arch_thread {
uint64 x[31];
uint64 pc;
uint64 sp;
uint64 tpidr_el0;
uint64 tpidrro_el0;
int last_vfp_cpu;
uint64 regs[13]; // x19-x30, sp
};
struct arch_team {
@@ -26,5 +21,4 @@ struct arch_fork_arg {
int dummy;
};
#endif /* _KERNEL_ARCH_ARM64_ARCH_THREAD_TYPES_H_ */