S3 code whitespaces changes.
some blank changing is integrated into the previous patches, which hold the unsplitted diff hunk. Change-Id: If9e5066927c5e27fee7ac8422dbfbf2cbeac7df5 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: zbao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/625 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
This commit is contained in:
@ -81,6 +81,10 @@ AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
|||||||
AGESA_STATUS CalloutStatus;
|
AGESA_STATUS CalloutStatus;
|
||||||
UINTN CallOutCount = sizeof (BiosCallouts) / sizeof (BiosCallouts [0]);
|
UINTN CallOutCount = sizeof (BiosCallouts) / sizeof (BiosCallouts [0]);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* printk(BIOS_SPEW,"%s function: %x\n", __func__, (u32) Func);
|
||||||
|
*/
|
||||||
|
|
||||||
CalloutStatus = AGESA_UNSUPPORTED;
|
CalloutStatus = AGESA_UNSUPPORTED;
|
||||||
|
|
||||||
for (i = 0; i < CallOutCount; i++) {
|
for (i = 0; i < CallOutCount; i++) {
|
||||||
@ -151,6 +155,7 @@ AGESA_STATUS BiosAllocateBuffer (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
|||||||
/* If BufferHandle has not been allocated on the heap, CurrNodePtr here points
|
/* If BufferHandle has not been allocated on the heap, CurrNodePtr here points
|
||||||
to the end of the allocated nodes list.
|
to the end of the allocated nodes list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
/* Find the node that best fits the requested buffer size */
|
/* Find the node that best fits the requested buffer size */
|
||||||
FreedNodeOffset = BiosHeapBasePtr->StartOfFreedNodes;
|
FreedNodeOffset = BiosHeapBasePtr->StartOfFreedNodes;
|
||||||
@ -283,6 +288,7 @@ AGESA_STATUS BiosDeallocateBuffer (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
|||||||
/* Clear the BufferSize and NextNodeOffset of the previous first node */
|
/* Clear the BufferSize and NextNodeOffset of the previous first node */
|
||||||
FreedNodePtr->BufferSize = 0;
|
FreedNodePtr->BufferSize = 0;
|
||||||
FreedNodePtr->NextNodeOffset = 0;
|
FreedNodePtr->NextNodeOffset = 0;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
/* Otherwise, add freed node to the start of the list
|
/* Otherwise, add freed node to the start of the list
|
||||||
Update NextNodeOffset and BufferSize to include the
|
Update NextNodeOffset and BufferSize to include the
|
||||||
@ -329,6 +335,7 @@ AGESA_STATUS BiosDeallocateBuffer (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
|||||||
if (AllocNodeOffset == EndNodeOffset) {
|
if (AllocNodeOffset == EndNodeOffset) {
|
||||||
PrevNodePtr->NextNodeOffset = AllocNodePtr->NextNodeOffset;
|
PrevNodePtr->NextNodeOffset = AllocNodePtr->NextNodeOffset;
|
||||||
PrevNodePtr->BufferSize += AllocNodePtr->BufferSize;
|
PrevNodePtr->BufferSize += AllocNodePtr->BufferSize;
|
||||||
|
|
||||||
AllocNodePtr->BufferSize = 0;
|
AllocNodePtr->BufferSize = 0;
|
||||||
AllocNodePtr->NextNodeOffset = 0;
|
AllocNodePtr->NextNodeOffset = 0;
|
||||||
} else {
|
} else {
|
||||||
|
@ -73,13 +73,6 @@
|
|||||||
*----------------------------------------------------------------------------------------
|
*----------------------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
VOID
|
|
||||||
ExecuteFinalHltInstruction (
|
|
||||||
IN UINT32 SharedCore,
|
|
||||||
IN AP_MTRR_SETTINGS *ApMtrrSettingsList,
|
|
||||||
IN AMD_CONFIG_PARAMS *StdHeader
|
|
||||||
);
|
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
SetIdtr (
|
SetIdtr (
|
||||||
IN IDT_BASE_LIMIT *IdtInfo,
|
IN IDT_BASE_LIMIT *IdtInfo,
|
||||||
|
Reference in New Issue
Block a user