Changeset 58466 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Application/MemoryProfileInfo
- Timestamp:
- Oct 29, 2015 4:30:44 AM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
- Property svn:mergeinfo changed
/vendor/edk2/current merged: 103769-103776
- Property svn:mergeinfo changed
-
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.c
r58464 r58466 1 1 /** @file 2 2 3 3 Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR> 4 This program and the accompanying materials 5 are licensed and made available under the terms and conditions of the BSD License 6 which accompanies this distribution. The full text of the license may be found at 7 http://opensource.org/licenses/bsd-license.php 8 9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 4 This program and the accompanying materials 5 are licensed and made available under the terms and conditions of the BSD License 6 which accompanies this distribution. The full text of the license may be found at 7 http://opensource.org/licenses/bsd-license.php 8 9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 11 12 12 **/ … … 98 98 CHAR16 mNameString[PROFILE_NAME_STRING_LENGTH + 1]; 99 99 100 /** 100 /** 101 101 Get the file name portion of the Pdb File Name. 102 102 103 103 The portion of the Pdb File Name between the last backslash and 104 104 either a following period or the end of the string is converted 105 105 to Unicode and copied into UnicodeBuffer. The name is truncated, 106 106 if necessary, to ensure that UnicodeBuffer is not overrun. 107 107 108 108 @param[in] PdbFileName Pdb file name. 109 109 @param[out] UnicodeBuffer The resultant Unicode File Name. 110 110 111 111 **/ 112 112 VOID … … 150 150 } 151 151 152 /** 152 /** 153 153 Get a human readable name for an image. 154 154 The following methods will be tried orderly: … … 237 237 Print (L" Signature - 0x%08x\n", AllocInfo->Header.Signature); 238 238 Print (L" Length - 0x%04x\n", AllocInfo->Header.Length); 239 Print (L" Revision - 0x%04x\n", AllocInfo->Header.Revision); 239 Print (L" Revision - 0x%04x\n", AllocInfo->Header.Revision); 240 240 Print (L" CallerAddress - 0x%016lx (Offset: 0x%08x)\n", AllocInfo->CallerAddress, (UINTN) (AllocInfo->CallerAddress - DriverInfo->ImageBase)); 241 241 Print (L" SequenceId - 0x%08x\n", AllocInfo->SequenceId); … … 273 273 Print (L" Signature - 0x%08x\n", DriverInfo->Header.Signature); 274 274 Print (L" Length - 0x%04x\n", DriverInfo->Header.Length); 275 Print (L" Revision - 0x%04x\n", DriverInfo->Header.Revision); 275 Print (L" Revision - 0x%04x\n", DriverInfo->Header.Revision); 276 276 GetDriverNameString (DriverInfo); 277 277 Print (L" FileName - %s\n", &mNameString); … … 325 325 Print (L" Signature - 0x%08x\n", Context->Header.Signature); 326 326 Print (L" Length - 0x%04x\n", Context->Header.Length); 327 Print (L" Revision - 0x%04x\n", Context->Header.Revision); 327 Print (L" Revision - 0x%04x\n", Context->Header.Revision); 328 328 Print (L" CurrentTotalUsage - 0x%016lx\n", Context->CurrentTotalUsage); 329 329 Print (L" PeakTotalUsage - 0x%016lx\n", Context->PeakTotalUsage); … … 370 370 Print (L" Signature - 0x%08x\n", Descriptor->Header.Signature); 371 371 Print (L" Length - 0x%04x\n", Descriptor->Header.Length); 372 Print (L" Revision - 0x%04x\n", Descriptor->Header.Revision); 372 Print (L" Revision - 0x%04x\n", Descriptor->Header.Revision); 373 373 Print (L" Address - 0x%016lx\n", Descriptor->Address); 374 374 Print (L" Size - 0x%016lx\n", Descriptor->Size); … … 399 399 Print (L" Signature - 0x%08x\n", FreeMemory->Header.Signature); 400 400 Print (L" Length - 0x%04x\n", FreeMemory->Header.Length); 401 Print (L" Revision - 0x%04x\n", FreeMemory->Header.Revision); 401 Print (L" Revision - 0x%04x\n", FreeMemory->Header.Revision); 402 402 Print (L" TotalFreeMemoryPages - 0x%016lx\n", FreeMemory->TotalFreeMemoryPages); 403 403 Print (L" FreeMemoryEntryCount - 0x%08x\n", FreeMemory->FreeMemoryEntryCount); … … 436 436 Print (L" Signature - 0x%08x\n", MemoryRange->Header.Signature); 437 437 Print (L" Length - 0x%04x\n", MemoryRange->Header.Length); 438 Print (L" Revision - 0x%04x\n", MemoryRange->Header.Revision); 438 Print (L" Revision - 0x%04x\n", MemoryRange->Header.Revision); 439 439 Print (L" MemoryRangeCount - 0x%08x\n", MemoryRange->MemoryRangeCount); 440 440 … … 699 699 as the real entry point for the image goes into a library that calls this function. 700 700 701 @param[in] ImageHandle The firmware allocated handle for the EFI image. 701 @param[in] ImageHandle The firmware allocated handle for the EFI image. 702 702 @param[in] SystemTable A pointer to the EFI System Table. 703 703 704 704 @retval EFI_SUCCESS The entry point is executed successfully. 705 705 @retval other Some error occurs when executing this entry point. -
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.inf
r58464 r58466 49 49 PeCoffGetEntryPointLib 50 50 PrintLib 51 51 52 52 [Guids] 53 53 ## SOMETIMES_CONSUMES ## GUID # Locate protocol
Note:
See TracChangeset
for help on using the changeset viewer.