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:
		| @@ -2,7 +2,7 @@ | ||||
|   Create the variable to save the base address of page table and stack | ||||
|   for transferring into long mode in IA32 capsule PEI. | ||||
|  | ||||
| Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.<BR> | ||||
| Copyright (c) 2011 - 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 | ||||
| @@ -42,7 +42,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | ||||
|   This function allocates EfiReservedMemoryType below 4G memory address. | ||||
|  | ||||
|   @param  Size      Size of memory to allocate. | ||||
|    | ||||
|  | ||||
|   @return Allocated Address for output. | ||||
|  | ||||
| **/ | ||||
| @@ -164,14 +164,14 @@ PrepareContextForCapsulePei ( | ||||
|  | ||||
|   LongModeBuffer.PageTableAddress = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocateReservedMemoryBelow4G (EFI_PAGES_TO_SIZE (TotalPagesNum)); | ||||
|   ASSERT (LongModeBuffer.PageTableAddress != 0); | ||||
|    | ||||
|  | ||||
|   // | ||||
|   // Allocate stack | ||||
|   // | ||||
|   LongModeBuffer.StackSize        = PcdGet32 (PcdCapsulePeiLongModeStackSize); | ||||
|   LongModeBuffer.StackBaseAddress = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocateReservedMemoryBelow4G (PcdGet32 (PcdCapsulePeiLongModeStackSize)); | ||||
|   ASSERT (LongModeBuffer.StackBaseAddress != 0);   | ||||
|    | ||||
|   ASSERT (LongModeBuffer.StackBaseAddress != 0); | ||||
|  | ||||
|   Status = gRT->SetVariable ( | ||||
|                   EFI_CAPSULE_LONG_MODE_BUFFER_NAME, | ||||
|                   &gEfiCapsuleVendorGuid, | ||||
| @@ -190,7 +190,7 @@ PrepareContextForCapsulePei ( | ||||
|         VariableLockCapsuleLongModeBufferVariable, | ||||
|         NULL, | ||||
|         &Registration | ||||
|         );     | ||||
|         ); | ||||
|   } else { | ||||
|       DEBUG ((EFI_D_ERROR, "FATAL ERROR: CapsuleLongModeBuffer cannot be saved: %r. Capsule in PEI may fail!\n", Status)); | ||||
|       gBS->FreePages (LongModeBuffer.StackBaseAddress, EFI_SIZE_TO_PAGES (LongModeBuffer.StackSize)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user