[ros-diffs] [arty] 28967: Correct size of KAPC_STATE to fit in the [23] window of PKTHREAD. This is neccessary, otherwise the APC booleans interfere with FreezeCount.

arty at svn.reactos.org arty at svn.reactos.org
Sun Sep 9 11:49:36 CEST 2007


Author: arty
Date: Sun Sep  9 13:49:35 2007
New Revision: 28967

URL: http://svn.reactos.org/svn/reactos?rev=28967&view=rev
Log:
Correct size of KAPC_STATE to fit in the [23] window of PKTHREAD.  This is
neccessary, otherwise the APC booleans interfere with FreezeCount.

Modified:
    trunk/reactos/include/ddk/ntifs.h
    trunk/reactos/include/ndk/ifssupp.h

Modified: trunk/reactos/include/ddk/ntifs.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntifs.h?rev=28967&r1=28966&r2=28967&view=diff
==============================================================================
--- trunk/reactos/include/ddk/ntifs.h (original)
+++ trunk/reactos/include/ddk/ntifs.h Sun Sep  9 13:49:35 2007
@@ -635,6 +635,7 @@
     LARGE_INTEGER CreationTime;
 } OBJECT_BASIC_INFORMATION, *POBJECT_BASIC_INFORMATION;
 
+#include <pshpack1.h>
 typedef struct _KAPC_STATE {
     LIST_ENTRY  ApcListHead[2];
     PKPROCESS   Process;
@@ -642,6 +643,7 @@
     BOOLEAN     KernelApcPending;
     BOOLEAN     UserApcPending;
 } KAPC_STATE, *PKAPC_STATE, *RESTRICTED_POINTER PRKAPC_STATE;
+#include <poppack.h>
 
 typedef struct _BITMAP_RANGE {
     LIST_ENTRY      Links;

Modified: trunk/reactos/include/ndk/ifssupp.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/ifssupp.h?rev=28967&r1=28966&r2=28967&view=diff
==============================================================================
--- trunk/reactos/include/ndk/ifssupp.h (original)
+++ trunk/reactos/include/ndk/ifssupp.h Sun Sep  9 13:49:35 2007
@@ -103,6 +103,7 @@
     LPC_PVOID ViewBase;
 } REMOTE_PORT_VIEW, *PREMOTE_PORT_VIEW;
 
+#include <pshpack1.h>
 typedef struct _KAPC_STATE
 {
     LIST_ENTRY ApcListHead[2];
@@ -111,6 +112,7 @@
     BOOLEAN KernelApcPending;
     BOOLEAN UserApcPending;
 } KAPC_STATE, *PKAPC_STATE, *RESTRICTED_POINTER PRKAPC_STATE;
+#include <poppack.h>
 
 typedef struct _KQUEUE
 {




More information about the Ros-diffs mailing list