X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=SecurityPkg%2FTcg%2FOpal%2FOpalPassword%2FOpalDriver.h;h=c19d78218ec9e83d9de14d2cc8a0bda9376f3b0c;hb=d6b926e76e3d639ac37610e97d33ff9e3a6281eb;hp=beeabb1c0ae25a1795ef1ff32882e9db3dfee26a;hpb=6e7e9b95782413b6e32eb7a7f79c0aecc8ec6a18;p=mirror_edk2.git diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.h b/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.h index beeabb1c0a..c19d78218e 100644 --- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.h +++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.h @@ -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