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:
lgao4
2008-11-13 08:30:16 +00:00
parent bab52709d8
commit 484c77852e
5 changed files with 10 additions and 15 deletions

View File

@@ -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);
}