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