Commit ef84fd9
committed
Upgrade uefi crate from v0.20 to v0.36
Migrate from uefi v0.20 + uefi-services to uefi v0.36 + uefi-raw.
Key API changes:
- Entry point: fn main(Handle, SystemTable<Boot>) -> fn main() -> Status
- uefi_services::init() -> uefi::helpers::init()
- boot_services.method() -> uefi::boot::method()
- uefi_services::system_table() -> uefi::system::with_config_table()
- Shell protocol accessed via uefi_raw::protocol::shell::ShellProtocol
(the safe wrapper's ShellProtocol is not public in v0.36)
- Config table GUIDs: SMBIOS_GUID/SMBIOS3_GUID -> ConfigTableEntry::*
- ESRT GUID: manual GUID comparison -> ConfigTableEntry::ESRT_GUID
- bs.stall(usize) -> uefi::boot::stall(Duration)
- ShellParameters: get_args(bs, handle) -> args() iterator on image_handle
Signed-off-by: Daniel Schaefer <dhs@frame.work>1 parent 19a14c4 commit ef84fd9
File tree
13 files changed
+207
-317
lines changed- framework_lib
- src
- chromium_ec
- commandline
- esrt
- fw_uefi
- framework_uefi
- src
13 files changed
+207
-317
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 22 | | |
27 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
16 | | - | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
65 | | - | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments