- Partially revert 29656. NTOS calls HalQuerySystemInformation with HalFrameBufferCachingInformation, and disables PAT and MTRR if it returns success + TRUE. There is no reason this would be needed in ReactOS at the moment, so revert to old behaviour.

svn path=/trunk/; revision=39001
This commit is contained in:
Stefan Ginsberg 2009-01-21 17:10:16 +00:00
parent bf2e430cf1
commit f368fdbf9a

View file

@ -35,20 +35,10 @@ HaliQuerySystemInformation(IN HAL_QUERY_INFORMATION_CLASS InformationClass,
REPORT_THIS_CASE(HalMapRegisterInformation);
REPORT_THIS_CASE(HalMcaLogInformation);
case HalFrameBufferCachingInformation:
if (BufferSize >= 1)
{
// The only caller that has been seen calling this function told
// us it expected a single byte back. We therefore guess it expects
// a BOOLEAN, and we dream up the value TRUE to (we think) tell it
// "Sure, the framebuffer is cached".
BOOLEAN ToReturn = TRUE;
DPRINT("%s: caller expects %u bytes (should be 1)\n", "HalFrameBufferCachingInformation", BufferSize);
ASSERT(sizeof(BOOLEAN) == 1);
*ReturnedLength = sizeof(BOOLEAN);
RtlCopyMemory(Buffer, &ToReturn, sizeof(BOOLEAN));
return STATUS_SUCCESS;
/* FIXME: TODO */
return STATUS_NOT_IMPLEMENTED;
}
break;
REPORT_THIS_CASE(HalDisplayBiosInformation);
REPORT_THIS_CASE(HalProcessorFeatureInformation);
REPORT_THIS_CASE(HalNumaTopologyInterface);