The dispatcher will dispatch all modules listed in the Apriori to the head of 
the dispatching queue.

I believe that the order of modules in the FDF itself has no guarantee with 
regard to execution order. Based on module alignment, for example, modules 
listed later may be fitted earlier in the actual generated firmware volume. The 
FDF merely guarantees that they will be placed in the firmware volume. And, of 
course, the dispatcher may choose any order it wishes to process modules in the 
FV.

A more reliable way of guaranteeing execution order is dependency expressions 
(it is more plug-and-play) and, in necessity, apriori.

Tim

From: appireddy annapureddy [mailto:appi.am...@gmail.com]
Sent: Wednesday, October 03, 2012 8:08 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] APRIORI Query

Hi All,

I observed that some of the INF files like Pcd.inf, 
ReportStatusCodeRouterPei.inf etc are added in Apriori list as well as in 
regular dispatching list in fdf file .
what is the importance of adding same INF file twice and How does it affect the 
BIOS boot flow?

Copied from NT32Pkg.fdf:
APRIORI PEI {
  INF  MdeModulePkg/Universal/PCD/Pei/Pcd.inf
  INF  
MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
  INF  MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
  INF  
Nt32Pkg/WinNtOemHookStatusCodeHandlerPei/WinNtOemHookStatusCodeHandlerPei.inf
  }

INF  MdeModulePkg/Universal/PCD/Pei/Pcd.inf
INF  
MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
INF  MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
INF  
Nt32Pkg/WinNtOemHookStatusCodeHandlerPei/WinNtOemHookStatusCodeHandlerPei.inf

Please give your comments.


Thanks
Nitin
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to