Re: [PATCH 09/15] x86_64: fix exception stack alignment

2022-08-27 Thread Samuel Thibault
Luca Dariz, le mar. 28 juin 2022 12:10:48 +0200, a ecrit: > * i386/i386/pcb.c: > - increase alignment of pcb cache to 16 > - ensure the stack is properly aligned when switching ktss > * i386/i386/thread.h: > - add padding tomake iss field end aligned to 16 bytes > * i386/i386/trap.c: > - en

[PATCH 09/15] x86_64: fix exception stack alignment

2022-06-28 Thread Luca Dariz
* i386/i386/pcb.c: - increase alignment of pcb cache to 16 - ensure the stack is properly aligned when switching ktss * i386/i386/thread.h: - add padding tomake iss field end aligned to 16 bytes * i386/i386/trap.c: - ensure the state we get after the trap points to the correct place in