Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
6c350ad1
Commit
6c350ad1
authored
Nov 13, 2009
by
Louis Lenders
Committed by
Alexandre Julliard
Nov 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add stub for MmAllocatePagesForMdl.
parent
4c8eec34
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+10
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
6c350ad1
...
...
@@ -1117,6 +1117,16 @@ PVOID WINAPI MmAllocateNonCachedMemory( SIZE_T size )
return
VirtualAlloc
(
NULL
,
size
,
MEM_RESERVE
|
MEM_COMMIT
,
PAGE_READWRITE
|
PAGE_NOCACHE
);
}
/***********************************************************************
* MmAllocatePagesForMdl (NTOSKRNL.EXE.@)
*/
PMDL
WINAPI
MmAllocatePagesForMdl
(
PHYSICAL_ADDRESS
lowaddress
,
PHYSICAL_ADDRESS
highaddress
,
PHYSICAL_ADDRESS
skipbytes
,
SIZE_T
size
)
{
FIXME
(
"%s %s %s %lu: stub
\n
"
,
wine_dbgstr_longlong
(
lowaddress
.
QuadPart
),
wine_dbgstr_longlong
(
highaddress
.
QuadPart
),
wine_dbgstr_longlong
(
skipbytes
.
QuadPart
),
size
);
return
NULL
;
}
/***********************************************************************
* MmFreeNonCachedMemory (NTOSKRNL.EXE.@)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
6c350ad1
...
...
@@ -659,7 +659,7 @@
@ stub MmAllocateContiguousMemorySpecifyCache
@ stub MmAllocateMappingAddress
@ stdcall MmAllocateNonCachedMemory(long)
@ st
ub MmAllocatePagesForMdl
@ st
dcall MmAllocatePagesForMdl(double double double long)
@ stub MmBuildMdlForNonPagedPool
@ stub MmCanFileBeTruncated
@ stub MmCommitSessionMappedView
...
...
include/ddk/wdm.h
View file @
6c350ad1
...
...
@@ -1060,6 +1060,7 @@ void WINAPI KeQueryTickCount(LARGE_INTEGER*);
ULONG
WINAPI
KeQueryTimeIncrement
(
void
);
PVOID
WINAPI
MmAllocateNonCachedMemory
(
SIZE_T
);
PMDL
WINAPI
MmAllocatePagesForMdl
(
PHYSICAL_ADDRESS
,
PHYSICAL_ADDRESS
,
PHYSICAL_ADDRESS
,
SIZE_T
);
void
WINAPI
MmFreeNonCachedMemory
(
PVOID
,
SIZE_T
);
MM_SYSTEMSIZE
WINAPI
MmQuerySystemSize
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment