Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-09-05 02:20:52 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2002-09-05 02:20:52 +0400
commit1730adee69d95f0067f2b81937edb741f8d5e848 (patch)
treeb77c60da658cdc8920978854bacc8034b750e632
parentca3a1a6b670e5026c3a1d7435d78e90eb9212616 (diff)
2002-09-04 Kevin Chase <kevincha99@hotmail.com>
* include/winbase.h (AllocateUserPhysicalPages, MapUserPhysicalPages, MapUserPhysicalPagesScatter, FreeUserPhysicalPages): Add prototypes. * lib/kernel32.def: Add function stubs for above.
-rw-r--r--winsup/w32api/ChangeLog7
-rw-r--r--winsup/w32api/include/winbase.h6
-rw-r--r--winsup/w32api/lib/kernel32.def4
3 files changed, 17 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 866d3d88c..76658d19e 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,10 @@
+2002-09-04 Kevin Chase <kevincha99@hotmail.com>
+
+ * include/winbase.h (AllocateUserPhysicalPages,
+ MapUserPhysicalPages, MapUserPhysicalPagesScatter,
+ FreeUserPhysicalPages): Add prototypes.
+ * lib/kernel32.def: Add function stubs for above.
+
2002-09-03 René Møller Fonseca <fonseca@users.sourceforge.net>
* include/winuser.h (IDTRYAGAIN,IDCONTINUE): Add defines.
diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h
index a58becd08..da14bbb09 100644
--- a/winsup/w32api/include/winbase.h
+++ b/winsup/w32api/include/winbase.h
@@ -1594,6 +1594,12 @@ BOOL WINAPI WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR);
BOOL WINAPI WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR);
DWORD WINAPI WriteTapemark(HANDLE,DWORD,DWORD,BOOL);
#define Yield()
+#if (_WIN32_WINNT >= 0x0500)
+BOOL WINAPI AllocateUserPhysicalPages(HANDLE,PULONG_PTR,PULONG_PTR);
+BOOL WINAPI FreeUserPhysicalPages(HANDLE,PULONG_PTR,PULONG_PTR);
+BOOL WINAPI MapUserPhysicalPages(PVOID,ULONG_PTR,PULONG_PTR);
+BOOL WINAPI MapUserPhysicalPagesScatter(PVOID*,ULONG_PTR,PULONG_PTR);
+#endif
#ifdef UNICODE
typedef STARTUPINFOW STARTUPINFO,*LPSTARTUPINFO;
diff --git a/winsup/w32api/lib/kernel32.def b/winsup/w32api/lib/kernel32.def
index d390519e2..401d84cb8 100644
--- a/winsup/w32api/lib/kernel32.def
+++ b/winsup/w32api/lib/kernel32.def
@@ -5,6 +5,7 @@ AddAtomW@4
AddConsoleAliasA@12
AddConsoleAliasW@12
AllocConsole@0
+AllocateUserPhysicalPages@12
AreFileApisANSI@0
AssignProcessToJobObject@8
BackupRead@28
@@ -188,6 +189,7 @@ FreeEnvironmentStringsW@4
FreeLibrary@4
FreeLibraryAndExitThread@8
FreeResource@4
+FreeUserPhysicalPages@12
FreeVirtualBuffer@4
GenerateConsoleCtrlEvent@8
GetACP@0
@@ -477,6 +479,8 @@ LocalUnlock@4
LockFile@20
LockFileEx@24
LockResource@4
+MapUserPhysicalPages@12
+MapUserPhysicalPagesScatter@12
MapViewOfFile@20
MapViewOfFileEx@24
MapViewOfFileVlm@28