[ros-dev] [ros-diffs] [sir_richard] 45152

Dmitry Gorbachev d.g.gorbachev at gmail.com
Tue Jan 19 22:56:41 CET 2010


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.



More information about the Ros-dev mailing list