/*
- * FILE: ntoskrnl/ke/i386/boot.S
+ * FILE: ntoskrnl/ke/amd64/boot.S
* COPYRIGHT: See COPYING in the top level directory
* PURPOSE: FreeLDR Wrapper Bootstrap Code and Bootstrap Trampoline
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
mov ax, HEX(18)
mov ss, ax
mov rsp, rcx
- sub rsp, HEX(300) // FIXME
+ // Note: 8 bytes extra to compensate for the missing return address on
+ // the stack. On function entry the stack is unaligned by 8!!
+ sub rsp, HEX(308) // FIXME
.ENDPROLOG
jmp KiSystemStartupBootStack