x86-32 thread objects require special alignment since they contain a buffer that is passed to fxsave/fxrstor instructions. This fell over if the dummy thread is created in a stack frame. Implement a custom swap to main for x86 which still uses a dummy thread, but in an unused part of the interrupt stack with proper alignment. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
|---|---|---|
| .. | ||
| ia32 | ||
| intel64 | ||
| acpi.h | ||
| arch_inlines.h | ||
| arch.h | ||
| memmap.h | ||
| mmustructs.h | ||
| msr.h | ||
| multiboot.h | ||
| thread_stack.h | ||