diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-10-18 22:51:33 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-10-18 22:51:33 +0400 |
commit | 1f5c3042d581783dfd8ed8495ef704e9ae325cd2 (patch) | |
tree | 4063c5b7fa5a74f1018847e1574f459c3fac4fd1 /winsup/cygwin/wincap.h | |
parent | a92822b74764fb7ff83517889cfa6b875c855250 (diff) |
* autoload.cc (NtLockVirtualMemory): Import.
(NtUnlockVirtualMemory): Import.
(GetProcessWorkingSetSize): Import.
(SetProcessWorkingSetSize): Import.
* cygwin.din (mlock): Export.
(munlock): Export.
* mmap.cc (mlock): New function.
(munlock): Ditto.
* ntdll.h (STATUS_WORKING_SET_QUOTA): Define.
(LOCK_VM_IN_WSL): Define.
(LOCK_VM_IN_RAM): Define.
(NtLockVirtualMemory): Declare.
(NtUnlockVirtualMemory): Declare.
* sysconf.cc (sysconf): Implement _SC_MEMLOCK_RANGE.
* wincap.h: Implement has_working_virtual_lock throughout.
* wincap.cc: Ditto.
* include/cygwin/version.h: Bump API minor version.
* include/sys/mman.h (mlock): Declare,
(munlock): Declare.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index 7bc3d5ca7..02c1fa48c 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -62,6 +62,7 @@ struct wincaps unsigned detect_win16_exe : 1; unsigned has_null_console_handler_routine : 1; unsigned has_disk_ex_ioctls : 1; + unsigned has_working_virtual_lock : 1; }; class wincapc @@ -128,6 +129,7 @@ public: bool IMPLEMENT (detect_win16_exe) bool IMPLEMENT (has_null_console_handler_routine) bool IMPLEMENT (has_disk_ex_ioctls) + bool IMPLEMENT (has_working_virtual_lock) #undef IMPLEMENT }; |