);\r
\r
/**\r
- Initial the tcg parse stucture.\r
+ Initial the tcg parse structure.\r
\r
@param ParseStruct Input parse structure.\r
@param Buffer Input buffer data.\r
@param HostSession Host session data.\r
@param AceRow Ace row info.\r
@param Authority1 Authority 1 info.\r
- @param LogicalOperator Logiccal operator info.\r
+ @param LogicalOperator Logical operator info.\r
@param Authority2 Authority 2 info.\r
\r
@retval Return the action result.\r
}\r
\r
/**\r
- Initial the tcg parse stucture.\r
+ Initial the tcg parse structure.\r
\r
@param ParseStruct Input parse structure.\r
@param Buffer Input buffer data.\r
@param HostSession Host session data.\r
@param AceRow Ace row info.\r
@param Authority1 Authority 1 info.\r
- @param LogicalOperator Logiccal operator info.\r
+ @param LogicalOperator Logical operator info.\r
@param Authority2 Authority 2 info.\r
\r
@retval Return the action result.\r
Typically, there are 2 mechanism for resetting eDrive. They are:\r
1. TPer Reset through IEEE 1667 protocol.\r
2. TPer Reset through native TCG protocol.\r
- This routine will detect what protocol the attached eDrive comform to, TCG or\r
+ This routine will detect what protocol the attached eDrive conform to, TCG or\r
IEEE 1667 protocol. Then send out TPer Reset command separately.\r
\r
@param[in] Ssp The pointer to EFI_STORAGE_SECURITY_COMMAND_PROTOCOL instance.\r
MediaId,\r
100000000, // Timeout 10-sec\r
0, // SecurityProtocol\r
- 0, // SecurityProtocolSpecifcData\r
+ 0, // SecurityProtocolSpecificData\r
Len, // PayloadBufferSize,\r
Buffer, // PayloadBuffer\r
&XferSize\r
MediaId,\r
100000000, // Timeout 10-sec\r
0, // SecurityProtocol\r
- 0, // SecurityProtocolSpecifcData\r
+ 0, // SecurityProtocolSpecificData\r
Len, // PayloadBufferSize,\r
Buffer, // PayloadBuffer\r
&XferSize\r
MediaId,\r
100000000, // Timeout 10-sec\r
SECURITY_PROTOCOL_TCG, // SecurityProtocol\r
- 0x0400, // SecurityProtocolSpecifcData\r
+ 0x0400, // SecurityProtocolSpecificData\r
512, // PayloadBufferSize,\r
Buffer // PayloadBuffer\r
);\r
@param ImageHandle Image Handle this driver.\r
@param SystemTable Pointer to SystemTable.\r
\r
- @retval EFI_SUCCESS This function always complete successfully.\r
+ @retval EFI_SUCCESS This function always complete successfully.\r
**/\r
EFI_STATUS\r
EFIAPI\r
Set a string Value in a form.\r
\r
@param DestStringId The stringid which need to update.\r
- @param SrcAsciiStr The string nned to update.\r
+ @param SrcAsciiStr The string need to update.\r
\r
@retval EFI_SUCCESS Do the required action success.\r
@retval Others Other error occur.\r
\r
@param Dev The Opal device.\r
\r
- @retval EFI_SUCCESS Initialize the device success.\r
+ @retval EFI_SUCCESS Initialize the device success.\r
@retval EFI_DEVICE_ERROR Get info from device failed.\r
\r
**/\r
\r
@param OpalDisk The Opal device.\r
\r
- @retval EFI_SUCCESS Get ownership success.\r
+ @retval EFI_SUCCESS Get ownership success.\r
@retval EFI_ACCESS_DENIED Has send BlockSID command, can't change ownership.\r
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.\r
\r
\r
@param OpalDisk The Opal device.\r
\r
- @retval EFI_SUCCESS Initialize the device success.\r
+ @retval EFI_SUCCESS Initialize the device success.\r
@retval EFI_DEVICE_ERROR Get info from device failed.\r
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.\r
@retval EFI_ACCESS_DENIED Has send BlockSID command, can't change ownership.\r
\r
@param OpalDisk The Opal device.\r
\r
- @retval EFI_SUCCESS Initialize the device success.\r
+ @retval EFI_SUCCESS Initialize the device success.\r
@retval EFI_DEVICE_ERROR Get info from device failed.\r
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.\r
\r
\r
@param Dev The Opal device.\r
\r
- @retval EFI_SUCCESS Initialize the device success.\r
+ @retval EFI_SUCCESS Initialize the device success.\r
@retval EFI_DEVICE_ERROR Get info from device failed.\r
\r
**/\r
\r
@param OpalDisk The Opal device.\r
\r
- @retval EFI_SUCCESS Get ownership success.\r
+ @retval EFI_SUCCESS Get ownership success.\r
@retval EFI_ACCESS_DENIED Has send BlockSID command, can't change ownership.\r
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.\r
\r
);\r
\r
//\r
-// Global defintions for lock physical presence PPI and its descriptor.\r
+// Global definitions for lock physical presence PPI and its descriptor.\r
//\r
PEI_LOCK_PHYSICAL_PRESENCE_PPI mLockPhysicalPresencePpi = {\r
LockTpmPhysicalPresence\r
ASSERT_EFI_ERROR (Status);\r
\r
//\r
- // Even if no TPM is selected or detected, we still need intall TpmInitializationDonePpi.\r
+ // Even if no TPM is selected or detected, we still need install TpmInitializationDonePpi.\r
// Because TcgPei or Tcg2Pei will not run, but we still need a way to notify other driver.\r
// Other driver can know TPM initialization state by TpmInitializedPpi.\r
//\r
}\r
\r
//\r
- // Only intall TpmInitializedPpi on success\r
+ // Only install TpmInitializedPpi on success\r
//\r
Status = PeiServicesInstallPpi (&mTpmInitializedPpiList);\r
ASSERT_EFI_ERROR (Status);\r
);\r
}\r
//\r
- // Always intall TpmInitializationDonePpi no matter success or fail.\r
+ // Always install TpmInitializationDonePpi no matter success or fail.\r
// Other driver can know TPM initialization state by TpmInitializedPpi.\r
//\r
Status2 = PeiServicesInstallPpi (&mTpmInitializationDonePpiList);\r
// /** @file\r
-// Provides ACPI metholds for TPM 2.0 support\r
+// Provides ACPI methods for TPM 2.0 support\r
//\r
// This driver implements TPM 2.0 definition block in ACPI table and\r
// registers SMI callback functions for TCG2 physical presence and\r
};\r
\r
/**\r
- Record all measured Firmware Voluem Information into a Guid Hob\r
+ Record all measured Firmware Volume Information into a Guid Hob\r
Guid Hob payload layout is\r
\r
UINT32 *************************** FIRMWARE_BLOB number\r
}\r
\r
/**\r
- Measure and record the Firmware Voluem Information once FvInfoPPI install.\r
+ Measure and record the Firmware Volume Information once FvInfoPPI install.\r
\r
@param[in] PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.\r
@param[in] NotifyDescriptor Address of the notification descriptor data structure.\r
}\r
\r
//\r
- // Only intall TpmInitializedPpi on success\r
+ // Only install TpmInitializedPpi on success\r
//\r
Status = PeiServicesInstallPpi (&mTpmInitializedPpiList);\r
ASSERT_EFI_ERROR (Status);\r
);\r
}\r
//\r
- // Always intall TpmInitializationDonePpi no matter success or fail.\r
+ // Always install TpmInitializationDonePpi no matter success or fail.\r
// Other driver can know TPM initialization state by TpmInitializedPpi.\r
//\r
Status2 = PeiServicesInstallPpi (&mTpmInitializationDonePpiList);\r
## @file\r
-# Implements ACPI metholds for the TCG feature\r
+# Implements ACPI methods for the TCG feature\r
#\r
# This driver implements TPM definition block in ACPI table and registers SMI\r
# callback functions for physical presence and MemoryClear to handle the requests\r
// /** @file\r
-// Implements ACPI metholds for the TCG feature\r
+// Implements ACPI methods for the TCG feature\r
//\r
// This driver implements TPM definition block in ACPI table and registers SMI\r
// callback functions for physical presence and MemoryClear to handle the requests\r