6 * System Management BIOS
11 /** An SMBIOS structure header */
12 struct smbios_header {
19 } __attribute__ (( packed ));
21 /** SMBIOS system information structure */
22 struct smbios_system_information {
23 /** SMBIOS structure header */
24 struct smbios_header header;
25 /** Manufacturer string */
31 /** Serial number string */
37 } __attribute__ (( packed ));
39 /** SMBIOS system information structure type */
40 #define SMBIOS_TYPE_SYSTEM_INFORMATION 1
42 struct smbios_strings;
43 extern int find_smbios_structure ( unsigned int type,
44 void *structure, size_t length,
45 struct smbios_strings *strings );
46 extern int find_smbios_string ( struct smbios_strings *strings,
48 char *buffer, size_t length );
50 #endif /* _SMBIOS_H */