Chameleon

Chameleon Svn Source Tree

Root/branches/cparm/i386/modules/SMBiosGetters/smbios_getters.h

1
2
3
4#ifndef __LIBSAIO_SMBIOS_GETTERS_H
5#define __LIBSAIO_SMBIOS_GETTERS_H
6
7#include "libsaio.h"
8#include "mysmbios.h"
9#include "platform.h"
10#include "pci.h"
11
12typedef enum {
13kSMBString,
14kSMBByte,
15kSMBWord,
16kSMBDWord
17//kSMBQWord
18} SMBValueType;
19
20typedef union {
21const char*string;
22uint8_tbyte;
23uint16_tword;
24uint32_tdword;
25//uint64_tqword;
26} returnType;
27
28extern bool getProcessorInformationExternalClock(returnType *value);
29extern bool getProcessorInformationMaximumClock(returnType *value);
30extern bool getSMBOemProcessorBusSpeed(returnType *value);
31extern bool getSMBOemProcessorType(returnType *value);
32extern bool getSMBMemoryDeviceMemoryType(returnType *value);
33extern bool getSMBMemoryDeviceMemorySpeed(returnType *value);
34extern bool getSMBMemoryDeviceManufacturer(returnType *value);
35extern bool getSMBMemoryDeviceSerialNumber(returnType *value);
36extern bool getSMBMemoryDevicePartNumber(returnType *value);
37
38#endif /* !__LIBSAIO_SMBIOS_GETTERS_H */
39

Archive Download this file

Revision: 1119