mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 16:48:16 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
73 lines
2.4 KiB
C
73 lines
2.4 KiB
C
/*
|
|
* PROJECT: ReactOS HAL
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* FILE: hal/halx86/generic/sysinfo.c
|
|
* PURPOSE: HAL Information Routines
|
|
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
|
|
*/
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include <hal.h>
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
HaliQuerySystemInformation(IN HAL_QUERY_INFORMATION_CLASS InformationClass,
|
|
IN ULONG BufferSize,
|
|
IN OUT PVOID Buffer,
|
|
OUT PULONG ReturnedLength)
|
|
{
|
|
#define REPORT_THIS_CASE(X) case X: DPRINT1("Unhandled case: %s\n", #X); break
|
|
switch (InformationClass)
|
|
{
|
|
REPORT_THIS_CASE(HalInstalledBusInformation);
|
|
REPORT_THIS_CASE(HalProfileSourceInformation);
|
|
REPORT_THIS_CASE(HalInformationClassUnused1);
|
|
REPORT_THIS_CASE(HalPowerInformation);
|
|
REPORT_THIS_CASE(HalProcessorSpeedInformation);
|
|
REPORT_THIS_CASE(HalCallbackInformation);
|
|
REPORT_THIS_CASE(HalMapRegisterInformation);
|
|
REPORT_THIS_CASE(HalMcaLogInformation);
|
|
case HalFrameBufferCachingInformation:
|
|
{
|
|
/* FIXME: TODO */
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
}
|
|
REPORT_THIS_CASE(HalDisplayBiosInformation);
|
|
REPORT_THIS_CASE(HalProcessorFeatureInformation);
|
|
REPORT_THIS_CASE(HalNumaTopologyInterface);
|
|
REPORT_THIS_CASE(HalErrorInformation);
|
|
REPORT_THIS_CASE(HalCmcLogInformation);
|
|
REPORT_THIS_CASE(HalCpeLogInformation);
|
|
REPORT_THIS_CASE(HalQueryMcaInterface);
|
|
REPORT_THIS_CASE(HalQueryAMLIIllegalIOPortAddresses);
|
|
REPORT_THIS_CASE(HalQueryMaxHotPlugMemoryAddress);
|
|
REPORT_THIS_CASE(HalPartitionIpiInterface);
|
|
REPORT_THIS_CASE(HalPlatformInformation);
|
|
REPORT_THIS_CASE(HalQueryProfileSourceList);
|
|
REPORT_THIS_CASE(HalInitLogInformation);
|
|
REPORT_THIS_CASE(HalFrequencyInformation);
|
|
REPORT_THIS_CASE(HalProcessorBrandString);
|
|
REPORT_THIS_CASE(HalHypervisorInformation);
|
|
REPORT_THIS_CASE(HalPlatformTimerInformation);
|
|
REPORT_THIS_CASE(HalAcpiAuditInformation);
|
|
}
|
|
#undef REPORT_THIS_CASE
|
|
|
|
UNIMPLEMENTED;
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
}
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
HaliSetSystemInformation(IN HAL_SET_INFORMATION_CLASS InformationClass,
|
|
IN ULONG BufferSize,
|
|
IN OUT PVOID Buffer)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
}
|