SignedCapsulePkg/Universal: Fix various typos
Fix various typos in documentation, comments and debug strings. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-71-philmd@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
582b6cdd08
commit
c38f0816e7
@@ -153,7 +153,7 @@ ParseUpdateDataFile (
|
||||
(*UpdateArray)[Index].BaseAddress = (EFI_PHYSICAL_ADDRESS) Num64;
|
||||
|
||||
//
|
||||
// FileBuid
|
||||
// FileGuid
|
||||
//
|
||||
Status = GetGuidFromDataFile(
|
||||
Context,
|
||||
|
@@ -331,8 +331,8 @@ InitializePrivateData (
|
||||
&VarSize,
|
||||
&SystemFmpPrivate->LastAttempt
|
||||
);
|
||||
DEBUG((DEBUG_INFO, "GetLastAttemp - %r\n", VarStatus));
|
||||
DEBUG((DEBUG_INFO, "GetLastAttemp Version - 0x%x, State - 0x%x\n", SystemFmpPrivate->LastAttempt.LastAttemptVersion, SystemFmpPrivate->LastAttempt.LastAttemptStatus));
|
||||
DEBUG((DEBUG_INFO, "GetLastAttempt - %r\n", VarStatus));
|
||||
DEBUG((DEBUG_INFO, "GetLastAttempt Version - 0x%x, State - 0x%x\n", SystemFmpPrivate->LastAttempt.LastAttemptVersion, SystemFmpPrivate->LastAttempt.LastAttemptStatus));
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
@@ -113,7 +113,7 @@ typedef struct {
|
||||
|
||||
#define ABORT_REASON_MAX_SIZE 0x40 // UnicodeStringSize including final L'\0'
|
||||
|
||||
#define CAPSULE_IMAGE_ADDITIONAL_MAX_SIZE (0x20020 + 0xA0000) // Addtional size for Capsule Header, FV block alignment + DispatchImage.
|
||||
#define CAPSULE_IMAGE_ADDITIONAL_MAX_SIZE (0x20020 + 0xA0000) // Additional size for Capsule Header, FV block alignment + DispatchImage.
|
||||
|
||||
typedef struct {
|
||||
UINT8 ImageIndex;
|
||||
|
@@ -30,7 +30,7 @@ SYSTEM_FMP_PRIVATE_DATA *mSystemFmpPrivate = NULL;
|
||||
@param[out] LastAttemptVersion The last attempt version, which will be recorded in ESRT and FMP EFI_FIRMWARE_IMAGE_DESCRIPTOR.
|
||||
@param[out] LastAttemptStatus The last attempt status, which will be recorded in ESRT and FMP EFI_FIRMWARE_IMAGE_DESCRIPTOR.
|
||||
|
||||
@retval EFI_SUCESS Process Capsule Image successfully.
|
||||
@retval EFI_SUCCESS Process Capsule Image successfully.
|
||||
@retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.
|
||||
@retval EFI_VOLUME_CORRUPTED FV volume in the capsule is corrupted.
|
||||
@retval EFI_OUT_OF_RESOURCES Not enough memory.
|
||||
@@ -174,7 +174,7 @@ FmpSetImage (
|
||||
// Process FV
|
||||
//
|
||||
Status = DispatchSystemFmpImages((VOID *)Image, ImageSize, &SystemFmpPrivate->LastAttempt.LastAttemptVersion, &SystemFmpPrivate->LastAttempt.LastAttemptStatus);
|
||||
DEBUG((DEBUG_INFO, "(Agent)SetImage - LastAttemp Version - 0x%x, State - 0x%x\n", SystemFmpPrivate->LastAttempt.LastAttemptVersion, SystemFmpPrivate->LastAttempt.LastAttemptStatus));
|
||||
DEBUG((DEBUG_INFO, "(Agent)SetImage - LastAttempt Version - 0x%x, State - 0x%x\n", SystemFmpPrivate->LastAttempt.LastAttemptVersion, SystemFmpPrivate->LastAttempt.LastAttemptStatus));
|
||||
if (EFI_ERROR(Status)) {
|
||||
VarStatus = gRT->SetVariable(
|
||||
SYSTEM_FMP_LAST_ATTEMPT_VARIABLE_NAME,
|
||||
@@ -183,7 +183,7 @@ FmpSetImage (
|
||||
sizeof(SystemFmpPrivate->LastAttempt),
|
||||
&SystemFmpPrivate->LastAttempt
|
||||
);
|
||||
DEBUG((DEBUG_INFO, "(Agent)SetLastAttemp - %r\n", VarStatus));
|
||||
DEBUG((DEBUG_INFO, "(Agent)SetLastAttempt - %r\n", VarStatus));
|
||||
return Status;
|
||||
}
|
||||
|
||||
@@ -211,7 +211,7 @@ FmpSetImage (
|
||||
sizeof(SystemFmpPrivate->LastAttempt),
|
||||
&SystemFmpPrivate->LastAttempt
|
||||
);
|
||||
DEBUG((DEBUG_INFO, "(Agent)SetLastAttemp - %r\n", VarStatus));
|
||||
DEBUG((DEBUG_INFO, "(Agent)SetLastAttempt - %r\n", VarStatus));
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
@@ -493,7 +493,7 @@ FmpSetImage (
|
||||
// the current variable driver may not manage the new NVRAM region.
|
||||
//
|
||||
if (mNvRamUpdated) {
|
||||
DEBUG ((DEBUG_INFO, "NvRamUpdated, Update Variable Serivces\n"));
|
||||
DEBUG ((DEBUG_INFO, "NvRamUpdated, Update Variable Services\n"));
|
||||
gRT->GetVariable = GetVariableHook;
|
||||
gRT->GetNextVariableName = GetNextVariableNameHook;
|
||||
gRT->SetVariable = SetVariableHook;
|
||||
@@ -514,7 +514,7 @@ FmpSetImage (
|
||||
sizeof(SystemFmpPrivate->LastAttempt),
|
||||
&SystemFmpPrivate->LastAttempt
|
||||
);
|
||||
DEBUG((DEBUG_INFO, "SetLastAttemp - %r\n", VarStatus));
|
||||
DEBUG((DEBUG_INFO, "SetLastAttempt - %r\n", VarStatus));
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
Reference in New Issue
Block a user