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
59eaf200
Commit
59eaf200
authored
Sep 29, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Oct 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add stub for MmMapLockedPagesSpecifyCache.
parent
0a7ab984
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
8 deletions
+27
-8
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+13
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
wdm.h
include/ddk/wdm.h
+13
-7
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
59eaf200
...
...
@@ -1445,6 +1445,19 @@ PVOID WINAPI MmMapIoSpace( PHYSICAL_ADDRESS PhysicalAddress, DWORD NumberOfBytes
return
NULL
;
}
/***********************************************************************
* MmMapLockedPagesSpecifyCache (NTOSKRNL.EXE.@)
*/
PVOID
MmMapLockedPagesSpecifyCache
(
PMDLX
MemoryDescriptorList
,
KPROCESSOR_MODE
AccessMode
,
MEMORY_CACHING_TYPE
CacheType
,
PVOID
BaseAddress
,
ULONG
BugCheckOnFailure
,
MM_PAGE_PRIORITY
Priority
)
{
FIXME
(
"(%p, %u, %u, %p, %u, %u): stub
\n
"
,
MemoryDescriptorList
,
AccessMode
,
CacheType
,
BaseAddress
,
BugCheckOnFailure
,
Priority
);
return
NULL
;
}
/***********************************************************************
* MmPageEntireDriver (NTOSKRNL.EXE.@)
*/
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
59eaf200
...
...
@@ -690,7 +690,7 @@
@ stub MmLockPagableSectionByHandle
@ stdcall MmMapIoSpace(long long long long)
@ stub MmMapLockedPages
@ st
ub MmMapLockedPagesSpecifyCache
@ st
dcall MmMapLockedPagesSpecifyCache(ptr long long ptr long long)
@ stub MmMapLockedPagesWithReservedMapping
@ stub MmMapMemoryDumpMdl
@ stub MmMapUserAddressesToPage
...
...
include/ddk/wdm.h
View file @
59eaf200
...
...
@@ -1051,15 +1051,21 @@ typedef struct _KUSER_SHARED_DATA {
}
KSHARED_USER_DATA
,
*
PKSHARED_USER_DATA
;
typedef
enum
_MEMORY_CACHING_TYPE
{
MmNonCached
=
0
,
MmCached
=
1
,
MmWriteCombined
=
2
,
MmHardwareCoherentCached
=
3
,
MmNonCachedUnordered
=
4
,
MmUSWCCached
=
5
,
MmMaximumCacheType
=
6
MmNonCached
=
0
,
MmCached
=
1
,
MmWriteCombined
=
2
,
MmHardwareCoherentCached
=
3
,
MmNonCachedUnordered
=
4
,
MmUSWCCached
=
5
,
MmMaximumCacheType
=
6
}
MEMORY_CACHING_TYPE
;
typedef
enum
_MM_PAGE_PRIORITY
{
LowPagePriority
,
NormalPagePriority
=
16
,
HighPagePriority
=
32
}
MM_PAGE_PRIORITY
;
typedef
enum
_MM_SYSTEM_SIZE
{
MmSmallSystem
,
...
...
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