SecurityPkg: Fix spelling errors
https://bugzilla.tianocore.org/show_bug.cgi?id=2265 Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
This commit is contained in:
committed by
Michael D Kinney
parent
6e7e9b9578
commit
d6b926e76e
@@ -2583,7 +2583,7 @@ OpalDriverGetDriverDeviceName(
|
||||
@param ImageHandle Image Handle this driver.
|
||||
@param SystemTable Pointer to SystemTable.
|
||||
|
||||
@retval EFI_SUCESS This function always complete successfully.
|
||||
@retval EFI_SUCCESS This function always complete successfully.
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
@@ -2637,7 +2637,7 @@ EfiDriverEntryPoint(
|
||||
Tests to see if this driver supports a given controller.
|
||||
|
||||
This function checks to see if the controller contains an instance of the
|
||||
EFI_STORAGE_SECURITY_COMMAND_PROTOCOL and the EFI_BLOCK_IO_PROTOCL
|
||||
EFI_STORAGE_SECURITY_COMMAND_PROTOCOL and the EFI_BLOCK_IO_PROTOCOL
|
||||
and returns EFI_SUCCESS if it does.
|
||||
|
||||
@param[in] This A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.
|
||||
@@ -2741,7 +2741,7 @@ OpalEfiDriverBindingSupported(
|
||||
"controller", which is a child Handle, contains the EF_STORAGE_SECURITY_COMMAND protocols.
|
||||
This function will complete the other necessary checks, such as verifying the device supports
|
||||
the correct version of Opal. Upon verification, it will add the device to the
|
||||
Opal HII list in order to expose Opal managmeent options.
|
||||
Opal HII list in order to expose Opal management options.
|
||||
|
||||
@param[in] This A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.
|
||||
@param[in] ControllerHandle The Handle of the controller to start. This Handle
|
||||
|
@@ -61,7 +61,7 @@ extern EFI_DRIVER_BINDING_PROTOCOL gOpalDriverBinding;
|
||||
extern EFI_COMPONENT_NAME_PROTOCOL gOpalComponentName;
|
||||
extern EFI_COMPONENT_NAME2_PROTOCOL gOpalComponentName2;
|
||||
|
||||
#define OPAL_MSID_LENGHT 128
|
||||
#define OPAL_MSID_LENGTH 128
|
||||
|
||||
#define MAX_PASSWORD_TRY_COUNT 5
|
||||
|
||||
@@ -131,7 +131,7 @@ typedef struct {
|
||||
//
|
||||
typedef struct {
|
||||
UINT32 MsidLength; // Byte length of MSID Pin for device
|
||||
UINT8 Msid[OPAL_MSID_LENGHT]; // MSID Pin for device
|
||||
UINT8 Msid[OPAL_MSID_LENGTH]; // MSID Pin for device
|
||||
EFI_STORAGE_SECURITY_COMMAND_PROTOCOL *Sscp;
|
||||
UINT32 MediaId; // MediaId is used by Ssc Protocol.
|
||||
EFI_DEVICE_PATH_PROTOCOL *OpalDevicePath;
|
||||
@@ -309,7 +309,7 @@ OpalEfiDriverBindingSupported(
|
||||
"controller", which is a child handle, contains the EF_STORAGE_SECURITY_COMMAND protocols.
|
||||
This function will complete the other necessary checks, such as verifying the device supports
|
||||
the correct version of Opal. Upon verification, it will add the device to the
|
||||
Opal HII list in order to expose Opal managmeent options.
|
||||
Opal HII list in order to expose Opal management options.
|
||||
|
||||
@param[in] This A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.
|
||||
@param[in] ControllerHandle The handle of the controller to start. This handle
|
||||
|
@@ -1090,7 +1090,7 @@ OpalHiiSetBrowserData (
|
||||
|
||||
/**
|
||||
|
||||
Populate the hii_g_Configuraton with the browser Data.
|
||||
Populate the hii_g_Configuration with the browser Data.
|
||||
|
||||
**/
|
||||
VOID
|
||||
@@ -1164,7 +1164,7 @@ HiiSetFormString(
|
||||
|
||||
@param Dev The Opal device.
|
||||
|
||||
@retval EFI_SUCESS Initialize the device success.
|
||||
@retval EFI_SUCCESS Initialize the device success.
|
||||
@retval EFI_DEVICE_ERROR Get info from device failed.
|
||||
|
||||
**/
|
||||
@@ -1193,7 +1193,7 @@ OpalDiskInitialize (
|
||||
}
|
||||
Session.OpalBaseComId = Dev->OpalDisk.OpalBaseComId;
|
||||
|
||||
TcgResult = OpalUtilGetMsid (&Session, Dev->OpalDisk.Msid, OPAL_MSID_LENGHT, &Dev->OpalDisk.MsidLength);
|
||||
TcgResult = OpalUtilGetMsid (&Session, Dev->OpalDisk.Msid, OPAL_MSID_LENGTH, &Dev->OpalDisk.MsidLength);
|
||||
if (TcgResult != TcgResultSuccess) {
|
||||
return EFI_DEVICE_ERROR;
|
||||
}
|
||||
@@ -1220,7 +1220,7 @@ OpalDiskInitialize (
|
||||
|
||||
@param OpalDisk The Opal device.
|
||||
|
||||
@retval EFI_SUCESS Get ownership success.
|
||||
@retval EFI_SUCCESS Get ownership success.
|
||||
@retval EFI_ACCESS_DENIED Has send BlockSID command, can't change ownership.
|
||||
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.
|
||||
|
||||
@@ -1254,7 +1254,7 @@ OpalDiskUpdateOwnerShip (
|
||||
|
||||
@param OpalDisk The Opal device.
|
||||
|
||||
@retval EFI_SUCESS Initialize the device success.
|
||||
@retval EFI_SUCCESS Initialize the device success.
|
||||
@retval EFI_DEVICE_ERROR Get info from device failed.
|
||||
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.
|
||||
@retval EFI_ACCESS_DENIED Has send BlockSID command, can't change ownership.
|
||||
|
@@ -156,7 +156,7 @@ OpalHiiSetBrowserData (
|
||||
|
||||
/**
|
||||
|
||||
Populate the hii_g_Configuraton with the browser Data.
|
||||
Populate the hii_g_Configuration with the browser Data.
|
||||
|
||||
**/
|
||||
VOID
|
||||
@@ -247,7 +247,7 @@ GetDiskNameStringId(
|
||||
|
||||
@param OpalDisk The Opal device.
|
||||
|
||||
@retval EFI_SUCESS Initialize the device success.
|
||||
@retval EFI_SUCCESS Initialize the device success.
|
||||
@retval EFI_DEVICE_ERROR Get info from device failed.
|
||||
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.
|
||||
|
||||
@@ -348,7 +348,7 @@ HiiUninstall(
|
||||
|
||||
@param Dev The Opal device.
|
||||
|
||||
@retval EFI_SUCESS Initialize the device success.
|
||||
@retval EFI_SUCCESS Initialize the device success.
|
||||
@retval EFI_DEVICE_ERROR Get info from device failed.
|
||||
|
||||
**/
|
||||
@@ -362,7 +362,7 @@ OpalDiskInitialize (
|
||||
|
||||
@param OpalDisk The Opal device.
|
||||
|
||||
@retval EFI_SUCESS Get ownership success.
|
||||
@retval EFI_SUCCESS Get ownership success.
|
||||
@retval EFI_ACCESS_DENIED Has send BlockSID command, can't change ownership.
|
||||
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.
|
||||
|
||||
|
Reference in New Issue
Block a user