File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ description = "Makes a kernel compatible with the bootloader crate"
9
9
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
10
10
11
11
[dependencies ]
12
+ uefi = " 0.24.0"
12
13
13
14
[dev-dependencies ]
14
15
rand = " 0.8.4"
Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ pub struct BootInfo {
63
63
/// Virtual address of the loaded kernel image.
64
64
pub kernel_image_offset : u64 ,
65
65
66
+ /// UEFI runtime table address (if running on UEFI)
67
+ pub rt_table_addr : Optional < u64 > ,
68
+
66
69
#[ doc( hidden) ]
67
70
pub _test_sentinel : u64 ,
68
71
}
@@ -85,6 +88,7 @@ impl BootInfo {
85
88
kernel_addr : 0 ,
86
89
kernel_len : 0 ,
87
90
kernel_image_offset : 0 ,
91
+ rt_table_addr : Optional :: None ,
88
92
_test_sentinel : 0 ,
89
93
}
90
94
}
You can’t perform that action at this time.
0 commit comments