Chameleon

Chameleon Svn Source Tree

Root/branches/Kabyl/i386/libsaio/smbios_getters.h

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

Archive Download this file

Revision: 673