]> git.proxmox.com Git - mirror_edk2.git/commitdiff
update file/function comments to list the string length limitation.
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 24 Dec 2009 03:22:31 +0000 (03:22 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 24 Dec 2009 03:22:31 +0000 (03:22 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9596 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c

index e87947735f736b2dc6e327cb599308151339d78f..52e7c95e73c0758286b6b7ff0fcfbfedfdcfc362 100644 (file)
@@ -25,7 +25,7 @@
   }\r
 \r
 ///\r
-/// The maximum size of an EFI_DEBUG_INO structure\r
+/// The maximum size of an EFI_DEBUG_INFO structure\r
 ///\r
 #define EFI_STATUS_CODE_DATA_MAX_SIZE 200\r
 \r
index 20f52f86bfbec31d7afb6c20da403dfdd0d2a10a..980255165dffcec0ec3d513564801e0fb654f1f0 100644 (file)
@@ -1,6 +1,9 @@
 /** @file\r
   Debug Library based on report status code library.\r
 \r
+  Note that if the debug message length is larger than the maximum allowable\r
+  record length, then the debug message will be ignored directly.\r
+\r
   Copyright (c) 2006 - 2009, Intel Corporation<BR>\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
@@ -32,6 +35,9 @@
 \r
   If Format is NULL, then ASSERT().\r
 \r
+  If the length of the message string specificed by Format is larger than the maximum allowable\r
+  record length, then directly return and not print it.\r
+\r
   @param  ErrorLevel  The error level of the debug message.\r
   @param  Format      Format string for the debug message to print.\r
   @param  ...         Variable argument list whose contents are accessed \r