87 IN EFI_HANDLE ImageHandle,
88 IN EFI_SYSTEM_TABLE *SystemTable
92 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage;
94 if (_gUefiDriverRevision != 0) {
98 if (SystemTable->Hdr.Revision < _gUefiDriverRevision) {
99 return EFI_INCOMPATIBLE_VERSION;
106 ProcessLibraryConstructorList (ImageHandle, SystemTable);
111 if (_gDriverUnloadImageCount != 0) {
112 Status =
gBS->HandleProtocol (
115 (VOID **)&LoadedImage
117 ASSERT_EFI_ERROR (Status);
124 Status = ProcessModuleEntryPointList (ImageHandle, SystemTable);
129 if (EFI_ERROR (Status)) {
130 ProcessLibraryDestructorList (ImageHandle, SystemTable);
EFI_STATUS EFIAPI _DriverUnloadHandler(EFI_HANDLE ImageHandle)
EFI_STATUS EFIAPI _ModuleEntryPointReal(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI EfiMain(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI _ModuleEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)