Lines Matching defs:DriverEntry

159   Add an entry to the mDiscoveredList. Allocate memory to store the DriverEntry,
161 in DriverEntry. Pre-process the Depex to set the SOR, Before and After state.
237 @param DriverEntry Driver to work on.
247 IN EFI_CORE_DRIVER_ENTRY *DriverEntry
256 Fv = DriverEntry->Fv;
263 DriverEntry->Fv,
264 &DriverEntry->FileName,
267 &DriverEntry->Depex,
268 (UINTN *)&DriverEntry->DepexSize,
276 DriverEntry->DepexProtocolError = TRUE;
281 DriverEntry->Depex = NULL;
282 DriverEntry->Dependent = TRUE;
283 DriverEntry->DepexProtocolError = FALSE;
290 CorePreProcessDepex (DriverEntry);
291 DriverEntry->DepexProtocolError = FALSE;
320 EFI_CORE_DRIVER_ENTRY *DriverEntry;
326 DriverEntry = CR(Link, EFI_CORE_DRIVER_ENTRY, Link, EFI_CORE_DRIVER_ENTRY_SIGNATURE);
327 if (DriverEntry->FvHandle == FirmwareVolumeHandle &&
328 DriverEntry->Unrequested &&
329 CompareGuid (DriverName, &DriverEntry->FileName)) {
334 DriverEntry->Unrequested = FALSE;
335 DriverEntry->Dependent = TRUE;
371 EFI_CORE_DRIVER_ENTRY *DriverEntry;
377 DriverEntry = CR(Link, EFI_CORE_DRIVER_ENTRY, Link, EFI_CORE_DRIVER_ENTRY_SIGNATURE);
378 if (DriverEntry->FvHandle == FirmwareVolumeHandle &&
379 DriverEntry->Untrusted &&
380 CompareGuid (DriverName, &DriverEntry->FileName)) {
385 DriverEntry->Untrusted = FALSE;
386 DriverEntry->Scheduled = TRUE;
387 InsertTailList (&mScheduledQueue, &DriverEntry->ScheduledLink);
438 EFI_CORE_DRIVER_ENTRY *DriverEntry;
470 DriverEntry = CR (
482 if (DriverEntry->ImageHandle == NULL && !DriverEntry->IsFvImage) {
483 DEBUG ((DEBUG_INFO, "Loading driver %g\n", &DriverEntry->FileName));
487 DriverEntry->FvFileDevicePath,
490 &DriverEntry->ImageHandle
503 DriverEntry->Untrusted = TRUE;
511 DriverEntry->Initialized = TRUE;
514 DriverEntry->Scheduled = FALSE;
515 RemoveEntryList (&DriverEntry->ScheduledLink);
528 DriverEntry->Scheduled = FALSE;
529 DriverEntry->Initialized = TRUE;
530 RemoveEntryList (&DriverEntry->ScheduledLink);
535 if (DriverEntry->IsFvImage) {
539 Status = CoreProcessFvImageFile (DriverEntry->Fv, DriverEntry->FvHandle, &DriverEntry->FileName);
544 &DriverEntry->ImageHandle,
545 sizeof (DriverEntry->ImageHandle)
547 ASSERT (DriverEntry->ImageHandle != NULL);
549 Status = CoreStartImage (DriverEntry->ImageHandle, NULL, NULL);
554 &DriverEntry->ImageHandle,
555 sizeof (DriverEntry->ImageHandle)
576 DriverEntry = CR (Link, EFI_CORE_DRIVER_ENTRY, Link, EFI_CORE_DRIVER_ENTRY_SIGNATURE);
578 if (DriverEntry->DepexProtocolError){
582 Status = CoreGetDepexSectionAndPreProccess (DriverEntry);
585 if (DriverEntry->Dependent) {
586 if (CoreIsSchedulable (DriverEntry)) {
587 CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (DriverEntry);
591 if (DriverEntry->Unrequested) {
592 DEBUG ((DEBUG_DISPATCH, "Evaluate DXE DEPEX for FFS(%g)\n", &DriverEntry->FileName));
628 EFI_CORE_DRIVER_ENTRY *DriverEntry;
634 DriverEntry = CR(Link, EFI_CORE_DRIVER_ENTRY, Link, EFI_CORE_DRIVER_ENTRY_SIGNATURE);
635 if (DriverEntry->Before && DriverEntry->Dependent && DriverEntry != InsertedDriverEntry) {
636 DEBUG ((DEBUG_DISPATCH, "Evaluate DXE DEPEX for FFS(%g)\n", &DriverEntry->FileName));
637 DEBUG ((DEBUG_DISPATCH, " BEFORE FFS(%g) = ", &DriverEntry->BeforeAfterGuid));
638 if (CompareGuid (&InsertedDriverEntry->FileName, &DriverEntry->BeforeAfterGuid)) {
643 CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (DriverEntry);
665 DriverEntry = CR(Link, EFI_CORE_DRIVER_ENTRY, Link, EFI_CORE_DRIVER_ENTRY_SIGNATURE);
666 if (DriverEntry->After && DriverEntry->Dependent && DriverEntry != InsertedDriverEntry) {
667 DEBUG ((DEBUG_DISPATCH, "Evaluate DXE DEPEX for FFS(%g)\n", &DriverEntry->FileName));
668 DEBUG ((DEBUG_DISPATCH, " AFTER FFS(%g) = ", &DriverEntry->BeforeAfterGuid));
669 if (CompareGuid (&InsertedDriverEntry->FileName, &DriverEntry->BeforeAfterGuid)) {
674 CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (DriverEntry);
864 Add an entry to the mDiscoveredList. Allocate memory to store the DriverEntry,
866 in DriverEntry. Pre-process the Depex to set the SOR, Before and After state.
892 EFI_CORE_DRIVER_ENTRY *DriverEntry;
899 DriverEntry = AllocateZeroPool (sizeof (EFI_CORE_DRIVER_ENTRY));
900 ASSERT (DriverEntry != NULL);
902 DriverEntry->IsFvImage = TRUE;
905 DriverEntry->Signature = EFI_CORE_DRIVER_ENTRY_SIGNATURE;
906 CopyGuid (&DriverEntry->FileName, DriverName);
907 DriverEntry->FvHandle = FvHandle;
908 DriverEntry->Fv = Fv;
909 DriverEntry->FvFileDevicePath = CoreFvToDevicePath (Fv, FvHandle, DriverName);
911 CoreGetDepexSectionAndPreProccess (DriverEntry);
915 InsertTailList (&mDiscoveredList, &DriverEntry->Link);
1100 EFI_CORE_DRIVER_ENTRY *DriverEntry;
1339 DriverEntry = CR(Link, EFI_CORE_DRIVER_ENTRY, Link, EFI_CORE_DRIVER_ENTRY_SIGNATURE);
1340 if (CompareGuid (&DriverEntry->FileName, &AprioriFile[Index]) &&
1341 (FvHandle == DriverEntry->FvHandle)) {
1343 DriverEntry->Dependent = FALSE;
1344 DriverEntry->Scheduled = TRUE;
1345 InsertTailList (&mScheduledQueue, &DriverEntry->ScheduledLink);
1347 DEBUG ((DEBUG_DISPATCH, "Evaluate DXE DEPEX for FFS(%g)\n", &DriverEntry->FileName));
1397 EFI_CORE_DRIVER_ENTRY *DriverEntry;
1400 DriverEntry = CR(Link, EFI_CORE_DRIVER_ENTRY, Link, EFI_CORE_DRIVER_ENTRY_SIGNATURE);
1401 if (DriverEntry->Dependent) {
1402 DEBUG ((DEBUG_LOAD, "Driver %g was discovered but not loaded!!\n", &DriverEntry->FileName));