2001-08-21 20:18:27 +00:00
|
|
|
/*
|
2009-11-06 23:55:08 +00:00
|
|
|
* PROJECT: ReactOS HAL
|
2006-11-15 00:08:51 +00:00
|
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
2006-11-29 08:28:20 +00:00
|
|
|
* FILE: hal/halx86/generic/sysinfo.c
|
2006-11-15 00:08:51 +00:00
|
|
|
* PURPOSE: HAL Information Routines
|
|
|
|
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
|
|
|
|
*/
|
2001-08-21 20:18:27 +00:00
|
|
|
|
2009-11-06 23:55:08 +00:00
|
|
|
/* INCLUDES *******************************************************************/
|
2001-08-21 20:18:27 +00:00
|
|
|
|
2003-02-26 14:14:47 +00:00
|
|
|
#include <hal.h>
|
2005-06-19 22:53:49 +00:00
|
|
|
#define NDEBUG
|
|
|
|
#include <debug.h>
|
2001-08-21 20:18:27 +00:00
|
|
|
|
2009-11-06 23:55:08 +00:00
|
|
|
/* FUNCTIONS ******************************************************************/
|
2001-08-21 20:18:27 +00:00
|
|
|
|
2006-11-14 20:59:48 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
2009-10-29 19:58:41 +00:00
|
|
|
HaliQuerySystemInformation(IN HAL_QUERY_INFORMATION_CLASS InformationClass,
|
|
|
|
IN ULONG BufferSize,
|
|
|
|
IN OUT PVOID Buffer,
|
|
|
|
OUT PULONG ReturnedLength)
|
2003-02-26 14:14:47 +00:00
|
|
|
{
|
2007-10-18 08:00:59 +00:00
|
|
|
#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:
|
|
|
|
{
|
2009-01-21 17:10:16 +00:00
|
|
|
/* FIXME: TODO */
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
2007-10-18 08:00:59 +00:00
|
|
|
}
|
|
|
|
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);
|
[FREELDR] Include ntddk.h instead of winddk.h
[RAMDISK] Add missing DO_XIP definition (not in WDK/DDK)
[FASTFAT] Remove duplicate VOLUME_IS_DIRTY definition
[HAL] Add case stubs for missing HAL_QUERY_INFORMATION_CLASS members
[NDK] Fix DbgPrompt prototype
[NTDDK]
- Move from winddk.h: _KUSER_SHARED_DATA (updated), pHalIoAssignDriveLetters, PHAL_RESET_DISPLAY_PARAMETERS, HAL_DISPATCH, HalDispatchTable, PCREATE_PROCESS_NOTIFY_ROUTINE, PCREATE_THREAD_NOTIFY_ROUTINE, IMAGE_INFO, PLOAD_IMAGE_NOTIFY_ROUTINE, BUS_DATA_TYPE (updated), PROCESSINFOCLASS (updated), THREADINFOCLASS (updated), DISK_SIGNATURE, PTIMER_APC_ROUTINE, Exfi386InterlockedIncrementLong, Exfi386InterlockedDecrementLong, Exfi386InterlockedExchangeUlong
- Add pHalGetAcpiTable, PCI_ERROR_HANDLER_CALLBACK, pHalSetPciErrorHandlerCallback
[WDM] Add _DECL_HAL_KE_IMPORT, Reorder sections (types before functions)
svn path=/branches/header-work/; revision=46097
2010-03-11 14:49:41 +00:00
|
|
|
REPORT_THIS_CASE(HalInitLogInformation);
|
|
|
|
REPORT_THIS_CASE(HalFrequencyInformation);
|
|
|
|
REPORT_THIS_CASE(HalProcessorBrandString);
|
|
|
|
REPORT_THIS_CASE(HalHypervisorInformation);
|
|
|
|
REPORT_THIS_CASE(HalPlatformTimerInformation);
|
|
|
|
REPORT_THIS_CASE(HalAcpiAuditInformation);
|
2007-10-18 08:00:59 +00:00
|
|
|
}
|
|
|
|
#undef REPORT_THIS_CASE
|
|
|
|
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
2003-02-26 14:14:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
NTSTATUS
|
2006-11-14 20:59:48 +00:00
|
|
|
NTAPI
|
2006-11-27 19:26:31 +00:00
|
|
|
HaliSetSystemInformation(IN HAL_SET_INFORMATION_CLASS InformationClass,
|
2006-11-14 20:59:48 +00:00
|
|
|
IN ULONG BufferSize,
|
|
|
|
IN OUT PVOID Buffer)
|
2001-08-21 20:18:27 +00:00
|
|
|
{
|
2006-11-14 20:59:48 +00:00
|
|
|
UNIMPLEMENTED;
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
2001-08-21 20:18:27 +00:00
|
|
|
}
|