diff options
author | Eric Dong <eric.dong@intel.com> | 2018-09-05 14:22:18 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2018-09-06 08:04:29 +0800 |
commit | e23d9c3ed86c12f93c9c432cf80add850911e44a (patch) | |
tree | 5ed7001ca6d6ce680359f49439fc9e632be9220b | |
parent | c3d5d800d775095e0bbd0ac8862df234cdd4332d (diff) | |
download | edk2-e23d9c3ed86c12f93c9c432cf80add850911e44a.zip edk2-e23d9c3ed86c12f93c9c432cf80add850911e44a.tar.gz edk2-e23d9c3ed86c12f93c9c432cf80add850911e44a.tar.bz2 |
UefiCpuPkg/MpInitLib: Fix ECC issues.
Fix trailing white spaces and invalid line ending issue.
Cc: Dandan Bi <dandan.bi@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
-rw-r--r-- | UefiCpuPkg/Library/MpInitLib/MpLib.c | 2 | ||||
-rw-r--r-- | UefiCpuPkg/Library/MpInitLib/MpLib.h | 2 | ||||
-rw-r--r-- | UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf | 2 | ||||
-rw-r--r-- | UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.c b/UefiCpuPkg/Library/MpInitLib/MpLib.c index 3778766..5c562d4 100644 --- a/UefiCpuPkg/Library/MpInitLib/MpLib.c +++ b/UefiCpuPkg/Library/MpInitLib/MpLib.c @@ -1014,7 +1014,7 @@ WakeUpAP ( CpuData = &CpuMpData->CpuData[Index];
//
// All AP(include disabled AP) will be woke up by INIT-SIPI-SIPI, but
- // the AP procedure will be skipped for disabled AP because AP state
+ // the AP procedure will be skipped for disabled AP because AP state
// is not CpuStateReady.
//
if (GetApState (CpuData) == CpuStateDisabled && !WakeUpDisabledAps) {
diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.h b/UefiCpuPkg/Library/MpInitLib/MpLib.h index 75f3fdd..773db76 100644 --- a/UefiCpuPkg/Library/MpInitLib/MpLib.h +++ b/UefiCpuPkg/Library/MpInitLib/MpLib.h @@ -257,7 +257,7 @@ struct _CPU_MP_DATA { // Whether need to use Init-Sipi-Sipi to wake up the APs.
// Two cases need to set this value to TRUE. One is in HLT
// loop mode, the other is resume from S3 which loop mode
- // will be hardcode change to HLT mode by PiSmmCpuDxeSmm
+ // will be hardcode change to HLT mode by PiSmmCpuDxeSmm
// driver.
//
BOOLEAN WakeUpByInitSipiSipi;
diff --git a/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf b/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf index 43a3b3b..81036f0 100644 --- a/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf +++ b/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf @@ -67,4 +67,4 @@ gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate ## SOMETIMES_CONSUMES
[Guids]
- gEdkiiS3SmmInitDoneGuid
\ No newline at end of file + gEdkiiS3SmmInitDoneGuid
diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c index 4143ee4..fa7e107 100644 --- a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c +++ b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c @@ -516,7 +516,7 @@ AllocateAcpiCpuData ( //
// Allocate buffer for empty RegisterTable and PreSmmInitRegisterTable for all CPUs
- //
+ //
TableSize = 2 * NumberOfCpus * sizeof (CPU_REGISTER_TABLE);
RegisterTable = AllocatePages (EFI_SIZE_TO_PAGES (TableSize));
ASSERT (RegisterTable != NULL);
|