mirror of https://github.com/acidanthera/audk.git
Modified comment for gDs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1054 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9f73d38da4
commit
151c1ccdcd
|
@ -18,7 +18,7 @@
|
||||||
#define __DXE_SERVICES_TABLE_LIB_H__
|
#define __DXE_SERVICES_TABLE_LIB_H__
|
||||||
|
|
||||||
//
|
//
|
||||||
// Cached copy of the System Configuration Table
|
// Cache copy of the DXE Services Table
|
||||||
//
|
//
|
||||||
extern EFI_DXE_SERVICES *gDS;
|
extern EFI_DXE_SERVICES *gDS;
|
||||||
|
|
||||||
|
|
|
@ -16,16 +16,16 @@
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Cached copy of the System Configuration Table
|
// Cache copy of the DXE Services Table
|
||||||
//
|
//
|
||||||
EFI_DXE_SERVICES *gDS = NULL;
|
EFI_DXE_SERVICES *gDS = NULL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The constructor function caches the pointer of System Configuration Table.
|
The constructor function caches the pointer of DXE Services Table.
|
||||||
|
|
||||||
The constructor function caches the pointer of System Configuration Table.
|
The constructor function caches the pointer of DXE Services Table.
|
||||||
It will ASSERT() if that operation fails.
|
It will ASSERT() if that operation fails.
|
||||||
It will ASSERT() if the pointer of System Configuration Table is NULL.
|
It will ASSERT() if the pointer of DXE Services Table is NULL.
|
||||||
It will always return EFI_SUCCESS.
|
It will always return EFI_SUCCESS.
|
||||||
|
|
||||||
@param ImageHandle The firmware allocated handle for the EFI image.
|
@param ImageHandle The firmware allocated handle for the EFI image.
|
||||||
|
@ -43,7 +43,7 @@ DxeServicesTableLibConstructor (
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Cached copy of the System Configuration Table
|
// Cache copy of the DXE Services Table
|
||||||
//
|
//
|
||||||
Status = EfiGetSystemConfigurationTable (&gEfiDxeServicesTableGuid, (VOID **) &gDS);
|
Status = EfiGetSystemConfigurationTable (&gEfiDxeServicesTableGuid, (VOID **) &gDS);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
Loading…
Reference in New Issue