aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/dmi/dmi_base_board.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/gplinclude/dmi/dmi_base_board.h')
-rw-r--r--com32/gplinclude/dmi/dmi_base_board.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/com32/gplinclude/dmi/dmi_base_board.h b/com32/gplinclude/dmi/dmi_base_board.h
index 3d5fb557..0b45ccad 100644
--- a/com32/gplinclude/dmi/dmi_base_board.h
+++ b/com32/gplinclude/dmi/dmi_base_board.h
@@ -14,17 +14,19 @@
#define DMI_BASE_BOARD_H
#include "stdbool.h"
-#define BASE_BOARD_MANUFACTURER_SIZE 32
-#define BASE_BOARD_PRODUCT_NAME_SIZE 32
-#define BASE_BOARD_VERSION_SIZE 16
-#define BASE_BOARD_SERIAL_SIZE 32
-#define BASE_BOARD_ASSET_TAG_SIZE 32
-#define BASE_BOARD_LOCATION_SIZE 32
+#define BASE_BOARD_MANUFACTURER_SIZE 65
+#define BASE_BOARD_PRODUCT_NAME_SIZE 65
+#define BASE_BOARD_VERSION_SIZE 65
+#define BASE_BOARD_SERIAL_SIZE 65
+#define BASE_BOARD_ASSET_TAG_SIZE 65
+#define BASE_BOARD_LOCATION_SIZE 65
#define BASE_BOARD_FEATURES_SIZE 32
#define BASE_BOARD_TYPE_SIZE 32
#define BASE_BOARD_NB_ELEMENTS 5
+#define BASE_BOARD_DEVICE_DESCRIPTION 65
+
extern const char *base_board_features_strings[];
/* this struct have BASE_BOARD_NB_ELEMENTS */
@@ -51,7 +53,7 @@ typedef struct {
struct {
char type[16];
uint8_t status;
- char description[10];
+ char description[BASE_BOARD_DEVICE_DESCRIPTION];
} devices_information[10];
} s_base_board;