X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FLibrary%2FUefiDriverEntryPoint.h;h=b2808e7b631f18c9bf65f778d0cd785a0fc5597d;hp=6908830f13c4154042cefe440775c6bec5c72835;hb=0308e20dc67c63e48211b140558ae3bd13a1cbf5;hpb=42eedea958591087603bbacd1c2227d2494026af diff --git a/MdePkg/Include/Library/UefiDriverEntryPoint.h b/MdePkg/Include/Library/UefiDriverEntryPoint.h index 6908830f13..b2808e7b63 100644 --- a/MdePkg/Include/Library/UefiDriverEntryPoint.h +++ b/MdePkg/Include/Library/UefiDriverEntryPoint.h @@ -15,33 +15,19 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #ifndef __MODULE_ENTRY_POINT_H__ #define __MODULE_ENTRY_POINT_H__ -// -// Declare the EFI/UEFI Specification Revision to which this driver is implemented -// -extern const UINT32 _gUefiDriverRevision; - -// -// Declare the number of entry points in the image. -// -extern const UINT8 _gDriverEntryPointCount; - -// -// Declare the number of unload handler in the image. -// -extern const UINT8 _gDriverUnloadImageCount; - -// -// Declare the arrary of Boot Sevice Exit Event callbacks . -// -extern const EFI_EVENT_NOTIFY _gDriverExitBootServicesEvent[]; - -// -// Declare the arrary of Virtual Address Change Event callbacks . -// -extern const EFI_EVENT_NOTIFY _gDriverSetVirtualAddressMapEvent[]; +/// +/// Declare the EFI/UEFI Specification Revision to which this driver is implemented +/// +extern CONST UINT32 _gUefiDriverRevision; + +/// +/// Declare the number of unload handler in the image. +/// +extern CONST UINT8 _gDriverUnloadImageCount; + /** - Enrty point to DXE SMM Driver. + Enrty point to DXE Driver. @param ImageHandle ImageHandle of the loaded driver. @param SystemTable Pointer to the EFI System Table.