mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
- 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:
parent
bf2e430cf1
commit
f368fdbf9a
1 changed files with 2 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue