Hartmut Birr wrote:
I think the change in all 3 files is wrong. There was a bug in main_asm.S. The code to align the stack must be:
.m1: lea _kernel_stack, %eax test $0xFFF, %eax jz .m2 and $0xFFFFF000, %eax add $0x1000, %eax .m2: add $(0x3000 - SIZEOF_FX_SAVE_AREA), %eax movl %eax, %esp
Yes, that looks better and should do the job aswell. Can you please fix it?
- Thomas