[NTOS:KE]
[reactos.git] / reactos / ntoskrnl / include / internal / i386 / ke.h
index d461a01..d6d3906 100644 (file)
@@ -557,6 +557,7 @@ FORCEINLINE
 PFX_SAVE_AREA
 KiGetThreadNpxArea(IN PKTHREAD Thread)
 {
+    ASSERT((ULONG_PTR)Thread->InitialStack % 16 == 0);
     return (PFX_SAVE_AREA)((ULONG_PTR)Thread->InitialStack - sizeof(FX_SAVE_AREA));
 }