VirtualBox

Changeset 48737 in vbox


Ignore:
Timestamp:
Sep 27, 2013 1:28:54 PM (11 years ago)
Author:
vboxsync
Message:

VBoxPkg\Include\Library\PeCoffLib.h: Removed in favor of the original, patched PE_COFF_LOADER_IMAGE_CONTEXT in the original with our two FAT related members and added missing documentation.

Location:
trunk/src/VBox/Devices/EFI/Firmware
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/PeCoffLib.h

    r48674 r48737  
    77 
    88Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
    9 This program and the accompanying materials are licensed and made available under 
    10 the terms and conditions of the BSD License that accompanies this distribution. 
     9This program and the accompanying materials are licensed and made available under
     10the terms and conditions of the BSD License that accompanies this distribution.
    1111The full text of the license may be found at
    12 http://opensource.org/licenses/bsd-license.php.                                           
     12http://opensource.org/licenses/bsd-license.php.
    1313
    1414THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
     
    6060  @param  Buffer          Output buffer that contains the data read from the PE/COFF image.
    6161 
    62   @retval RETURN_SUCCESS            The specified portion of the PE/COFF image was 
    63                                     read and the size 
    64   @retval RETURN_DEVICE_ERROR       The specified portion of the PE/COFF image 
     62  @retval RETURN_SUCCESS            The specified portion of the PE/COFF image was
     63                                    read and the size
     64  @retval RETURN_DEVICE_ERROR       The specified portion of the PE/COFF image
    6565                                    could not be read due to a device error.
    6666
     
    122122  ///
    123123  /// Set by PeCoffLoaderGetImageInfo() to offset to the PE/COFF header.
    124   /// If the PE/COFF image does not start with a DOS header, this value is zero. 
     124  /// If the PE/COFF image does not start with a DOS header, this value is zero.
    125125  /// Otherwise, it's the offset to the PE/COFF header.
    126126  ///
     
    193193  ///
    194194  PHYSICAL_ADDRESS                  HiiResourceData;
     195#ifdef VBOX /* Mach-O FAT support. */
     196  ///
     197  /// Indicates that this is a FAT image.
     198  ///
     199  BOOLEAN                           IsFat;
     200  ///
     201  /// The EFI image offset within the FAT file.
     202  ///
     203  UINT32                            FatOffset;
     204#endif
    195205  ///
    196206  /// Private storage for implementation specific data.
    197207  ///
    198   UINT64                            Context;     
     208  UINT64                            Context;
    199209} PE_COFF_LOADER_IMAGE_CONTEXT;
    200210
     
    214224  to invoking this service.
    215225
    216   @param  ImageContext              The pointer to the image context structure that 
    217                                     describes the PE/COFF image that needs to be 
     226  @param  ImageContext              The pointer to the image context structure that
     227                                    describes the PE/COFF image that needs to be
    218228                                    examined by this function.
    219229
     
    323333  @param  Buffer            Output buffer that contains the data read from the PE/COFF image.
    324334
    325   @retval RETURN_SUCCESS    The data is read from FileOffset from the Handle into 
     335  @retval RETURN_SUCCESS    The data is read from FileOffset from the Handle into
    326336                            the buffer.
    327337**/
     
    350360  prior to transferring control to a PE/COFF image that is loaded using this library.
    351361
    352   @param  ImageBase          The base address of a PE/COFF image that has been loaded 
     362  @param  ImageBase          The base address of a PE/COFF image that has been loaded
    353363                             and relocated into system memory.
    354364  @param  VirtImageBase      The request virtual address that the PE/COFF image is to
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