aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/dmi/dmi_battery.h
diff options
context:
space:
mode:
authorLaurent Licour <laurent@licour.com>2011-01-30 20:50:59 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-30 20:50:59 +0100
commit813daa0f83959de7c1ece9381966905a538919db (patch)
treefe6fa1ad931ebb41e4a9da37610574721b74209a /com32/gplinclude/dmi/dmi_battery.h
parent98d58026c4bf38e42adcfbd5f92da29fb582d41a (diff)
downloadsyslinux-813daa0f83959de7c1ece9381966905a538919db.tar.gz
syslinux-813daa0f83959de7c1ece9381966905a538919db.tar.xz
syslinux-813daa0f83959de7c1ece9381966905a538919db.zip
DMI: Adjusting structures size / Adding cpu core
This patch adds some correction of the dmi structures but also add the support of the cpu cores/threads.
Diffstat (limited to 'com32/gplinclude/dmi/dmi_battery.h')
-rw-r--r--com32/gplinclude/dmi/dmi_battery.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/com32/gplinclude/dmi/dmi_battery.h b/com32/gplinclude/dmi/dmi_battery.h
index fae7acb5..c321aa9c 100644
--- a/com32/gplinclude/dmi/dmi_battery.h
+++ b/com32/gplinclude/dmi/dmi_battery.h
@@ -16,11 +16,11 @@
#include <stdbool.h>
#include <inttypes.h>
-#define BATTERY_LOCATION_SIZE 255
-#define BATTERY_MANUFACTURER_SIZE 255
-#define BATTERY_MANUFACTURE_DATE_SIZE 255
-#define BATTERY_SERIAL_SIZE 255
-#define BATTERY_DEVICE_NAME_SIZE 255
+#define BATTERY_LOCATION_SIZE 65
+#define BATTERY_MANUFACTURER_SIZE 65
+#define BATTERY_MANUFACTURE_DATE_SIZE 65
+#define BATTERY_SERIAL_SIZE 65
+#define BATTERY_DEVICE_NAME_SIZE 65
#define BATTERY_CHEMISTRY_SIZE 32
#define BATTERY_CAPACITY_SIZE 16
#define BATTERY_DESIGN_VOLTAGE_SIZE 16
@@ -28,7 +28,7 @@
#define BATTERY_MAXIMUM_ERROR_SIZE 32
#define BATTERY_SBDS_SERIAL_SIZE 32
#define BATTERY_SBDS_MANUFACTURE_DATE_SIZE 255
-#define BATTERY_SBDS_CHEMISTRY_SIZE 16
+#define BATTERY_SBDS_CHEMISTRY_SIZE 65
#define BATTERY_OEM_INFO_SIZE 255
typedef struct {