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 | ␊ |
11 | typedef enum {␊ |
12 | ␉kSMBString,␊ |
13 | ␉kSMBByte,␊ |
14 | ␉kSMBWord,␊ |
15 | ␉kSMBDWord␊ |
16 | //␉kSMBQWord␊ |
17 | } SMBValueType;␊ |
18 | ␊ |
19 | typedef union {␊ |
20 | ␉const char␉*string;␊ |
21 | ␉uint8_t␉␉byte;␊ |
22 | ␉uint16_t␉word;␊ |
23 | ␉uint32_t␉dword;␊ |
24 | //␉uint64_t␉qword;␊ |
25 | } returnType;␊ |
26 | ␊ |
27 | extern bool getProcessorInformationExternalClock(returnType *value);␊ |
28 | extern bool getProcessorInformationMaximumClock(returnType *value);␊ |
29 | extern bool getSMBOemProcessorBusSpeed(returnType *value);␊ |
30 | extern bool getSMBOemProcessorType(returnType *value);␊ |
31 | extern bool getSMBMemoryDeviceMemoryType(returnType *value);␊ |
32 | extern bool getSMBMemoryDeviceMemorySpeed(returnType *value);␊ |
33 | extern bool getSMBMemoryDeviceManufacturer(returnType *value);␊ |
34 | extern bool getSMBMemoryDeviceSerialNumber(returnType *value);␊ |
35 | extern bool getSMBMemoryDevicePartNumber(returnType *value);␊ |
36 | ␊ |
37 | #endif /* !__LIBSAIO_SMBIOS_GETTERS_H */␊ |
38 | |