OSDN Git Service

* autoload.cc (NtLockVirtualMemory): Import.
authorcorinna <corinna>
Tue, 18 Oct 2005 18:51:33 +0000 (18:51 +0000)
committercorinna <corinna>
Tue, 18 Oct 2005 18:51:33 +0000 (18:51 +0000)
commitf275c13855d0ec6ac3c727e9ab73e230216f5718
tree8aa99c2cea95dda13f40c86d3807b3fefc055e76
parent1a986c190b63c62e073f908711b4bf8020abb05f
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/autoload.cc
winsup/cygwin/cygwin.din
winsup/cygwin/include/cygwin/version.h
winsup/cygwin/include/sys/mman.h
winsup/cygwin/mmap.cc
winsup/cygwin/ntdll.h
winsup/cygwin/sysconf.cc
winsup/cygwin/wincap.cc
winsup/cygwin/wincap.h