summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-11 09:30:13 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-11 09:30:13 +0000
commitcebc8d486e39ffbbf37f67914db0a49455181e0f (patch)
tree2de34649e6ed690d939491037483a86364c2852b /MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c
parentc84507ab5229c462806187b090ba6249540c9070 (diff)
downloadedk2-cebc8d486e39ffbbf37f67914db0a49455181e0f.zip
edk2-cebc8d486e39ffbbf37f67914db0a49455181e0f.tar.gz
edk2-cebc8d486e39ffbbf37f67914db0a49455181e0f.tar.bz2
Code Scrub for Pcd, PlatformDriOverride and PlatOverMngr driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6998 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c')
-rw-r--r--MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c b/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c
index 5d9bfe1..5f49a5b 100644
--- a/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c
+++ b/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c
@@ -336,7 +336,7 @@ GetComponentName (
**/
CHAR16 *
GetImageName (
- EFI_LOADED_IMAGE_PROTOCOL *Image
+ IN EFI_LOADED_IMAGE_PROTOCOL *Image
)
{
EFI_STATUS Status;
@@ -347,9 +347,9 @@ GetImageName (
UINTN BufferSize;
UINT32 AuthenticationStatus;
EFI_GUID *NameGuid;
- EFI_FIRMWARE_VOLUME2_PROTOCOL *FV2;
+ EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv2;
- FV2 = NULL;
+ Fv2 = NULL;
Buffer = NULL;
BufferSize = 0;
@@ -378,11 +378,11 @@ GetImageName (
Status = gBS->HandleProtocol (
Image->DeviceHandle,
&gEfiFirmwareVolume2ProtocolGuid,
- (VOID **) &FV2
+ (VOID **) &Fv2
);
if (!EFI_ERROR (Status)) {
- Status = FV2->ReadSection (
- FV2,
+ Status = Fv2->ReadSection (
+ Fv2,
&FvFilePath->FvFileName,
EFI_SECTION_USER_INTERFACE,
0,
@@ -1158,12 +1158,12 @@ PlatOverMngrExtractConfig (
/**
This function processes the results of changes in configuration.
- @param This Points to the EFI_HII_CONFIG_ACCESS_PROTOCOL.
- @param Request A null-terminated Unicode string in <ConfigRequest> format.
- @param Progress A pointer to a string filled in with the offset of the most
- recent '&' before the first failing name/value pair (or the
- beginning of the string if the failure is in the first
- name/value pair) or the terminating NULL if all was successful.
+ @param This Points to the EFI_HII_CONFIG_ACCESS_PROTOCOL.
+ @param Configuration A null-terminated Unicode string in <ConfigRequest> format.
+ @param Progress A pointer to a string filled in with the offset of the most
+ recent '&' before the first failing name/value pair (or the
+ beginning of the string if the failure is in the first
+ name/value pair) or the terminating NULL if all was successful.
@retval EFI_SUCCESS The Results is processed successfully.
@retval EFI_INVALID_PARAMETER Configuration is NULL.