summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkPkg/Include/Framework/StatusCode.h
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFrameworkPkg/Include/Framework/StatusCode.h')
-rw-r--r--IntelFrameworkPkg/Include/Framework/StatusCode.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/IntelFrameworkPkg/Include/Framework/StatusCode.h b/IntelFrameworkPkg/Include/Framework/StatusCode.h
index 91b9d08a08..41b7720f2c 100644
--- a/IntelFrameworkPkg/Include/Framework/StatusCode.h
+++ b/IntelFrameworkPkg/Include/Framework/StatusCode.h
@@ -880,4 +880,16 @@
//
#define EFI_DC_UNSPECIFIED 0x0
+///////////////////////////////////////////////////////////////////////////////
+// Common Status Code Definitions
+///////////////////////////////////////////////////////////////////////////////
+///
+/// This is the max data size including all the headers which can be passed
+/// as Status Code data. This data should be multiple of 8 byte
+/// to avoid any kind of boundary issue. Also, sum of this data size (inclusive
+/// of size of EFI_STATUS_CODE_DATA should not exceed the max record size of
+/// data hub
+///
+#define EFI_STATUS_CODE_DATA_MAX_SIZE 200
+
#endif