diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-03-05 07:39:15 +0300 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-03-05 07:39:15 +0300 |
commit | 2af4c4de0974a66f251f6e363b5fc70da8afd14e (patch) | |
tree | af5ddd0d0bfb87054ad00a1bfb04bba34a6c2b18 /winsup/w32api | |
parent | a4c7da048de198b1aa615bd75b41a51187cf77f4 (diff) |
2011-03-04 Seth Jackson <sethj@users.sourceforge.net>
* include/winnt.h (PAGE_WRITECOMBINE): Define.
* include/winbase.h (THREAD_MODE_BACKGROUND_BEGIN, THREAD_MODE_BACKGROUND_END): Define.
Diffstat (limited to 'winsup/w32api')
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/w32api/include/winbase.h | 4 | ||||
-rw-r--r-- | winsup/w32api/include/winnt.h | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index c5f301cd8..967796888 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2011-03-04 Seth Jackson <sethj@users.sourceforge.net> + + * include/winnt.h (PAGE_WRITECOMBINE): Define. + * include/winbase.h (THREAD_MODE_BACKGROUND_BEGIN, THREAD_MODE_BACKGROUND_END): Define. + 2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> * include/winbase.h (__MINGW_EXTENSION): Define. diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index 18f1b7e56..dfe2aa15d 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -270,6 +270,10 @@ extern "C" { #define GET_TAPE_DRIVE_INFORMATION 1 #define SET_TAPE_MEDIA_INFORMATION 0 #define SET_TAPE_DRIVE_INFORMATION 1 +#if (_WIN32_WINNT >= 0x0600) +#define THREAD_MODE_BACKGROUND_BEGIN 0x00010000 +#define THREAD_MODE_BACKGROUND_END 0x00020000 +#endif #define THREAD_PRIORITY_ABOVE_NORMAL 1 #define THREAD_PRIORITY_BELOW_NORMAL (-1) #define THREAD_PRIORITY_HIGHEST 2 diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index 9a36660bb..dd89726cf 100644 --- a/winsup/w32api/include/winnt.h +++ b/winsup/w32api/include/winnt.h @@ -1041,6 +1041,7 @@ typedef DWORD FLONG; #define PAGE_EXECUTE_WRITECOPY 0x0080 #define PAGE_GUARD 0x0100 #define PAGE_NOCACHE 0x0200 +#define PAGE_WRITECOMBINE 0x0400 #define MEM_COMMIT 0x1000 #define MEM_RESERVE 0x2000 #define MEM_DECOMMIT 0x4000 |