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
56031d2b
Commit
56031d2b
authored
Mar 01, 2009
by
Stefan Leichter
Committed by
Alexandre Julliard
Mar 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Stub for MmQuerySystemSize.
parent
6aade412
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+11
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
wdm.h
include/ddk/wdm.h
+8
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
56031d2b
...
...
@@ -1161,6 +1161,17 @@ PVOID WINAPI MmGetSystemRoutineAddress(PUNICODE_STRING SystemRoutineName)
return
pFunc
;
}
/***********************************************************************
* MmQuerySystemSize (NTOSKRNL.EXE.@)
*/
MM_SYSTEMSIZE
WINAPI
MmQuerySystemSize
(
void
)
{
FIXME
(
"stub
\n
"
);
return
MmLargeSystem
;
}
/*****************************************************
* DllMain
*/
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
56031d2b
...
...
@@ -706,7 +706,7 @@
@ stub MmProbeAndLockProcessPages
@ stub MmProbeAndLockSelectedPages
@ stub MmProtectMdlSystemAddress
@ st
ub MmQuerySystemSize
@ st
dcall MmQuerySystemSize()
@ stub MmRemovePhysicalMemory
@ stdcall MmResetDriverPaging(ptr)
@ stub MmSectionObjectType
...
...
include/ddk/wdm.h
View file @
56031d2b
...
...
@@ -1001,6 +1001,13 @@ typedef struct _KUSER_SHARED_DATA {
}
DUMMYUNIONNAME
;
}
KSHARED_USER_DATA
,
*
PKSHARED_USER_DATA
;
typedef
enum
_MM_SYSTEM_SIZE
{
MmSmallSystem
,
MmMediumSystem
,
MmLargeSystem
}
MM_SYSTEMSIZE
;
NTSTATUS
WINAPI
ObCloseHandle
(
IN
HANDLE
handle
);
#define IoGetCurrentIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.CurrentStackLocation)
...
...
@@ -1048,6 +1055,7 @@ ULONG WINAPI KeQueryTimeIncrement(void);
PVOID
WINAPI
MmAllocateNonCachedMemory
(
SIZE_T
);
void
WINAPI
MmFreeNonCachedMemory
(
PVOID
,
SIZE_T
);
MM_SYSTEMSIZE
WINAPI
MmQuerySystemSize
(
void
);
NTSTATUS
WINAPI
ObReferenceObjectByHandle
(
HANDLE
,
ACCESS_MASK
,
POBJECT_TYPE
,
KPROCESSOR_MODE
,
PVOID
*
,
POBJECT_HANDLE_INFORMATION
);
...
...
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