IntelFsp2Pkg: 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>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# Sec Core for FSP
|
||||
#
|
||||
# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2016 - 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
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
IntelFsp2Pkg/IntelFsp2Pkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
|
@@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# Sec Core for FSP
|
||||
#
|
||||
# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2016 - 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
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
IntelFsp2Pkg/IntelFsp2Pkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
|
@@ -1,7 +1,7 @@
|
||||
;; @file
|
||||
; Provide FSP API entry points.
|
||||
;
|
||||
; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
||||
; Copyright (c) 2016 - 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
|
||||
@@ -116,10 +116,10 @@ ASM_PFX(FspApiCommonContinue):
|
||||
sidt [esp]
|
||||
|
||||
|
||||
; Get Stackbase and StackSize from FSPM_UPD Param
|
||||
mov edx, [esp + API_PARAM1_OFFSET]
|
||||
; Get Stackbase and StackSize from FSPM_UPD Param
|
||||
mov edx, [esp + API_PARAM1_OFFSET]
|
||||
cmp edx, 0
|
||||
jnz FspStackSetup
|
||||
jnz FspStackSetup
|
||||
|
||||
; Get UPD default values if FspmUpdDataPtr (ApiParam1) is null
|
||||
push eax
|
||||
@@ -127,7 +127,7 @@ ASM_PFX(FspApiCommonContinue):
|
||||
mov edx, [eax + FSP_HEADER_IMGBASE_OFFSET]
|
||||
add edx, [eax + FSP_HEADER_CFGREG_OFFSET]
|
||||
pop eax
|
||||
|
||||
|
||||
FspStackSetup:
|
||||
mov edi, [edx + FSPM_UPD_COMMON.StackBase]
|
||||
mov ecx, [edx + FSPM_UPD_COMMON.StackSize]
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @file
|
||||
|
||||
Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2014 - 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
|
||||
@@ -154,7 +154,7 @@ FspGlobalDataInit (
|
||||
// Set API calling mode
|
||||
//
|
||||
SetFspApiCallingIndex (ApiIdx);
|
||||
|
||||
|
||||
//
|
||||
// Set UPD pointer
|
||||
//
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @file
|
||||
|
||||
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2016 - 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
|
||||
@@ -33,7 +33,7 @@ FspApiCallingCheck (
|
||||
|
||||
Status = EFI_SUCCESS;
|
||||
FspData = GetFspGlobalDataPointer ();
|
||||
|
||||
|
||||
if (ApiIdx == NotifyPhaseApiIndex) {
|
||||
//
|
||||
// NotifyPhase check
|
||||
@@ -92,6 +92,6 @@ FspApiCallingCheck (
|
||||
SetFspApiCallingIndex (ApiIdx);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @file
|
||||
|
||||
Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2014 - 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
|
||||
@@ -133,7 +133,7 @@ SecStartup (
|
||||
|
||||
//
|
||||
// Call PeiCore Entry
|
||||
//
|
||||
//
|
||||
PeiCore (&SecCoreData, mPeiSecPlatformInformationPpi);
|
||||
|
||||
//
|
||||
@@ -177,7 +177,7 @@ SecTemporaryRamSupport (
|
||||
|
||||
HeapSize = CopySize * PcdGet8 (PcdFspHeapSizePercentage) / 100 ;
|
||||
StackSize = CopySize - HeapSize;
|
||||
|
||||
|
||||
OldHeap = (VOID*)(UINTN)TemporaryMemoryBase;
|
||||
NewHeap = (VOID*)((UINTN)PermanentMemoryBase + StackSize);
|
||||
|
||||
|
Reference in New Issue
Block a user