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 *****************************************************************/
19 /* FUNCTIONS ****************************************************************/
22 HalpQuerySystemInformation(IN HAL_QUERY_INFORMATION_CLASS InformationClass
,
25 OUT PULONG ReturnedLength
)
30 DPRINT1("HalpQuerySystemInformation() called\n");
36 switch(InformationClass
)
39 case HalInstalledBusInformation
:
40 Status
= HalpQueryBusInformation(BufferSize
,
48 Status
= STATUS_INVALID_LEVEL
;
54 if (DataLength
> BufferSize
)
55 DataLength
= BufferSize
;
59 *ReturnedLength
= DataLength
;
68 HalpSetSystemInformation(VOID
)