【知识】MdeModulePkg和MdePkg

本文介绍UEFI/PI行业标准下的模块开发环境(MdePkg),该环境提供构建模块所需的基础设施,包括定义、协议及库实例等。MdePkg支持多种模块类型构建,如SEC阶段模块、UEFI驱动程序及应用程序等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

MdeModulePkg

This package provides the modules that conform to UEFI/PI Industry standards.It also provides the defintions(including PPIs/PROTOCOLs/GUIDs and library classes)and libraries instances, which are used for those modules.

参考链接 https://github.com/tianocore/tianocore.github.io/wiki/MdeModulePkg

MdePkg

The Module Development Environment Package (MdePkg) is a special package as it is the minimum infrastructure required to build a module. A module may require extra packages to be constructed but all modules are based on the MdePkg. By keeping the MdePkg very stable, it effectively becomes a module or device driver kit for building modules that can work with various sets of packages.

The MdePkg provides all definitions(including functions, MACROs, structures and library classes) and libraries instances, which are defined in the MdePkg. The latest MdePkg .chm files will document these definitions and can be found in the latest UDK releases.

It also provides the definitions(including PPIs/PROTOCOLs/GUIDs) of EFI1.10/UEFI2.x/PI1.x and other Industry Standards.

The MdePkg enables the construction of a range of module types. The MdePkg can be used alone or in combination with other packages to produce modules.The MdePkg can produce stand-alone modules defined as base that only use resources defined in MdePkg that are of type base. Base modules allow you to write portable C code that can be easily ported to any environment.The MdePkg can be used to write SEC in C code.The MdePkg package can also produce UEFI drivers or UEFI applications that conform to either the EFI 1.10 or the UEFI 2.x specifications. The MdePkg can also build UEFI drivers or applications based on the EDK II build environment described in the EDK II Specifications.

The latest MdePkg .chm files will document all the details on the definitions (including PPIs/PROTOCOLs/GUIDs and library classes) and libraries instances associated with the MdePkg package. To download the latest .chm files see UDK for the current release.

参考链接 https://github.com/tianocore/tianocore.github.io/wiki/MdePkg


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值