/** @file\r
Serial I/O status code reporting worker.\r
\r
- Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
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
CHAR8 *Filename;\r
CHAR8 *Description;\r
CHAR8 *Format;\r
- CHAR8 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE];\r
+ CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH];\r
UINT32 ErrorLevel;\r
UINT32 LineNumber;\r
UINTN CharCount;\r
/** @file\r
Internal include file for Status Code Handler PEIM.\r
\r
- Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
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
#include <Library/PeimEntryPoint.h>\r
#include <Library/BaseMemoryLib.h>\r
\r
+//\r
+// Define the maximum message length\r
+//\r
+#define MAX_DEBUG_MESSAGE_LENGTH 0x100\r
+\r
/**\r
Convert status code value and extended data to readable ASCII string, send string to serial I/O device.\r
\r
/** @file\r
Serial I/O status code reporting worker.\r
\r
- Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
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
CHAR8 *Filename;\r
CHAR8 *Description;\r
CHAR8 *Format;\r
- CHAR8 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE];\r
+ CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH];\r
UINT32 ErrorLevel;\r
UINT32 LineNumber;\r
UINTN CharCount;\r
/** @file\r
Internal include file for Status Code Handler Driver.\r
\r
- Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
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
#include <Library/UefiRuntimeLib.h>\r
#include <Library/SerialPortLib.h>\r
\r
+//\r
+// Define the maximum message length\r
+//\r
+#define MAX_DEBUG_MESSAGE_LENGTH 0x100\r
+\r
//\r
// Runtime memory status code worker definition\r
//\r
/** @file\r
Serial I/O status code reporting worker.\r
\r
- Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
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
CHAR8 *Filename;\r
CHAR8 *Description;\r
CHAR8 *Format;\r
- CHAR8 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE];\r
+ CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH];\r
UINT32 ErrorLevel;\r
UINT32 LineNumber;\r
UINTN CharCount;\r
/** @file\r
Internal include file for Status Code Handler Driver.\r
\r
- Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
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
#include <Library/MemoryAllocationLib.h>\r
#include <Library/BaseMemoryLib.h>\r
\r
+//\r
+// Define the maximum message length\r
+//\r
+#define MAX_DEBUG_MESSAGE_LENGTH 0x100\r
+\r
//\r
// Runtime memory status code worker definition\r
//\r