MSVC compatibility fix: use DECLSPEC_ALIGN and remove inline asm (it was testcode anyway)
svn path=/branches/ros-amd64-bringup/; revision=45325
KIPCR KiInitialPcr;
/* Boot and double-fault/NMI/DPC stack */
-UCHAR P0BootStackData[KERNEL_STACK_SIZE] __attribute__((aligned (16))) = {0};
-UCHAR KiDoubleFaultStackData[KERNEL_STACK_SIZE] __attribute__((aligned (16))) = {0};
+UCHAR P0BootStackData[KERNEL_STACK_SIZE] DECLSPEC_ALIGN(16) = {0};
+UCHAR KiDoubleFaultStackData[KERNEL_STACK_SIZE] DECLSPEC_ALIGN(16) = {0};
ULONG_PTR P0BootStack = (ULONG_PTR)&P0BootStackData[KERNEL_STACK_SIZE];
ULONG_PTR KiDoubleFaultStack = (ULONG_PTR)&KiDoubleFaultStackData[KERNEL_STACK_SIZE];
/* Disable x87 fpu exceptions */
__writecr0(__readcr0() & ~CR0_NE);
- asm volatile ("fninit\n");
}
VOID