X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FHiiConfigRouting.h;h=467a2dcc8201ad3c86c4e9cc841e0136f04c4ff1;hb=6a46c1a2a62135d8f55d093f08bc06537b3ba8ef;hp=02d512cc6631c278f7c8efc071f4b3a3fea9a6e8;hpb=af2dc6a70b9380d702bd0720cdb029d630c505e3;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/HiiConfigRouting.h b/MdePkg/Include/Protocol/HiiConfigRouting.h index 02d512cc66..467a2dcc82 100644 --- a/MdePkg/Include/Protocol/HiiConfigRouting.h +++ b/MdePkg/Include/Protocol/HiiConfigRouting.h @@ -5,7 +5,7 @@ information from configuration applications, routing the results to the appropriate drivers. -Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved
+Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License that accompanies this distribution. The full text of the license may be found at @@ -99,8 +99,13 @@ typedef struct _EFI_HII_CONFIG_ROUTING_PROTOCOL EFI_HII_CONFIG_ROUTING_PROTOCOL; to the most recent & before the error, or the beginning of the string. - @retval EFI_INVALID_PARAMETER Unknown name. - + @retval EFI_INVALID_PARAMETER The ExtractConfig function of the + underlying HII Configuration + Access Protocol returned + EFI_INVALID_PARAMETER. Progress + set to most recent & before the + error or the beginning of the + string. **/ typedef @@ -124,11 +129,11 @@ EFI_STATUS @param This Points to the EFI_HII_CONFIG_ROUTING_PROTOCOL instance. - @param Results A null-terminated string in - format which has all values filled in for the - names in the Request string. - String to be allocated by this function. - De-allocation is up to the caller. + @param Results Null-terminated Unicode string in + format which has all values + filled in for the entirety of the current HII + database. String to be allocated by the called + function. De-allocation is up to the caller. @retval EFI_SUCCESS The Results string is filled with the values corresponding to all requested @@ -305,8 +310,10 @@ EFI_STATUS @param BlockSize The length of the Block in units of UINT8. On input, this is the size of the Block. On - output, if successful, contains the index of - the last modified byte in the Block. + output, if successful, contains the largest + index of the modified byte in the Block, or + the required buffer size if the Block is not + large enough. @param Progress On return, points to an element of the ConfigResp string filled in with the offset @@ -328,6 +335,12 @@ EFI_STATUS value pair. Block is left updated and Progress points at the '&' preceding the first non-. + @retval EFI_DEVICE_ERROR Block not large enough. Progress undefined. + @retval EFI_NOT_FOUND Target for the specified routing data was not found. + Progress points to the "G" in "GUID" of the errant + routing data. + @retval EFI_BUFFER_TOO_SMALL Block not large enough. Progress undefined. + BlockSize is updated with the required buffer size. **/ typedef