UEFI PI 规范1.7---2.7 PEIM

2.7 Pre-EFI Initialization Modules (PEIMs)

  Pre-EFI Initialization Modules (PEIMs) are specialized drivers that personalize the PEI Foundation
to the platform. They are analogous to DXE drivers and generally correspond to the components
being initialized. It is the responsibility of the PEI Foundation code to dispatch the PEIMs in a
sequenced order and provide basic services. The PEIMs are intended to mirror the components
being initialized.

PEIM是一类专门的驱动,对于平台来说这样使PEI Foundation有针对性。它们类似于DXE驱动,通常对应于要被初始化的组件。有序的调度PEIMs和提供基础的服务是PEI Foundation code。PEIMs就对应着相关组件被初始化。

   Communication between PEIMs is not easy in a “memory poor” environment. Nonetheless, PEIMs
cannot be coded without some interaction between one another and, even if they could, it would be
inefficient to do so. The PEI phase provides mechanisms for PEIMs to locate and invoke interfaces
from other PEIMs.

在内存资源匮乏的早期,PEIM之间的通信并不是容易的。尽管如此PEIM的编写还是无法离开一个另一个的交互,如果可以的话那也是低效率的。PEI阶段提供了一种机制,可以在PEIM中去定位和唤起来自于其他PEIM中的interface。

   Because the PEI phase exists in an environment where minimal hardware resources are available and
execution is performed from the boot firmware device, it is strongly recommended that PEIMs do
the minimum necessary work to initialize the system to a state that meets the prerequisites of the
DXE phase.

因为PEI阶段存在于少数可用的硬件资源和boot firmware设备中执行,所以强烈建议PEIMs做最小必要的工作,将系统初始化到满足DXE阶段预先需要的条件状态。

    It is expected that, in the future, common practice will be that the vendor of a software or hardware
component will provide the PEIM (possibly in source form) so the customer can debug integration
problems quickly.

预计在未来,通常的做法是软件或硬件组件的供应商将提供PEIM(可能以源代码的形式),以便客户能够快速调试集成问题。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值