Author: ion
Date: Thu Aug 4 22:41:39 2011
New Revision: 53070
URL:
http://svn.reactos.org/svn/reactos?rev=53070&view=rev
Log:
[NTOSKRNL]: Implement SystemRangeStartInformation.
Modified:
trunk/reactos/ntoskrnl/ex/sysinfo.c
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/sysinfo.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/sysinfo.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/sysinfo.c [iso-8859-1] Thu Aug 4 22:41:39 2011
@@ -1777,11 +1777,15 @@
/* Class 50 - System range start address */
QSI_DEF(SystemRangeStartInformation)
{
- /* FIXME */
- DPRINT1("NtQuerySystemInformation - SystemRangeStartInformation not
implemented\n");
- return STATUS_NOT_IMPLEMENTED;
-}
-
+ /* Check user buffer's size */
+ if (Size != sizeof(ULONG_PTR)) return STATUS_INFO_LENGTH_MISMATCH;
+
+ *(PULONG_PTR)Buffer = (ULONG_PTR)MmSystemRangeStart;
+
+ if (ReqSize) *ReqSize = sizeof(ULONG_PTR);
+
+ return STATUS_SUCCESS;
+}
/* Class 51 - Driver verifier information */
QSI_DEF(SystemVerifierInformation)