Chameleon

Chameleon Svn Source Tree

Root/branches/azimutz/Chazi/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
13#define NOT_AVAILABLE"N/A"
14
15typedef enum {
16kSMBString,
17kSMBByte,
18kSMBWord,
19kSMBDWord
20//kSMBQWord
21} SMBValueType;
22
23typedef union {
24const char*string;
25uint8_tbyte;
26uint16_tword;
27uint32_tdword;
28//uint64_tqword;
29} returnType;
30
31extern bool getProcessorInformationExternalClock(returnType *value);
32extern bool getProcessorInformationMaximumClock(returnType *value);
33extern bool getSMBOemProcessorBusSpeed(returnType *value);
34extern bool getSMBOemProcessorType(returnType *value);
35extern bool getSMBMemoryDeviceMemoryType(returnType *value);
36extern bool getSMBMemoryDeviceMemorySpeed(returnType *value);
37extern bool getSMBMemoryDeviceManufacturer(returnType *value);
38extern bool getSMBMemoryDeviceSerialNumber(returnType *value);
39extern bool getSMBMemoryDevicePartNumber(returnType *value);
40
41SMBEntryPoint *getAddressOfSmbiosTable(void);
42
43#endif /* !__LIBSAIO_SMBIOS_GETTERS_H */
44

Archive Download this file

Revision: 842