Value,\r
Instance\r
);\r
+ } else if (CompareGuid (&Data->Type, &gEfiStatusCodeDataTypeStringGuid) &&\r
+ ((EFI_STATUS_CODE_STRING_DATA *) Data)->StringType == EfiStringAscii) {\r
+ //\r
+ // EFI_STATUS_CODE_STRING_DATA\r
+ //\r
+ CharCount = AsciiSPrint (\r
+ Buffer,\r
+ sizeof (Buffer),\r
+ "%a\n\r",\r
+ ((EFI_STATUS_CODE_STRING_DATA *) Data)->String.Ascii\r
+ );\r
} else {\r
//\r
// Code type is not defined.\r
#include <Library/PcdLib.h>\r
#include <Library/PeiServicesLib.h>\r
#include <Library/PeimEntryPoint.h>\r
+#include <Library/BaseMemoryLib.h>\r
\r
/**\r
Convert status code value and extended data to readable ASCII string, send string to serial I/O device.\r
ReportStatusCodeLib\r
PrintLib\r
DebugLib\r
-\r
+ BaseMemoryLib\r
+ \r
[Guids]\r
gMemoryStatusCodeRecordGuid ## SOMETIMES_CONSUMES ## HOB\r
-\r
+ gEfiStatusCodeDataTypeStringGuid ## CONSUMES\r
+ \r
[Ppis]\r
gEfiPeiRscHandlerPpiGuid ## CONSUMES\r
\r
/** @file\r
Serial I/O status code reporting worker.\r
\r
- Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2010, 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
Value, \r
Instance\r
);\r
+ } else if (CompareGuid (&Data->Type, &gEfiStatusCodeDataTypeStringGuid) &&\r
+ ((EFI_STATUS_CODE_STRING_DATA *) Data)->StringType == EfiStringAscii) {\r
+ //\r
+ // EFI_STATUS_CODE_STRING_DATA\r
+ //\r
+ CharCount = AsciiSPrint (\r
+ Buffer,\r
+ sizeof (Buffer),\r
+ "%a\n\r",\r
+ ((EFI_STATUS_CODE_STRING_DATA *) Data)->String.Ascii\r
+ );\r
} else {\r
//\r
// Code type is not defined.\r
/** @file\r
Internal include file for Status Code Handler Driver.\r
\r
- Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2010, 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 <Guid/EventGroup.h>\r
\r
#include <Library/SynchronizationLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
#include <Library/DebugLib.h>\r
#include <Library/ReportStatusCodeLib.h>\r
#include <Library/PrintLib.h>\r
ReportStatusCodeLib\r
DebugLib\r
SynchronizationLib\r
-\r
+ BaseMemoryLib\r
+ \r
[Guids]\r
gMemoryStatusCodeRecordGuid ## CONSUMES ## HOB\r
gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r
gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r
+ gEfiStatusCodeDataTypeStringGuid ## CONSUMES\r
\r
[Protocols]\r
gEfiRscHandlerProtocolGuid ## CONSUMES\r
/** @file\r
Serial I/O status code reporting worker.\r
\r
- Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2010, 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
Value, \r
Instance\r
);\r
+ } else if (CompareGuid (&Data->Type, &gEfiStatusCodeDataTypeStringGuid) &&\r
+ ((EFI_STATUS_CODE_STRING_DATA *) Data)->StringType == EfiStringAscii) {\r
+ //\r
+ // EFI_STATUS_CODE_STRING_DATA\r
+ //\r
+ CharCount = AsciiSPrint (\r
+ Buffer,\r
+ sizeof (Buffer),\r
+ "%a\n\r",\r
+ ((EFI_STATUS_CODE_STRING_DATA *) Data)->String.Ascii\r
+ );\r
} else {\r
//\r
// Code type is not defined.\r
#include <Library/SmmServicesTableLib.h>\r
#include <Library/SerialPortLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
\r
//\r
// Runtime memory status code worker definition\r
DebugLib\r
SynchronizationLib\r
MemoryAllocationLib\r
-\r
+ BaseMemoryLib\r
+ \r
[Guids]\r
gMemoryStatusCodeRecordGuid ## CONSUMES ## HOB\r
+ gEfiStatusCodeDataTypeStringGuid ## CONSUMES\r
\r
[Protocols]\r
gEfiSmmRscHandlerProtocolGuid ## CONSUMES\r