aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api/include/winnt.h
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hotmail.com>2002-01-20 15:20:02 +0000
committerRobert Collins <rbtcollins@hotmail.com>2002-01-20 15:20:02 +0000
commit186f78be1992c7421030d84a54610af150fd9f68 (patch)
tree6b90c8fac0ddd5675071ecb2d69adf438eef4ac5 /winsup/w32api/include/winnt.h
parent216109a824e421ddc3ac3e1b0d18a59a052b3d7c (diff)
downloadnewlib-186f78be1992c7421030d84a54610af150fd9f68.zip
newlib-186f78be1992c7421030d84a54610af150fd9f68.tar.gz
newlib-186f78be1992c7421030d84a54610af150fd9f68.tar.bz2
2002-01-21 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Add missing MEM_ defines, and convert existing to hex for readability.
Diffstat (limited to 'winsup/w32api/include/winnt.h')
-rw-r--r--winsup/w32api/include/winnt.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index c91f16f..6c6a492 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -618,14 +618,17 @@ typedef BYTE BOOLEAN,*PBOOLEAN;
#define PAGE_GUARD 256
#define PAGE_NOACCESS 1
#define PAGE_NOCACHE 512
-#define MEM_COMMIT 4096
-#define MEM_FREE 65536
-#define MEM_RESERVE 8192
+#define MEM_COMMIT 0x1000
+#define MEM_RESERVE 0x2000
+#define MEM_DECOMMIT 0x4000
+#define MEM_RELEASE 0x8000
+#define MEM_FREE 0x10000
+#define MEM_PRIVATE 0x20000
+#define MEM_MAPPED 0x40000
+#define MEM_RESET 0x80000
+#define MEM_TOP_DOWN 0x100000
+#define MEM_4MB_PAGES 0x80000000
#define MEM_IMAGE 16777216
-#define MEM_MAPPED 262144
-#define MEM_PRIVATE 131072
-#define MEM_DECOMMIT 16384
-#define MEM_RELEASE 32768
#define SEC_FILE 0x800000
#define SEC_IMAGE 0x1000000
#define SEC_VLM 0x2000000