aboutsummaryrefslogtreecommitdiff
path: root/include/ipmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ipmi.h')
-rw-r--r--include/ipmi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ipmi.h b/include/ipmi.h
index a1a236d..b33041b 100644
--- a/include/ipmi.h
+++ b/include/ipmi.h
@@ -144,6 +144,14 @@
#define IPMI_MAX_REQ_SIZE 60
#define IPMI_MAX_RESP_SIZE 60
+/*
+ * As far as I can tell the size of PEL record is unbounded (due to
+ * the possible presence of the user defined section). We chose this
+ * size because it's what hostboot also uses and most of the OPAL logs
+ * are few hundred bytes.
+ */
+#define IPMI_MAX_PEL_SIZE 0x800
+
struct ipmi_backend;
struct ipmi_msg {
/* Can be used by command implementations to track requests */