Hi,
sir_richard wrote:
/* GLOBALS *******************************************************************/
+/* Boot and double-fault/NMI/DPC stack */ +UCHAR P0BootStackData[KERNEL_STACK_SIZE] __attribute__((aligned (16))); +UCHAR KiDoubleFaultStackData[KERNEL_STACK_SIZE] __attribute__((aligned (16)));
MinGW GCC 4.4.x can ignore in some situations attribute aligned on uninitialized global variables because of a bug. A workaround is to initialize a variable or to compile with -fno-common.