[ros-diffs] [tkreuzer] 52127: [NDK] - MMPTE is 64 bits on amd64, so make the Long field a ULONG_PTR

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Tue Jun 7 09:31:40 UTC 2011


Author: tkreuzer
Date: Tue Jun  7 09:31:39 2011
New Revision: 52127

URL: http://svn.reactos.org/svn/reactos?rev=52127&view=rev
Log:
[NDK]
- MMPTE is 64 bits on amd64, so make the Long field a ULONG_PTR

Modified:
    trunk/reactos/include/ndk/amd64/ketypes.h
    trunk/reactos/include/ndk/mmtypes.h

Modified: trunk/reactos/include/ndk/amd64/ketypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/amd64/ketypes.h?rev=52127&r1=52126&r2=52127&view=diff
==============================================================================
--- trunk/reactos/include/ndk/amd64/ketypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/amd64/ketypes.h [iso-8859-1] Tue Jun  7 09:31:39 2011
@@ -945,6 +945,7 @@
     ULONG64 Return;
 } KSWITCH_FRAME, *PKSWITCH_FRAME;
 
+#if 0
 typedef struct _KTIMER_TABLE_ENTRY
 {
     ULONG_PTR Lock;
@@ -957,6 +958,7 @@
     KTIMER* TimerExpiry[64];
     KTIMER_TABLE_ENTRY TimerEntries[256];
 } KTIMER_TABLE, *PKTIMER_TABLE;
+#endif
 
 //
 // Inline function to get current KPRCB

Modified: trunk/reactos/include/ndk/mmtypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/mmtypes.h?rev=52127&r1=52126&r2=52127&view=diff
==============================================================================
--- trunk/reactos/include/ndk/mmtypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/mmtypes.h [iso-8859-1] Tue Jun  7 09:31:39 2011
@@ -342,7 +342,7 @@
 {
     union
     {
-        ULONG Long;
+        ULONG_PTR Long;
         HARDWARE_PTE Flush;
         MMPTE_HARDWARE Hard;
         MMPTE_PROTOTYPE Proto;
@@ -704,7 +704,7 @@
 //
 // Long VAD used in section and private allocations
 //
-typedef struct _MMVAD_LONG 
+typedef struct _MMVAD_LONG
 {
     union
     {




More information about the Ros-diffs mailing list