Changeset 48737 in vbox
- Timestamp:
- Sep 27, 2013 1:28:54 PM (11 years ago)
- 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 7 7 8 8 Copyright (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. 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. 11 11 The full text of the license may be found at 12 http://opensource.org/licenses/bsd-license.php. 12 http://opensource.org/licenses/bsd-license.php. 13 13 14 14 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, … … 60 60 @param Buffer Output buffer that contains the data read from the PE/COFF image. 61 61 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 65 65 could not be read due to a device error. 66 66 … … 122 122 /// 123 123 /// 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. 125 125 /// Otherwise, it's the offset to the PE/COFF header. 126 126 /// … … 193 193 /// 194 194 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 195 205 /// 196 206 /// Private storage for implementation specific data. 197 207 /// 198 UINT64 Context; 208 UINT64 Context; 199 209 } PE_COFF_LOADER_IMAGE_CONTEXT; 200 210 … … 214 224 to invoking this service. 215 225 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 218 228 examined by this function. 219 229 … … 323 333 @param Buffer Output buffer that contains the data read from the PE/COFF image. 324 334 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 326 336 the buffer. 327 337 **/ … … 350 360 prior to transferring control to a PE/COFF image that is loaded using this library. 351 361 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 353 363 and relocated into system memory. 354 364 @param VirtImageBase The request virtual address that the PE/COFF image is to
Note:
See TracChangeset
for help on using the changeset viewer.