VirtualBox

Ignore:
Timestamp:
Oct 29, 2015 4:30:44 AM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

Location:
trunk/src/VBox/Devices/EFI/Firmware
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware

  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.c

    r58464 r58466  
    11/** @file
    2  
     2
    33  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.
    1111
    1212**/
     
    9898CHAR16 mNameString[PROFILE_NAME_STRING_LENGTH + 1];
    9999
    100 /** 
     100/**
    101101  Get the file name portion of the Pdb File Name.
    102  
     102
    103103  The portion of the Pdb File Name between the last backslash and
    104104  either a following period or the end of the string is converted
    105105  to Unicode and copied into UnicodeBuffer.  The name is truncated,
    106106  if necessary, to ensure that UnicodeBuffer is not overrun.
    107  
     107
    108108  @param[in]  PdbFileName     Pdb file name.
    109109  @param[out] UnicodeBuffer   The resultant Unicode File Name.
    110  
     110
    111111**/
    112112VOID
     
    150150}
    151151
    152 /** 
     152/**
    153153  Get a human readable name for an image.
    154154  The following methods will be tried orderly:
     
    237237  Print (L"      Signature     - 0x%08x\n", AllocInfo->Header.Signature);
    238238  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);
    240240  Print (L"      CallerAddress - 0x%016lx (Offset: 0x%08x)\n", AllocInfo->CallerAddress, (UINTN) (AllocInfo->CallerAddress - DriverInfo->ImageBase));
    241241  Print (L"      SequenceId    - 0x%08x\n", AllocInfo->SequenceId);
     
    273273  Print (L"    Signature               - 0x%08x\n", DriverInfo->Header.Signature);
    274274  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);
    276276  GetDriverNameString (DriverInfo);
    277277  Print (L"    FileName                - %s\n", &mNameString);
     
    325325  Print (L"  Signature                     - 0x%08x\n", Context->Header.Signature);
    326326  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);
    328328  Print (L"  CurrentTotalUsage             - 0x%016lx\n", Context->CurrentTotalUsage);
    329329  Print (L"  PeakTotalUsage                - 0x%016lx\n", Context->PeakTotalUsage);
     
    370370  Print (L"    Signature               - 0x%08x\n", Descriptor->Header.Signature);
    371371  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);
    373373  Print (L"    Address                 - 0x%016lx\n", Descriptor->Address);
    374374  Print (L"    Size                    - 0x%016lx\n", Descriptor->Size);
     
    399399  Print (L"  Signature                     - 0x%08x\n", FreeMemory->Header.Signature);
    400400  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);
    402402  Print (L"  TotalFreeMemoryPages          - 0x%016lx\n", FreeMemory->TotalFreeMemoryPages);
    403403  Print (L"  FreeMemoryEntryCount          - 0x%08x\n", FreeMemory->FreeMemoryEntryCount);
     
    436436  Print (L"  Signature                     - 0x%08x\n", MemoryRange->Header.Signature);
    437437  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);
    439439  Print (L"  MemoryRangeCount              - 0x%08x\n", MemoryRange->MemoryRangeCount);
    440440
     
    699699  as the real entry point for the image goes into a library that calls this function.
    700700
    701   @param[in] ImageHandle    The firmware allocated handle for the EFI image. 
     701  @param[in] ImageHandle    The firmware allocated handle for the EFI image.
    702702  @param[in] SystemTable    A pointer to the EFI System Table.
    703  
     703
    704704  @retval EFI_SUCCESS       The entry point is executed successfully.
    705705  @retval other             Some error occurs when executing this entry point.
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.inf

    r58464 r58466  
    4949  PeCoffGetEntryPointLib
    5050  PrintLib
    51  
     51
    5252[Guids]
    5353  ## SOMETIMES_CONSUMES   ## GUID # Locate protocol
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette