Acknowledgements |
|
v | |
Preface |
|
vii | |
Chapter 1 Introduction |
|
1 | (14) |
|
|
4 | (1) |
|
|
5 | (1) |
|
EFI Becomes UEFI-The UEFI Forum |
|
|
6 | (2) |
|
|
8 | (3) |
|
|
11 | (1) |
|
Embedded Systems: The New Challenge |
|
|
12 | (2) |
|
How the Boot Process Differs between a Normal Boot and an Optimized/Embedded Boot |
|
|
13 | (1) |
|
|
14 | (1) |
Chapter 2 Basic UEFI Architecture |
|
15 | (16) |
|
Objects Managed by UEFI-based Firmware |
|
|
15 | (1) |
|
|
16 | (1) |
|
|
16 | (2) |
|
|
18 | (4) |
|
|
21 | (1) |
|
Multiple Protocol Instances |
|
|
21 | (1) |
|
|
21 | (1) |
|
|
22 | (5) |
|
|
25 | (1) |
|
|
25 | (1) |
|
|
26 | (1) |
|
Events and Task Priority Levels |
|
|
27 | (3) |
|
|
30 | (1) |
Chapter 3 UEFI Driver Model |
|
31 | (22) |
|
Why a Driver Model Prior to OS Booting? |
|
|
31 | (1) |
|
|
32 | (1) |
|
|
33 | (2) |
|
|
35 | (1) |
|
|
36 | (2) |
|
|
38 | (1) |
|
|
38 | (9) |
|
|
41 | (1) |
|
|
41 | (1) |
|
Bus Driver that Creates All of Its Child Handles on the First Call to Start |
|
|
42 | (1) |
|
Bus Driver that Is Able to Create All or One of Its Child Handles on Each Call to Start: |
|
|
43 | (4) |
|
|
47 | (5) |
|
|
47 | (1) |
|
|
48 | (1) |
|
|
49 | (3) |
|
|
52 | (1) |
Chapter 4 Protocols You Should Know |
|
53 | (12) |
|
|
55 | (1) |
|
Device Path and Image Information of the OS Loader |
|
|
56 | (1) |
|
Accessing Files in the Device Path of the OS Loader |
|
|
57 | (1) |
|
|
58 | (2) |
|
Getting the Current System Configuration |
|
|
60 | (1) |
|
Getting the Current Memory Map |
|
|
61 | (1) |
|
Getting Environment Variables |
|
|
62 | (1) |
|
Transitioning to an OS Kernel |
|
|
63 | (1) |
|
|
63 | (2) |
Chapter 5 UEFI Runtime |
|
65 | (16) |
|
Isn't There Only One Kind of Memory? |
|
|
66 | (3) |
|
How Are Runtime Services Exposed? |
|
|
69 | (1) |
|
|
70 | (2) |
|
|
70 | (1) |
|
|
70 | (1) |
|
|
71 | (1) |
|
|
72 | (1) |
|
|
72 | (1) |
|
|
72 | (2) |
|
|
73 | (1) |
|
|
73 | (1) |
|
|
74 | (3) |
|
|
74 | (1) |
|
|
75 | (1) |
|
|
75 | (2) |
|
|
77 | (3) |
|
|
78 | (1) |
|
Get Next High Monotonic Count |
|
|
79 | (1) |
|
|
79 | (1) |
|
|
80 | (1) |
|
|
80 | (1) |
Chapter 6 UEFI Console Services |
|
81 | (16) |
|
Simple Text Input Protocol |
|
|
83 | (3) |
|
Simple Text Input Ex Protocol |
|
|
86 | (1) |
|
Simple Text Output Protocol |
|
|
87 | (2) |
|
|
89 | (3) |
|
|
92 | (1) |
|
|
93 | (2) |
|
|
95 | (2) |
Chapter 7 Different Types of Platforms |
|
97 | (14) |
|
|
110 | (1) |
Chapter 8 DXE Basics: Core, Dispatching, and Drivers |
|
111 | (20) |
|
|
112 | (8) |
|
Hand-Off Block (HOB) List |
|
|
114 | (1) |
|
DXE Architectural Protocols |
|
|
115 | (2) |
|
|
117 | (1) |
|
|
118 | (1) |
|
EFI Runtime Services Table |
|
|
119 | (1) |
|
|
119 | (1) |
|
Global Coherency Domain Services |
|
|
120 | (3) |
|
|
120 | (2) |
|
|
122 | (1) |
|
|
123 | (3) |
|
|
125 | (1) |
|
|
125 | (1) |
|
|
126 | (1) |
|
Boot Device Selection (BDS) Phase |
|
|
127 | (3) |
|
|
128 | (1) |
|
|
129 | (1) |
|
|
129 | (1) |
|
|
130 | (1) |
Chapter 9 Some Common UEFI and PI Functions |
|
131 | (26) |
|
Architectural Protocol Examples |
|
|
132 | (7) |
|
CPU Architectural Protocol |
|
|
133 | (2) |
|
Real Time Clock Architectural Protocol |
|
|
135 | (1) |
|
Timer Architectural Protocol |
|
|
135 | (1) |
|
Reset Architectural Protocol |
|
|
136 | (1) |
|
Boot Device Selection Architectural Protocol |
|
|
137 | (1) |
|
Variable Architectural Protocol |
|
|
138 | (1) |
|
Watchdog Timer Architectural Protocol |
|
|
138 | (1) |
|
|
139 | (8) |
|
PCI Host Bridge Resource Allocation Protocol |
|
|
139 | (4) |
|
|
143 | (2) |
|
|
145 | (2) |
|
|
147 | (2) |
|
|
149 | (1) |
|
|
150 | (2) |
|
|
151 | (1) |
|
Configuration Infrastructure |
|
|
152 | (1) |
|
Using the Configuration Infrastructure |
|
|
153 | (1) |
|
Driver Model Interactions |
|
|
154 | (1) |
|
Provisioning the Platform |
|
|
155 | (1) |
|
|
156 | (1) |
Chapter 10 Platform Security and Trust |
|
157 | (26) |
|
|
157 | (3) |
|
Trusted Platform Module (TPM) and Measured Boot |
|
|
160 | (9) |
|
What Is a Trusted Building Block (TBB)? |
|
|
163 | (5) |
|
What Is the Point of Measurements? |
|
|
168 | (1) |
|
|
169 | (4) |
|
UEFI Executable Verification |
|
|
170 | (3) |
|
|
173 | (3) |
|
UEFI User Identification (UID) |
|
|
176 | (1) |
|
Hardware Evolution: SRTM-to-DRTM |
|
|
177 | (1) |
|
|
178 | (2) |
|
Vulnerability Classification |
|
|
180 | (1) |
|
|
180 | (1) |
|
|
181 | (2) |
Chapter 11 Boot Device Selection |
|
183 | (12) |
|
|
185 | (3) |
|
|
188 | (1) |
|
Globally-Defined Variables |
|
|
188 | (3) |
|
Default Behavior for Boot Option Variables |
|
|
191 | (1) |
|
|
191 | (3) |
|
Boot via Simple File Protocol |
|
|
192 | (1) |
|
Boot via LOAD_FILE Protocol |
|
|
193 | (1) |
|
|
194 | (1) |
Chapter 12 Boot Flows |
|
195 | (14) |
|
|
196 | (1) |
|
|
196 | (2) |
|
|
198 | (1) |
|
Intel® Itanium® Processor Reset |
|
|
198 | (1) |
|
|
199 | (1) |
|
|
199 | (2) |
|
Basic GO-to-SO and SO Variation Boot Paths |
|
|
200 | (1) |
|
|
200 | (1) |
|
|
201 | (2) |
|
|
201 | (1) |
|
General Recovery Architecture |
|
|
202 | (1) |
|
|
203 | (4) |
|
|
203 | (1) |
|
Special Intel Itanium® Architecture Boot Paths |
|
|
203 | (1) |
|
Intel Itanium® Architecture Access to the Boot Firmware Volume |
|
|
203 | (4) |
|
Architectural Boot Mode PPIs |
|
|
207 | (1) |
|
|
207 | (1) |
|
|
208 | (1) |
|
|
208 | (1) |
Chapter 13 Pre-EFI Initialization WED |
|
209 | (18) |
|
|
209 | (1) |
|
|
210 | (2) |
|
|
210 | (2) |
|
|
212 | (1) |
|
|
212 | (1) |
|
|
212 | (1) |
|
|
213 | (1) |
|
|
213 | (4) |
|
|
213 | (1) |
|
Pre-EFI Initialization Modules (PEIMs) |
|
|
214 | (1) |
|
|
215 | (1) |
|
PEIM-to-PEIM Interfaces (PPIs) |
|
|
215 | (1) |
|
|
216 | (1) |
|
|
216 | (1) |
|
|
217 | (9) |
|
|
218 | (1) |
|
Verification/Authentication |
|
|
219 | (1) |
|
|
219 | (1) |
|
|
219 | (1) |
|
Intel® Itanium® Processor MP Considerations |
|
|
220 | (1) |
|
|
220 | (1) |
|
|
221 | (1) |
|
The "Terse Executable" and Cache-as-RAM |
|
|
222 | (1) |
|
|
223 | (3) |
|
|
226 | (1) |
Chapter 14 Putting It AU Together-Firmware Emulation |
|
227 | (10) |
|
|
228 | (7) |
|
Emulation Firmware Phases |
|
|
230 | (5) |
|
|
235 | (1) |
|
|
236 | (1) |
Chapter 15 Reducing Platform Boot Times |
|
237 | (16) |
|
|
240 | (1) |
|
|
241 | (5) |
|
What Are the Design Goals? |
|
|
242 | (1) |
|
|
242 | (1) |
|
What Are the Supported OS Targets? |
|
|
243 | (1) |
|
Do We Have to Support Legacy Operating Systems? |
|
|
243 | (1) |
|
Do We Have to Support Legacy Option ROMs? |
|
|
243 | (1) |
|
Are We Required to Display an OEM Splash Screen? |
|
|
244 | (1) |
|
What Type of Boot Media Is Supported? |
|
|
244 | (1) |
|
What Is the BIOS Recovery/Update Strategy? |
|
|
245 | (1) |
|
When Processing Things Early |
|
|
245 | (1) |
|
Is There a Need for Pre-OS User Interaction? |
|
|
246 | (1) |
|
|
246 | (4) |
|
Adjusting the BIOS to Avoid Unnecessary Drivers |
|
|
246 | (1) |
|
|
247 | (1) |
|
Steps Taken in a Normal and Optimized Boot |
|
|
247 | (1) |
|
|
248 | (1) |
|
Organizing the Flash Effectively |
|
|
249 | (1) |
|
Minimize the Files Needed |
|
|
249 | (1) |
|
|
250 | (3) |
|
|
250 | (1) |
|
|
251 | (2) |
Chapter 16 Embedded Boot Solution |
|
253 | (16) |
|
|
253 | (1) |
|
CE Device Boot Challenges |
|
|
254 | (2) |
|
|
256 | (1) |
|
|
257 | (1) |
|
|
258 | (1) |
|
|
259 | (2) |
|
|
261 | (1) |
|
|
261 | (2) |
|
|
263 | (4) |
|
|
267 | (1) |
|
|
268 | (1) |
Chapter 17 Manageability |
|
269 | (26) |
|
Overall Management Framework |
|
|
269 | (3) |
|
|
271 | (1) |
|
|
271 | (1) |
|
Distributed Management Task Force (DMTF) |
|
|
271 | (1) |
|
UEFI Error Format Standardization |
|
|
272 | (5) |
|
UEFI Error Format Overview |
|
|
276 | (1) |
|
|
276 | (1) |
|
Windows Hardware Error Architecture and the Role of UEFI |
|
|
277 | (4) |
|
Technology Intercepts: UEFI, IPMI, Intel® AMT, WS-MAN |
|
|
281 | (5) |
|
Intelligent Platform Management Interface (IPMI) |
|
|
281 | (2) |
|
Intel® Active Management Technology (Intel AMT) |
|
|
283 | (2) |
|
Web Services Management Protocol (WS-MAN) |
|
|
285 | (1) |
|
Other Industry Initiatives |
|
|
285 | (1) |
|
The UEFI/IPMI/Intel® AMT/WS-MAN Bridge |
|
|
286 | (2) |
|
IPMI Error Records to UEFI |
|
|
287 | (1) |
|
UEFI Error Records to IPMI |
|
|
287 | (1) |
|
|
287 | (1) |
|
|
288 | (1) |
|
|
288 | (5) |
|
|
292 | (1) |
|
|
293 | (2) |
Appendix A: Data Types |
|
295 | (2) |
Appendix B: Status Codes |
|
297 | (4) |
Index |
|
301 | |