added some comments in BaseLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1053 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2006-07-20 04:00:59 +00:00
parent bda7fbcc2f
commit 9f73d38da4
5 changed files with 56 additions and 46 deletions

View File

@ -18,7 +18,7 @@
#define __DXE_SERVICES_TABLE_LIB_H__
//
//
// Cached copy of the System Configuration Table
//
extern EFI_DXE_SERVICES *gDS;

View File

@ -18,10 +18,18 @@
#define __UEFI_BOOT_SERVICES_TABLE_LIB_H__
//
//
// Cache the Image Handle
//
extern EFI_HANDLE gImageHandle;
//
// Cache pointer to the EFI System Table
//
extern EFI_SYSTEM_TABLE *gST;
//
// Cache pointer to the EFI Boot Services Table
//
extern EFI_BOOT_SERVICES *gBS;
#endif

View File

@ -18,7 +18,7 @@
#define __UEFI_RUNTIME_SERVICES_TABLE_LIB_H__
//
//
// Cached copy of the EFI Runtime Services Table
//
extern EFI_RUNTIME_SERVICES *gRT;

View File

@ -15,7 +15,9 @@
**/
//
// Cached copy of the System Configuration Table
//
EFI_DXE_SERVICES *gDS = NULL;
/**
@ -40,6 +42,9 @@ DxeServicesTableLibConstructor (
{
EFI_STATUS Status;
//
// Cached copy of the System Configuration Table
//
Status = EfiGetSystemConfigurationTable (&gEfiDxeServicesTableGuid, (VOID **) &gDS);
ASSERT_EFI_ERROR (Status);
ASSERT (gDS != NULL);

View File

@ -14,9 +14,6 @@
**/
//
// Cached copy of the EFI Runtime Services Table
//
EFI_RUNTIME_SERVICES *gRT = NULL;
/**