aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/dmi/dmi_system.h
blob: 5a461d5f2f67a50583cf74c394cf3ad29f26e379 (plain)
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
/* ----------------------------------------------------------------------- *
 *
 *   Copyright 2006 Erwan Velu - All Rights Reserved
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, Inc., 53 Temple Place Ste 330,
 *   Boston MA 02111-1307, USA; either version 2 of the License, or
 *   (at your option) any later version; incorporated herein by reference.
 *
 * ----------------------------------------------------------------------- */

#ifndef DMI_SYSTEM_H
#define DMI_SYSTEM_H

#define SYSTEM_MANUFACTURER_SIZE	32
#define SYSTEM_PRODUCT_NAME_SIZE	32
#define SYSTEM_VERSION_SIZE		16
#define SYSTEM_SERIAL_SIZE		32
#define SYSTEM_UUID_SIZE		40
#define SYSTEM_WAKEUP_TYPE_SIZE		32
#define SYSTEM_SKU_NUMBER_SIZE		32
#define SYSTEM_FAMILY_SIZE		32

typedef struct {
char manufacturer[SYSTEM_MANUFACTURER_SIZE];
char product_name[SYSTEM_PRODUCT_NAME_SIZE];
char version[SYSTEM_VERSION_SIZE];
char serial[SYSTEM_SERIAL_SIZE];
char uuid[SYSTEM_UUID_SIZE];
char wakeup_type[SYSTEM_WAKEUP_TYPE_SIZE];
char sku_number[SYSTEM_SKU_NUMBER_SIZE];
char family[SYSTEM_FAMILY_SIZE];
/* The filled field have to be set to true when the dmitable implement that item */
bool filled;
} s_system;

#endif