diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-12 01:26:11 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-12 01:26:11 +0000 |
commit | 9095e76b3d084b0a7c12e856ed448f0bf3f38385 (patch) | |
tree | 0494e22725f3e67959a175f5aaff9d18555e5cb0 | |
parent | 2ab7038ce1870d18f745dd8c6f12305933d6c840 (diff) | |
download | edk2-platforms-9095e76b3d084b0a7c12e856ed448f0bf3f38385.tar.xz |
Update function description per UEFI2.3d. The main changes include:
1. If string is a unicode string, its description doesn’t need to specify unicode word again, because by default, string is UCS-2 (Table 6) encoded.
2. EFI_UNSUPPORTED return status is missing for EFI_EAP_PROTOCOL.SetDesiredAuthMethod() function.
3. For LoadImage() service, EFI_ACCESS_DENIED return status is added, and EFI_SECURITY_VIOLATION return status description is updated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11305 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Include/Protocol/DriverHealth.h | 6 | ||||
-rw-r--r-- | MdePkg/Include/Protocol/Eap.h | 9 | ||||
-rw-r--r-- | MdePkg/Include/Protocol/PlatformToDriverConfiguration.h | 11 | ||||
-rw-r--r-- | MdePkg/Include/Uefi/UefiSpec.h | 12 |
4 files changed, 22 insertions, 16 deletions
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.<BR>
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
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.<BR>
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
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.<BR>
+ Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
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.<BR>
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
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
|