This commit extends the cooperative multitasking functionality to support the x86_64 architecture. Previously, cooperative multitasking was only available for x86_32, as indicated by the error directive in thread.c. A new thread_switch_64.S file has been added to implement 64-bit register handling for thread switching, and thread_switch.S has been renamed to thread_switch_32.S accordingly. Change-Id: I14ed625160a62e42d800757d30397c6c85f943b4 Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88216 Reviewed-by: Shuo Liu <shuo.liu@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| ppc64 | ||
| riscv | ||
| x86 | ||