aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api/include/winnt.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-07-30 03:20:59 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-07-30 03:20:59 +0000
commit045d6a99fe41dbeb80a2364a77280c186df290a5 (patch)
tree731a98df7c6d891bd705fcc2f977a902c9595296 /winsup/w32api/include/winnt.h
parentc6ed5790b47d1252f5729fe15323efcbb34516f8 (diff)
downloadnewlib-045d6a99fe41dbeb80a2364a77280c186df290a5.zip
newlib-045d6a99fe41dbeb80a2364a77280c186df290a5.tar.gz
newlib-045d6a99fe41dbeb80a2364a77280c186df290a5.tar.bz2
* include/windef.h (PVOID, LPVOID): Move typedefs to...
* include/winnt: ...here. (PVOID64): New typeddef. * include/winnt,h (FILE_SEGMENT_ELEMENT): Define union. * include/winbase.h: (ReadFileScatter, WriteFileGather): Add prototypes. * include/winnt,h (PROCESSOR_ARCHITECTURE_*): Add defines. (PROCESSOR_INTEL_IA64): Add define
Diffstat (limited to 'winsup/w32api/include/winnt.h')
-rw-r--r--winsup/w32api/include/winnt.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index ea56b02..4337560 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -55,6 +55,14 @@ typedef unsigned short USHORT,*PUSHORT;
typedef unsigned long ULONG,*PULONG;
typedef char *PSZ;
+typedef void *PVOID,*LPVOID;
+
+/* FIXME for __WIN64 */
+#ifndef __ptr64
+#define __ptr64
+#endif
+typedef void* __ptr64 PVOID64;
+
#ifndef _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED
#ifndef _WCHAR_T_
@@ -581,10 +589,17 @@ typedef DWORD FLONG;
#define PROCESSOR_INTEL_PENTIUM 586
#define PROCESSOR_MIPS_R4000 4000
#define PROCESSOR_ALPHA_21064 21064
+#define PROCESSOR_INTEL_IA64 2200
+
#define PROCESSOR_ARCHITECTURE_INTEL 0
#define PROCESSOR_ARCHITECTURE_MIPS 1
#define PROCESSOR_ARCHITECTURE_ALPHA 2
#define PROCESSOR_ARCHITECTURE_PPC 3
+#define PROCESSOR_ARCHITECTURE_SHX 4
+#define PROCESSOR_ARCHITECTURE_ARM 5
+#define PROCESSOR_ARCHITECTURE_IA64 6
+#define PROCESSOR_ARCHITECTURE_ALPHA64 7
+#define PROCESSOR_ARCHITECTURE_MSIL8
#define PROCESSOR_ARCHITECTURE_UNKNOWN 0xFFFF
#define PF_FLOATING_POINT_PRECISION_ERRATA 0
#define PF_FLOATING_POINT_EMULATED 1
@@ -2628,6 +2643,12 @@ typedef struct _REPARSE_POINT_INFORMATION {
WORD UnparsedNameLength;
} REPARSE_POINT_INFORMATION, *PREPARSE_POINT_INFORMATION;
+typedef union _FILE_SEGMENT_ELEMENT {
+ PVOID64 Buffer;
+ ULONGLONG Alignment;
+}FILE_SEGMENT_ELEMENT, *PFILE_SEGMENT_ELEMENT;
+
+
#ifdef UNICODE
typedef OSVERSIONINFOW OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO;
typedef OSVERSIONINFOEXW OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX;