Part 2: Core Concepts
Master the fundamental building blocks of UEFI firmware.
What You’ll Learn
| Chapter | Topics |
|---|---|
| 4. Driver Model | Drivers vs applications, binding protocol, driver types |
| 5. Protocols and Handles | Handle database, GUIDs, protocol installation |
| 6. Memory Services | Pool/page allocation, memory map, memory types |
| 7. Boot & Runtime Services | Service tables, ExitBootServices, runtime access |
Key Concepts
flowchart TB
subgraph UEFI Core
H[Handle Database]
P[Protocols]
BS[Boot Services]
RS[Runtime Services]
end
subgraph Your Code
D[Drivers]
A[Applications]
end
D --> |Install| P
D --> |Register with| H
A --> |Locate| P
A --> |Use| BS
A --> |Use| RS
style H fill:#e74c3c,color:#fff
style P fill:#3498db,color:#fff
style BS fill:#2ecc71,color:#fff
style RS fill:#9b59b6,color:#fff
Prerequisites
Before starting this section:
- Complete Part 1 (environment setup and Hello World)
- Understand basic UEFI boot flow
Skill Level: Intermediate Prerequisites: Part 1 complete, basic C programming