没有合适的资源?快使用搜索试试~ 我知道了~
EFI_Shell_Developer_Guide_Ver0-91
5星 · 超过95%的资源 需积分: 10 22 下载量 3 浏览量
2010-12-07
14:17:35
上传
评论
收藏 688KB PDF 举报
温馨提示
试读
133页
The primary objective of this document is to provide detailed instructions for developing and building an EFI shell application using the EFI Shell Package. In addition, this document introduces the EFI Shell library in detail, and provides application examples in the instructions. In order to build the EFI Shell the EFI Developer Kit (hereafter referred to as “EDK”) will be needed. Refer to the EDK Getting Started Guide.
资源推荐
资源详情
资源评论
EFI Shell Developer’s Guide
Version 0.91
June 27, 2005
Version 0.91 June 27, 2005 ii
Information in this document is provided in connection with Intel products. No license, express or implied, by estoppel or
otherwise, to any intellectual property rights is granted by this document. Except as provided in Intel's Terms and Conditions
of Sale for such products, Intel assumes no liability whatsoever, and INTEL DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES
RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT,
COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. Intel products are not intended for use in medical, life
saving, or life sustaining applications. Intel may make changes to specifications and product descriptions at any time,
without notice.
This document contains information on products in the design phase. The information here is subject to change without
notice. Do not finalize a design with this information.
Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined."
Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising
from future changes to them.
This document as well as the software described in it is furnished under license and may only be used or copied in
accordance with the terms of the license. The information in this manual is furnished for informational use only, is subject to
change without notice, and should not be construed as a commitment by Intel Corporation to update or revise the
information or document. Intel Corporation assumes no responsibility or liability for any errors or inaccuracies that may
appear in this document or any software that may be provided in association with this document.
This document provides website addresses for certain third party websites. The referenced sites are not under the control of
Intel and Intel is not responsible for the content of any referenced site or any link contained in a referenced site. Intel does
not endorse companies or products for sites which it references. If you decide to access any of the third party sites
referenced in this document, you do this entirely at your own risk.
*Other names and brands may be claimed as the property of others.
Intel, the Intel logo, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in
the United States and other countries.
Copyright © 2000–2005, Intel Corporation. All Rights Reserved.
Version 0.9 February, 2005 iii
Revision History
Revision Revision History Date
0.9 Includes all known edits/revisions. 02/23/05
0.91.0 Beta release to Open Source 06/27/05
Version 0.9 February, 2005 v
Contents
1 Introduction ...................................................................................................... 9
1.1 Overview ........................................................................................................................ 9
1.2 Related Information........................................................................................................9
1.3 Conventions Used in This Document.............................................................................9
1.3.1 Data Structure Descriptions.............................................................................9
1.3.2 Procedure Descriptions .................................................................................10
1.3.3 Pseudo-Code Conventions............................................................................11
1.3.4 Typographic Conventions..............................................................................11
2 Building the Environment Setup................................................................... 13
2.1 Microsoft* Tools Installation .........................................................................................13
2.1.1 Visual C++.....................................................................................................13
2.1.2 Microsoft* C/C++ Optimizing Compiler..........................................................13
2.2 EFI Shell Installation ....................................................................................................13
3 Building an EFI Shell Application................................................................. 15
3.1 Building an Application.................................................................................................15
3.1.1 Build Example................................................................................................15
4 Composing an EFI Shell Application............................................................ 17
4.1 String Resource .uni File..............................................................................................17
4.2 Component Description .inf File...................................................................................18
4.2.1 DEFINES Section..........................................................................................18
4.2.2 SOURCES.COMMON Section......................................................................19
4.2.3 INCLUDES.COMMON Section......................................................................19
4.2.4 LIBRARIES.COMMON Section.....................................................................19
4.2.5 NMAKE.COMMON Section...........................................................................19
4.3 Writing an EFI Shell Application...................................................................................19
4.3.1 Required .h Files ...........................................................................................19
4.3.2 Strings ...........................................................................................................20
4.3.3 Declaring the Entry Point...............................................................................20
4.3.4 Initializing the Execution Environment...........................................................20
4.3.5 Registering the String Package.....................................................................21
4.3.6 Checking for Available System Services.......................................................21
4.3.7 HelloWorld Example......................................................................................21
4.3.8 UseArg Example............................................................................................24
4.3.9 UseVar Example............................................................................................26
4.4 Writing an Application That Can Be Either Internal Command or External Command33
4.4.1 Rules to Follow..............................................................................................33
4.5 Switching Between Internal and External Commands .................................................35
4.5.1 External to Internal ........................................................................................35
4.5.2 Internal to External ........................................................................................35
5 EFI Shell Library Introduction....................................................................... 37
5.1 Data Types and Global Variables ................................................................................37
剩余132页未读,继续阅读
资源评论
- h640590372014-04-05很有帮助,讲UEFI SHELL应用开发的说明文档,很详细,不过出的比较早,现在有些内容改了,也没看见有新版本的,还是比较好的学习资料
shuang-shuan
- 粉丝: 35
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功