-
Notifications
You must be signed in to change notification settings - Fork 23
/
smbios.h
48 lines (44 loc) · 1.21 KB
/
smbios.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef __FRULIB_SMBIOS_CHASSIS_H__
#define __FRULIB_SMBIOS_CHASSIS_H__
/*
* This file contains definitions for various enums defined
* in DMTF SMBIOS Specification.
*/
enum {
SMBIOS_CHASSIS_UNDEFINED,
SMBIOS_CHASSIS_OTHER,
SMBIOS_CHASSIS_UNKNOWN,
SMBIOS_CHASSIS_DESKTOP,
SMBIOS_CHASSIS_LPDESKTOP,
SMBIOS_CHASSIS_PIZZABOX,
SMBIOS_CHASSIS_MINITOWER,
SMBIOS_CHASSIS_TOWER,
SMBIOS_CHASSIS_PORTABLE,
SMBIOS_CHASSIS_LAPTOP,
SMBIOS_CHASSIS_NOTEBOOK,
SMBIOS_CHASSIS_HANDHELD,
SMBIOS_CHASSIS_DOCKSTATION,
SMBIOS_CHASSIS_AIO,
SMBIOS_CHASSIS_SUBNOTEBOOK,
SMBIOS_CHASSIS_SPACESAVING,
SMBIOS_CHASSIS_LUNCHBOX,
SMBIOS_CHASSIS_MAINSERVER,
SMBIOS_CHASSIS_EXPANSION,
SMBIOS_CHASSIS_SUBCHASSIS,
SMBIOS_CHASSIS_BUSEXPANSION,
SMBIOS_CHASSIS_PERIPHERAL,
SMBIOS_CHASSIS_RAID,
SMBIOS_CHASSIS_RACKMOUNT,
SMBIOS_CHASSIS_SEALED,
SMBIOS_CHASSIS_MULTISYSTEM,
SMBIOS_CHASSIS_COMPACT_PCI,
SMBIOS_CHASSIS_ADVANCED_TCA,
SMBIOS_CHASSIS_BLADE,
SMBIOS_CHASSIS_BLADE_ENCLOSURE,
SMBIOS_CHASSIS_TABLET,
SMBIOS_CHASSIS_CONVERTIBLE,
SMBIOS_CHASSIS_DETACHABLE,
SMBIOS_CHASSIS_TYPES_TOTAL,
};
#define SMBIOS_CHASSIS_IS_VALID(t) ((t) > SMBIOS_CHASSIS_UNDEFINED && (t) < SMBIOS_CHASSIS_TYPES_TOTAL)
#endif // __FRULIB_SMBIOS_CHASSIS_H__