Update minor comments for Smbus, PcdLib, PeiServicesLib library instance. And change UefiRuntimeLib instance type to UEFI_DRIVER according to MdeLib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6495 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -411,10 +411,7 @@ PeiServicesRegisterForShadow (
|
||||
IN EFI_PEI_FILE_HANDLE FileHandle
|
||||
)
|
||||
{
|
||||
CONST EFI_PEI_SERVICES **PeiServices;
|
||||
|
||||
PeiServices = GetPeiServicesTablePointer ();
|
||||
return (*PeiServices)->RegisterForShadow (FileHandle);
|
||||
return (*GetPeiServicesTablePointer())->RegisterForShadow (FileHandle);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -442,10 +439,7 @@ PeiServicesFfsGetFileInfo (
|
||||
OUT EFI_FV_FILE_INFO *FileInfo
|
||||
)
|
||||
{
|
||||
CONST EFI_PEI_SERVICES **PeiServices;
|
||||
|
||||
PeiServices = GetPeiServicesTablePointer ();
|
||||
return (*PeiServices)->FfsGetFileInfo (FileHandle, FileInfo);
|
||||
return (*GetPeiServicesTablePointer())->FfsGetFileInfo (FileHandle, FileInfo);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user