From 9095e76b3d084b0a7c12e856ed448f0bf3f38385 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Sat, 12 Feb 2011 01:26:11 +0000 Subject: =?UTF-8?q?Update=20function=20description=20per=20UEFI2.3d.=20The?= =?UTF-8?q?=20main=20changes=20include:=201.=20=20=20=20If=20string=20is?= =?UTF-8?q?=20a=20unicode=20string,=20its=20description=20doesn=E2=80=99t?= =?UTF-8?q?=20need=20to=20specify=20unicode=20word=20again,=20because=20by?= =?UTF-8?q?=20default,=20string=20is=20UCS-2=20(Table=206)=20encoded.=202.?= =?UTF-8?q?=20=20=20=20EFI=5FUNSUPPORTED=20return=20status=20is=20missing?= =?UTF-8?q?=20for=20EFI=5FEAP=5FPROTOCOL.SetDesiredAuthMethod()=20function?= =?UTF-8?q?.=203.=20=20=20=20For=20LoadImage()=20service,=20EFI=5FACCESS?= =?UTF-8?q?=5FDENIED=20return=20status=20is=20added,=20and=20EFI=5FSECURIT?= =?UTF-8?q?Y=5FVIOLATION=20return=20status=20description=20is=20updated.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11305 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/DriverHealth.h | 6 +++--- MdePkg/Include/Protocol/Eap.h | 9 +++++---- MdePkg/Include/Protocol/PlatformToDriverConfiguration.h | 11 ++++++----- MdePkg/Include/Uefi/UefiSpec.h | 12 ++++++++---- 4 files changed, 22 insertions(+), 16 deletions(-) (limited to 'MdePkg') diff --git a/MdePkg/Include/Protocol/DriverHealth.h b/MdePkg/Include/Protocol/DriverHealth.h index 24bb5bc1ee..a4c92fbd90 100644 --- a/MdePkg/Include/Protocol/DriverHealth.h +++ b/MdePkg/Include/Protocol/DriverHealth.h @@ -20,7 +20,7 @@ may then need to be reconnected or the system may need to be rebooted for the configuration changes to take affect. - Copyright (c) 2009, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2011, 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 which accompanies this distribution. The full text of the license may be found at @@ -30,7 +30,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. @par Revision Reference: - This Protocol is defined in UEFI Specification 2.2 + This Protocol is defined in UEFI Specification 2.3d **/ @@ -131,7 +131,7 @@ EFI_STATUS containing a EFI_HII_HANDLE with a value of NULL. The EFI_HII_STRING_PROTOCOL.GetString() function can be used to retrieve the warning or error message as a Null-terminated - Unicode string in a specific language. Messages may be + string in a specific language. Messages may be returned for any of the HealthStatus values except EfiDriverHealthStatusReconnectRequired and EfiDriverHealthStatusRebootRequired. diff --git a/MdePkg/Include/Protocol/Eap.h b/MdePkg/Include/Protocol/Eap.h index f6dde627be..f1c45d495c 100644 --- a/MdePkg/Include/Protocol/Eap.h +++ b/MdePkg/Include/Protocol/Eap.h @@ -5,7 +5,7 @@ The definitions in this file are defined in UEFI Specification 2.3, which have not been verified by one implementation yet. - Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2011, 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 which accompanies this distribution. The full text of the license may be found at @@ -83,8 +83,8 @@ EFI_STATUS If EapAuthType is an invalid EAP authentication type, then EFI_INVALID_PARAMETER is returned. - If the EAP authentication method of EapAuthType is unsupported by the Ports, then this - function will return EFI_UNSUPPORTED. + If the EAP authentication method of EapAuthType is unsupported by the Ports, then it will + return EFI_UNSUPPORTED. @param[in] This A pointer to the EFI_EAP_PROTOCOL instance that indicates the calling context. @@ -95,7 +95,8 @@ EFI_STATUS @retval EFI_SUCCESS The EAP authentication method of EapAuthType is registered successfully. @retval EFI_INVALID_PARAMETER EapAuthType is an invalid EAP authentication type. - @retval EFI_OUT_OF_RESOURCES There is not enough system memory to perform the registration. + @retval EFI_UNSUPPORTED The EAP authentication method of EapAuthType is + unsupported by the Port. **/ typedef diff --git a/MdePkg/Include/Protocol/PlatformToDriverConfiguration.h b/MdePkg/Include/Protocol/PlatformToDriverConfiguration.h index c7ffd21b5d..657c9e8c34 100644 --- a/MdePkg/Include/Protocol/PlatformToDriverConfiguration.h +++ b/MdePkg/Include/Protocol/PlatformToDriverConfiguration.h @@ -5,7 +5,7 @@ by a UEFI Driver in its Start() function. This protocol allows the driver to receive configuration information as part of being started. - Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2011, 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 which accompanies this distribution. The full text of the license may be found at @@ -289,14 +289,15 @@ struct _EFI_PLATFORM_TO_DRIVER_CONFIGURATION_PROTOCOL { used. **/ typedef struct { - CHAR8 *CLPCommand; ///< A pointer to the DMTF SM CLP command line null-terminated string that the - ///< driver is required to parse and process when this function is called. + CHAR8 *CLPCommand; ///< A pointer to the null-terminated UTF-8 string that specifies the DMTF SM CLP command + ///< line that the driver is required to parse and process when this function is called. ///< See the DMTF SM CLP Specification 1.0 Final Standard for details on the ///< format and syntax of the CLP command line string. CLPCommand buffer ///< is allocated by the producer of the EFI_PLATFORM_TO_DRIVER_CONFIGURATION_PROTOOL. UINT32 CLPCommandLength; ///< The length of the CLP Command in bytes. - CHAR8 *CLPReturnString; ///< A pointer to the CLP return status string that the driver is required to - ///< provide to the calling agent. The calling agent may parse and/ or pass + CHAR8 *CLPReturnString; ///< A pointer to the null-terminated UTF-8 string that indicates the CLP return status + ///< that the driver is required to provide to the calling agent. + ///< The calling agent may parse and/ or pass ///< this for processing and user feedback. The SM CLP Command Response string ///< buffer is filled in by the UEFI driver in the "keyword=value" format ///< described in the SM CLP Specification, unless otherwise requested via the SM diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h index 2dbef696d5..e5448f9a53 100644 --- a/MdePkg/Include/Uefi/UefiSpec.h +++ b/MdePkg/Include/Uefi/UefiSpec.h @@ -1,11 +1,11 @@ /** @file Include file that supports UEFI. - This include file must only contain things defined in the UEFI 2.1 specification. - If a code construct is defined in the UEFI 2.1 specification it must be included + This include file must contain things defined in the UEFI 2.3 specification. + If a code construct is defined in the UEFI 2.3 specification it must be included by this include file. -Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2011, 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 @@ -821,7 +821,11 @@ EFI_STATUS @retval EFI_LOAD_ERROR Image was not loaded because the image format was corrupt or not understood. @retval EFI_DEVICE_ERROR Image was not loaded because the device returned a read error. - + @retval EFI_ACCESS_DENIED Image was not loaded because the platform policy prohibits the + image from being loaded. NULL is returned in *ImageHandle. + @retval EFI_SECURITY_VIOLATION Image was loaded and an ImageHandle was created with a + valid EFI_LOADED_IMAGE_PROTOCOL. However, the current + platform policy specifies that the image should not be started. **/ typedef EFI_STATUS -- cgit v1.2.3