blob: 0df4b6d99668a7543c817c815c8c4730ded03723 (
plain) (
blame)
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
|
#ifndef MELVIX_SMBIOS_H
#define MELVIX_SMBIOS_H
#include <stdint.h>
#include <multiboot.h>
struct smbios_0 {
char *vendor;
char *bios_version;
u16 bios_start;
char *bios_release_data;
u8 bios_size;
u64 bios_characteristics;
};
struct smbios_1 {
char *manufacturer;
char *product_name;
char *version;
char *serial_number;
u8 uuid[16];
u8 wakeup_type;
};
void smbios_init(struct multiboot_tag_smbios *tag);
#endif
|