UEFI PI 规范1.7---2.6 PEI Dispatcher

2.6 PEI Dispatcher     

      The PEI Dispatcher is essentially a state machine that is implemented in the PEI Foundation. The
PEI Dispatcher evaluates the dependency expressions in Pre-EFI Initialization Modules (PEIMs)
that are in the firmware volume(s) being examined.

      PEI调度器本质上是一个在PEI Foundation中实现的状态机。PEI调度器评估检查FV中的Pre-EFI初始化模块(PEIMs)中的依赖表达式。

     The dependency expressions are logical combinations of PEIM-to-PEIM Interfaces (PPIs). These
expressions describe the PPIs that must be available before a given PEIM can be invoked. To
evaluate the dependency expression for the PEIM, the PEI Dispatcher references the PPI database in
the PEI Foundation to determine which PPIs have been installed. If the PPI has been installed, the
dependency expression will evaluate to TRUE, which tells the PEI Dispatcher it can run the PEIM.
At this point, the PEI Foundation passes control to the PEIM with a true dependency expression.

    依赖关系表达式是PPIs之间的逻辑结合。在PEIM使用PPIs之前,这些表达式用来描述该PPIs是否是可用的。为了评估依赖关系表达式给PEIM,PEI调度器查阅PEI Foundation中的PPI database来决定哪一个PPI可以被install。如果该PPI被install过了,那么相关的依赖关系表达式就会评估为TRUE,这样就可以告诉PEI调度器该PPI可以在PEIM中使用。在这一点上,PEI Foundation就是以一个为TRUE的依赖关系表达式来将控制权转给PEIM。

    Once the PEI Dispatcher has evaluated all of the PEIMs in all of the exposed firmware volumes and
no more PEIMs can be dispatched (i.e., the dependency expressions do not evaluate from FALSE to
TRUE), the PEI Dispatcher will exit. It is at this point that the PEI Dispatcher cannot invoke any
additional PEIMs. The PEI Foundation then reassumes control from the PEI Dispatcher and invokes
the DXE IPL PPI to pass control to the DXE phase of execution.

   一旦PEI调度器评估了所有查找出的FV里的PEIM,并且没有更多的PEIM可以被调度(依赖没有从FALSE变成TRUE),PEI调度器将会退出。这个时候PEI调度器不能唤起任何额外的PEIM。之后PEI Foundation重新从PEI调度器中获得控制权,并唤起DXE IPL PPI将执行控制权传递给DXE阶段。

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值