]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
Update comments
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Guid / StatusCodeDataTypeDebug.h
index c9e547312ad9cdff17e934502dd262b5181a1447..ee679cf0eb7435c9db00734120a2e4fb35de50aa 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
-  GUID used to pass DEBUG() macro information through the Status Code Protocol\r
-  and Status Code PPI\r
+  This file defines the GUID and data structure used to pass DEBUG() macro \r
+  information to the Status Code Protocol and Status Code PPI.\r
 \r
-  Copyright (c) 2007, Intel Corporation\r
+  Copyright (c) 2007 - 2009, Intel Corporation\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 #ifndef _STATUS_CODE_DATA_TYPE_DEBUG_H_\r
 #define _STATUS_CODE_DATA_TYPE_DEBUG_H_\r
 \r
-//\r
-// Debug DataType defintions.\r
-//\r
-\r
+///\r
+/// Global ID used to identify a structure of type EFI_DEBUG_INFO\r
+///\r
 #define EFI_STATUS_CODE_DATA_TYPE_DEBUG_GUID \\r
-  { 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xb9 } }\r
-\r
+  { \\r
+    0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xb9 } \\r
+  }\r
+\r
+///\r
+/// The maximum size of an EFI_DEBUG_INO structure\r
+///\r
+#define EFI_STATUS_CODE_DATA_MAX_SIZE 200\r
+\r
+///\r
+/// This structure contains the ErrorLevel passed into the DEBUG() macro followed \r
+/// by a 96-byte buffer that contains the variable argument list passed to the \r
+//  DEBUG() macro that has been converted to a BASE_LIST.  The 96-byte buffer is \r
+/// followed by a Null terminated ASCII string that is the Format string passed \r
+/// to the DEBUG() macro.  The maximum size of this structure is defined by \r
+/// EFI_STATUS_CODE_DATA_MAX_SIZE.\r
+///\r
 typedef struct {\r
+  ///\r
+  /// The debug error level passed into a DEBUG() macro.\r
+  ///\r
   UINT32  ErrorLevel;\r
-  //\r
-  // 12 * sizeof (UINT64) Var Arg stack\r
-  //\r
-  // ascii DEBUG () Format string\r
-  //\r
 } EFI_DEBUG_INFO;\r
 \r
 extern EFI_GUID gEfiStatusCodeDataTypeDebugGuid;\r