MdeModulePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
PEI memory status code worker.
|
||||
|
||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@ -90,7 +90,7 @@ MemoryStatusCodeReportWorker (
|
||||
MEMORY_STATUSCODE_RECORD *Record;
|
||||
|
||||
//
|
||||
// Find GUID'ed HOBs to locate current record buffer.
|
||||
// Find GUID'ed HOBs to locate current record buffer.
|
||||
//
|
||||
Hob.Raw = GetFirstGuidHob (&gMemoryStatusCodeRecordGuid);
|
||||
ASSERT (Hob.Raw != NULL);
|
||||
|
@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Serial I/O status code reporting worker.
|
||||
|
||||
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@ -94,9 +94,9 @@ SerialStatusCodeReportWorker (
|
||||
Value,
|
||||
Instance
|
||||
);
|
||||
|
||||
|
||||
ASSERT(CharCount > 0);
|
||||
|
||||
|
||||
if (CallerId != NULL) {
|
||||
CharCount += AsciiSPrint (
|
||||
&Buffer[CharCount],
|
||||
|
@ -2,7 +2,7 @@
|
||||
Report Status Code Handler PEIM which produces general handlers and hook them
|
||||
onto the PEI status code router.
|
||||
|
||||
Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
/**
|
||||
Entry point of Status Code PEIM.
|
||||
|
||||
|
||||
This function is the entry point of this Status Code PEIM.
|
||||
It initializes supported status code devices according to PCD settings,
|
||||
and installs Status Code PPI.
|
||||
@ -54,13 +54,13 @@ StatusCodeHandlerPeiEntry (
|
||||
if (FeaturePcdGet (PcdStatusCodeUseSerial)) {
|
||||
Status = SerialPortInitialize();
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
Status = RscHandlerPpi->Register (SerialStatusCodeReportWorker);
|
||||
Status = RscHandlerPpi->Register (SerialStatusCodeReportWorker);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
}
|
||||
if (FeaturePcdGet (PcdStatusCodeUseMemory)) {
|
||||
Status = MemoryStatusCodeInitializeWorker ();
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
Status = RscHandlerPpi->Register (MemoryStatusCodeReportWorker);
|
||||
Status = RscHandlerPpi->Register (MemoryStatusCodeReportWorker);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# Report Status Code Handler PEIM which produces general handlers and hook them onto the PEI status code router.
|
||||
#
|
||||
# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -19,7 +19,7 @@
|
||||
MODULE_UNI_FILE = StatusCodeHandlerPei.uni
|
||||
FILE_GUID = 9D225237-FA01-464C-A949-BAABC02D31D0
|
||||
MODULE_TYPE = PEIM
|
||||
VERSION_STRING = 1.0
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = StatusCodeHandlerPeiEntry
|
||||
|
||||
#
|
||||
@ -48,13 +48,13 @@
|
||||
PrintLib
|
||||
DebugLib
|
||||
BaseMemoryLib
|
||||
|
||||
|
||||
[Guids]
|
||||
## SOMETIMES_PRODUCES ## HOB
|
||||
## SOMETIMES_CONSUMES ## HOB
|
||||
gMemoryStatusCodeRecordGuid
|
||||
gEfiStatusCodeDataTypeStringGuid ## SOMETIMES_CONSUMES ## UNDEFINED
|
||||
|
||||
|
||||
[Ppis]
|
||||
gEfiPeiRscHandlerPpiGuid ## CONSUMES
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
// /** @file
|
||||
// StatusCodeHandlerPei Localized Strings and Content
|
||||
//
|
||||
// Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
// Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
//
|
||||
// This program and the accompanying materials
|
||||
// are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -12,8 +12,8 @@
|
||||
//
|
||||
// **/
|
||||
|
||||
#string STR_PROPERTIES_MODULE_NAME
|
||||
#language en-US
|
||||
#string STR_PROPERTIES_MODULE_NAME
|
||||
#language en-US
|
||||
"Status Code Handler PEI Module"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user