2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/hal/x86/sysinfo.c
5 * PURPOSE: Getting system information
6 * PROGRAMMER: David Welch (welch@mcmail.com)
11 /* INCLUDES *****************************************************************/
13 #include <ddk/ntddk.h>
18 #include <internal/debug.h>
21 /* FUNCTIONS ****************************************************************/
24 HalpQuerySystemInformation(IN HAL_QUERY_INFORMATION_CLASS InformationClass,
27 OUT PULONG ReturnedLength)
32 DPRINT1("HalpQuerySystemInformation() called\n");
38 switch(InformationClass)
41 case HalInstalledBusInformation:
42 Status = HalpQueryBusInformation(BufferSize,
50 Status = STATUS_INVALID_LEVEL;
56 if (DataLength > BufferSize)
57 DataLength = BufferSize;
61 *ReturnedLength = DataLength;
70 HalpSetSystemInformation(VOID)