X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkModulePkg%2FLibrary%2FPeiDxeDebugLibReportStatusCode%2FDebugLib.c;h=980255165dffcec0ec3d513564801e0fb654f1f0;hp=20f52f86bfbec31d7afb6c20da403dfdd0d2a10a;hb=a1158366091c74f831da8232d8bbb39dc2befda9;hpb=1adf568bd1434f05f14635b35400aad0801e22b5 diff --git a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c index 20f52f86bf..980255165d 100644 --- a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c +++ b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c @@ -1,6 +1,9 @@ /** @file Debug Library based on report status code library. + Note that if the debug message length is larger than the maximum allowable + record length, then the debug message will be ignored directly. + Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -32,6 +35,9 @@ If Format is NULL, then ASSERT(). + If the length of the message string specificed by Format is larger than the maximum allowable + record length, then directly return and not print it. + @param ErrorLevel The error level of the debug message. @param Format Format string for the debug message to print. @param ... Variable argument list whose contents are accessed