[ros-diffs] [tkreuzer] 35326: add LDT_ENTRY to winnt.h
tkreuzer at svn.reactos.org
tkreuzer at svn.reactos.org
Thu Aug 14 04:43:52 CEST 2008
Author: tkreuzer
Date: Wed Aug 13 21:43:52 2008
New Revision: 35326
URL: http://svn.reactos.org/svn/reactos?rev=35326&view=rev
Log:
add LDT_ENTRY to winnt.h
Modified:
branches/ros-amd64-bringup/reactos/include/psdk/winnt.h
Modified: branches/ros-amd64-bringup/reactos/include/psdk/winnt.h
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/include/psdk/winnt.h?rev=35326&r1=35325&r2=35326&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/psdk/winnt.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/psdk/winnt.h [iso-8859-1] Wed Aug 13 21:43:52 2008
@@ -2002,6 +2002,38 @@
DWORD AclBytesFree;
} ACL_SIZE_INFORMATION;
+#ifndef _LDT_ENTRY_DEFINED
+#define _LDT_ENTRY_DEFINED
+typedef struct _LDT_ENTRY
+{
+ USHORT LimitLow;
+ USHORT BaseLow;
+ union
+ {
+ struct
+ {
+ UCHAR BaseMid;
+ UCHAR Flags1;
+ UCHAR Flags2;
+ UCHAR BaseHi;
+ } Bytes;
+ struct
+ {
+ ULONG BaseMid:8;
+ ULONG Type:5;
+ ULONG Dpl:2;
+ ULONG Pres:1;
+ ULONG LimitHi:4;
+ ULONG Sys:1;
+ ULONG Reserved_0:1;
+ ULONG Default_Big:1;
+ ULONG Granularity:1;
+ ULONG BaseHi:8;
+ } Bits;
+ } HighWord;
+} LDT_ENTRY, *PLDT_ENTRY, *LPLDT_ENTRY;
+#endif
+
/* FIXME: add more machines */
#if defined(__i386__) && !defined(__PowerPC__)
#define SIZE_OF_80387_REGISTERS 80
More information about the Ros-diffs
mailing list