Chameleon

Chameleon Svn Source Tree

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

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

Archive Download this file

Revision: 789