Changeset 58459 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Ppi
- Timestamp:
- Oct 28, 2015 8:17:18 PM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
-
Property svn:mergeinfo
set to (toggle deleted branches)
/vendor/edk2/current 103735-103757
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Ppi/BlockIo.h
r48674 r58459 11 11 driver are the same, here we define a set of general PPIs for both drivers to use. 12 12 13 Copyright (c) 2007 - 201 0, Intel Corporation. All rights reserved.<BR>13 Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR> 14 14 This program and the accompanying materials are licensed and made available under 15 15 the terms and conditions of the BSD License that accompanies this distribution. … … 55 55 IdeLS120 = 2, ///< The recovery device is an IDE LS-120 56 56 UsbMassStorage= 3, ///< The recovery device is a USB Mass Storage device 57 SD = 4, ///< The recovery device is a Secure Digital device 58 EMMC = 5, ///< The recovery device is a eMMC device 59 UfsDevice = 6, ///< The recovery device is a Universal Flash Storage device 57 60 MaxDeviceType 58 61 } EFI_PEI_BLOCK_DEVICE_TYPE; -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Ppi/FirmwareVolume.h
r48674 r58459 2 2 This file provides functions for accessing a memory-mapped firmware volume of a specific format. 3 3 4 Copyright (c) 2006 - 20 08, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 155 155 156 156 /** 157 Returns information about a specific file. 158 159 This function returns information about a specific 160 file, including its file name, type, attributes, starting 161 address, size and authentication status. 162 163 @param This Points to this instance of the 164 EFI_PEI_FIRMWARE_VOLUME_PPI. 165 @param FileHandle Handle of the file. 166 @param FileInfo Upon exit, points to the file's 167 information. 168 169 @retval EFI_SUCCESS File information returned. 170 @retval EFI_INVALID_PARAMETER If FileHandle does not 171 represent a valid file. 172 @retval EFI_INVALID_PARAMETER If FileInfo is NULL. 173 174 **/ 175 typedef 176 EFI_STATUS 177 (EFIAPI *EFI_PEI_FV_GET_FILE_INFO2)( 178 IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This, 179 IN EFI_PEI_FILE_HANDLE FileHandle, 180 OUT EFI_FV_FILE_INFO2 *FileInfo 181 ); 182 183 /** 157 184 This function returns information about the firmware volume. 158 185 … … 203 230 OUT VOID **SectionData 204 231 ); 232 233 /** 234 Find the next matching section in the firmware file. 235 236 This service enables PEI modules to discover sections 237 of a given instance and type within a valid file. 238 239 @param This Points to this instance of the 240 EFI_PEI_FIRMWARE_VOLUME_PPI. 241 @param SearchType A filter to find only sections of this 242 type. 243 @param SearchInstance A filter to find the specific instance 244 of sections. 245 @param FileHandle Handle of firmware file in which to 246 search. 247 @param SectionData Updated upon return to point to the 248 section found. 249 @param AuthenticationStatus Updated upon return to point to the 250 authentication status for this section. 251 252 @retval EFI_SUCCESS Section was found. 253 @retval EFI_NOT_FOUND Section of the specified type was not 254 found. SectionData contains NULL. 255 **/ 256 typedef 257 EFI_STATUS 258 (EFIAPI *EFI_PEI_FV_FIND_SECTION2)( 259 IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This, 260 IN EFI_SECTION_TYPE SearchType, 261 IN UINTN SearchInstance, 262 IN EFI_PEI_FILE_HANDLE FileHandle, 263 OUT VOID **SectionData, 264 OUT UINT32 *AuthenticationStatus 265 ); 266 267 #define EFI_PEI_FIRMWARE_VOLUME_PPI_SIGNATURE SIGNATURE_32 ('P', 'F', 'V', 'P') 268 #define EFI_PEI_FIRMWARE_VOLUME_PPI_REVISION 0x00010030 205 269 206 270 /// … … 214 278 EFI_PEI_FV_GET_INFO GetVolumeInfo; 215 279 EFI_PEI_FV_FIND_SECTION FindSectionByType; 280 EFI_PEI_FV_GET_FILE_INFO2 GetFileInfo2; 281 EFI_PEI_FV_FIND_SECTION2 FindSectionByType2; 282 /// 283 /// Signature is used to keep backward-compatibility, set to {'P','F','V','P'}. 284 /// 285 UINT32 Signature; 286 /// 287 /// Revision for further extension. 288 /// 289 UINT32 Revision; 216 290 }; 217 291 -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Ppi/LoadFile.h
r48674 r58459 2 2 Load image file from fv to memory. 3 3 4 Copyright (c) 2006 - 201 1, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 48 48 @retval EFI_UNSUPPORTED An image requires relocations or is not 49 49 memory mapped. 50 50 @retval EFI_WARN_BUFFER_TOO_SMALL 51 There is not enough heap to allocate the requested size. 52 This will not prevent the XIP image from being invoked. 53 51 54 **/ 52 55 typedef -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Ppi/Pcd.h
r48674 r58459 7 7 but interfaces for dynamic-ex type PCD require token space guid as parameter. 8 8 9 Copyright (c) 2006 - 201 0, Intel Corporation. All rights reserved.<BR>9 Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> 10 10 This program and the accompanying materials are licensed and made available under 11 11 the terms and conditions of the BSD License that accompanies this distribution. … … 776 776 @param[in, out] TokenNumber A pointer to the PCD token number to use to find the subsequent token number. 777 777 778 @retval EFI_SUCCESS The PCD service has retrieved the next valid token number. 779 Or the input token number is already the last valid token number in the PCD database. 780 In the later case, *TokenNumber is updated with the value of 0. 781 @retval EFI_NOT_FOUND If this input token number and token namespace does not exist on the platform. 778 @retval EFI_SUCCESS The PCD service has retrieved the next valid token number. 779 @retval EFI_NOT_FOUND The PCD service could not find data from the requested token number. 782 780 783 781 **/ … … 794 792 Retrieves the next valid PCD token namespace for a given namespace. 795 793 796 If *Guid is NULL, then the GUID of the first token space of the 797 current platform is assigned to *Guid the function return EFI_SUCCESS. 798 If *Guid is NULL and there is no namespace exist in the platform other than the default 799 (NULL) tokennamespace, *Guid is unchanged and the function return EFI_SUCCESS. 800 If this input token namespace is the last namespace on the platform, 801 *Guid will be assigned to NULL and the function return EFI_SUCCESS. 802 803 @param[in, out] Guid An indirect pointer to EFI_GUID. On input it designates a known 804 token namespace from which the search will start. On output, it designates 805 the next valid token namespace on the platform. If the input token namespace 806 does not exist on the platform, an error is returned, and the value of *Guid is 807 undefined. 808 809 @retval EFI_SUCCESS The PCD service has retrieved the next valid token namespace. 810 Or the input token namespace is already the last valid token 811 number in the PCD database. In the later case, *Guid is updated 812 with the value of NULL. Or the input token name space is NULL and there 813 is no valid token namespace other than the default namespace (NULL). 814 @retval EFI_NOT_FOUND If the input token namespace does not exist on the platform. 794 Gets the next valid token namespace for a given namespace. This is useful to traverse the valid 795 token namespaces on a platform. 796 797 @param[in, out] Guid An indirect pointer to EFI_GUID. On input it designates a known token 798 namespace from which the search will start. On output, it designates the next valid 799 token namespace on the platform. If *Guid is NULL, then the GUID of the first token 800 space of the current platform is returned. If the search cannot locate the next valid 801 token namespace, an error is returned and the value of *Guid is undefined. 802 803 @retval EFI_SUCCESS The PCD service retrieved the value requested. 804 @retval EFI_NOT_FOUND The PCD service could not find the next valid token namespace. 815 805 816 806 **/ -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Ppi/PiPcd.h
r48674 r58459 1 1 /** @file 2 Platform Configuration Database (PCD) P rotocoldefined in PI 1.2 Vol32 Platform Configuration Database (PCD) PPI defined in PI 1.2 Vol3 3 3 4 4 A platform database that contains a variety of current platform settings or 5 5 directives that can be accessed by a driver or application. 6 PI PCD protocol only provide the accessing interfaces for Dynamic-Ex type PCD. 7 8 Callers to this protocol must be at a TPL_APPLICATION task priority level. 6 PI PCD ppi only provide the accessing interfaces for Dynamic-Ex type PCD. 7 9 8 This is the base PCD service API that provides an abstraction for accessing configuration content in 10 9 the platform. It a seamless mechanism for extracting information regardless of where the … … 13 12 firmware component to monitor specific settings and be alerted when a setting is changed. 14 13 15 Copyright (c) 2009 - 201 0, Intel Corporation. All rights reserved.<BR>14 Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR> 16 15 This program and the accompanying materials 17 16 are licensed and made available under the terms and conditions of the BSD License … … 74 73 75 74 /** 76 Retrieves the current byte-sized value for a PCD token number. If the TokenNumber is invalid,75 Retrieves the current word-sized value for a PCD token number. If the TokenNumber is invalid, 77 76 the results are unpredictable. 78 77 … … 376 375 377 376 @param[in] Guid The 128-bit unique value that designates which namespace to extract the value from. 378 @param[in] TokenNumber The PCD token number. 377 @param[in] TokenNumber A pointer to the PCD token number to use to find the subsequent token number. To 378 retrieve the "first" token, have the pointer reference a TokenNumber value of 0. 379 379 380 380 @retval EFI_SUCCESS The PCD service has retrieved the value requested. -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Ppi/Security2.h
r48674 r58459 6 6 state being returned during the PEI section extraction process. 7 7 8 Copyright (c) 2006 - 20 08, Intel Corporation. All rights reserved.<BR>8 Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> 9 9 This program and the accompanying materials 10 10 are licensed and made available under the terms and conditions of the BSD License … … 76 76 IN UINT32 AuthenticationStatus, 77 77 IN EFI_PEI_FV_HANDLE FvHandle, 78 IN EFI_PEI_F V_HANDLEFileHandle,78 IN EFI_PEI_FILE_HANDLE FileHandle, 79 79 IN OUT BOOLEAN *DeferExecution 80 80 );
Note:
See TracChangeset
for help on using the changeset viewer.