MdePkg - Wayne777Chiu/Chinese_Practice_about_TianoCore GitHub Wiki
(2019/03/08)
模組開發環境套件(MdePkg)是一個特殊的套件當成是一個最小的基礎要件需求來建置一個模組。 一個模組可能需要額外的套件來被組建但所有模組都基於 MdePkg 。 MdePkg 保持的非常穩定,它可以適用變成模組或裝置驅動套件來建置可配合於各式各樣物件包的模組。
MdePkg 提供所有在MdePkg裡的定義(包含了函數,巨集(MACROs),結構(structures),和函式庫物件(library classes))和函式庫實例。 最新的 MdePkg .chm 檔紀錄寫明了這些定義和 最新的 UDK 的發佈裡。
它也提供了關於 EFI1.10/UEFI2.x/PI1.x的定義(包含了 PPIs/PROTOCOLs/GUIDs) 和其他工業標準。
MdePkg 可以建構一系列的模組種類。 MdePkg 可被單獨使用或與其他套件包合併使用來產生模組。 MdePkg 能產生單機型模組-被定義為只使用定義在MdePkg裡基底模組類型資源的一種基底模組。 基底模組允許用戶寫可容易平台開發導入到其他環境的可移植型的 C code 。 MdePkg 可使用在 C code 寫 SEC 。 MdePkg 套件包也能產生根據EFI 1.10 或 UEFI 2.x 規範下的 UEFI 驅動程式或 UEFI 應用程式。 MdePkg 也可以建置 UEFI 驅動程式或應用程式基於被描述在 EDK II 規範 的 EDK II 建置環境。
最新的 MdePkg .chm 檔載明所有關於定義上的詳細資料(包含了 PPIs/PROTOCOLs/GUIDs 和函式庫物件(library classes))和與 MdePkg 套件包相關的函式庫實例。 下載最新的 .chm 檔,透過目前發佈的 UDK 。
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.