mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-30 09:04:07 +02:00
MdeModulePkg/CapsuleApp: add Internal for function name.
To prevent potential build failure. Cc: Feng Tian <feng.tian@intel.com> Cc: Jeff Fan <jeff.fan@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
parent
396fe30ad9
commit
c608cda5c1
@ -74,7 +74,7 @@ GetArg (
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
StrToBuf (
|
InternalStrToBuf (
|
||||||
OUT UINT8 *Buf,
|
OUT UINT8 *Buf,
|
||||||
IN UINTN BufferLength,
|
IN UINTN BufferLength,
|
||||||
IN CHAR16 *Str
|
IN CHAR16 *Str
|
||||||
@ -135,7 +135,7 @@ StrToBuf (
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
StrToGuid (
|
InternalStrToGuid (
|
||||||
IN CHAR16 *Str,
|
IN CHAR16 *Str,
|
||||||
OUT EFI_GUID *Guid
|
OUT EFI_GUID *Guid
|
||||||
)
|
)
|
||||||
@ -185,7 +185,7 @@ StrToGuid (
|
|||||||
//
|
//
|
||||||
// Get the following 8 bytes data
|
// Get the following 8 bytes data
|
||||||
//
|
//
|
||||||
StrToBuf (&Guid->Data4[0], 2, Str);
|
InternalStrToBuf (&Guid->Data4[0], 2, Str);
|
||||||
//
|
//
|
||||||
// Skip 2 byte hex chars
|
// Skip 2 byte hex chars
|
||||||
//
|
//
|
||||||
@ -196,7 +196,7 @@ StrToGuid (
|
|||||||
} else {
|
} else {
|
||||||
return EFI_UNSUPPORTED;
|
return EFI_UNSUPPORTED;
|
||||||
}
|
}
|
||||||
StrToBuf (&Guid->Data4[2], 6, Str);
|
InternalStrToBuf (&Guid->Data4[2], 6, Str);
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -155,7 +155,7 @@ WriteFileFromBuffer (
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
StrToGuid (
|
InternalStrToGuid (
|
||||||
IN CHAR16 *Str,
|
IN CHAR16 *Str,
|
||||||
OUT EFI_GUID *Guid
|
OUT EFI_GUID *Guid
|
||||||
);
|
);
|
||||||
@ -782,7 +782,7 @@ UefiMain (
|
|||||||
//
|
//
|
||||||
// FMP->GetImage()
|
// FMP->GetImage()
|
||||||
//
|
//
|
||||||
Status = StrToGuid(Argv[3], &ImageTypeId);
|
Status = InternalStrToGuid(Argv[3], &ImageTypeId);
|
||||||
if (EFI_ERROR(Status)) {
|
if (EFI_ERROR(Status)) {
|
||||||
Print (L"Invalid ImageTypeId - %s\n", Argv[3]);
|
Print (L"Invalid ImageTypeId - %s\n", Argv[3]);
|
||||||
return Status;
|
return Status;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user