@@ -139,14 +139,14 @@ impl LoadedImage {
139
139
/// Drivers that wish to support unloading have to register their unload handler
140
140
/// using this protocol. It is responsible for cleaning up any resources the
141
141
/// image is using before returning. Unloading a driver is done with
142
- /// [`BootServices ::unload_image`].
142
+ /// [`boot ::unload_image`].
143
143
///
144
144
/// # Safety
145
145
///
146
146
/// Only the driver that this [`LoadedImage`] is attached to should register an
147
147
/// unload handler.
148
148
///
149
- /// [`BootServices ::unload_image`]: crate::table:: boot::BootServices
149
+ /// [`boot ::unload_image`]: crate::boot::unload_image
150
150
pub unsafe fn set_unload (
151
151
& mut self ,
152
152
unload : extern "efiapi" fn ( image_handle : Handle ) -> Status ,
@@ -157,7 +157,7 @@ impl LoadedImage {
157
157
}
158
158
159
159
/// Set the load options for the image. This can be used prior to
160
- /// calling `BootServices. start_image` to control the command line
160
+ /// calling [`boot:: start_image`] to control the command line
161
161
/// passed to the image.
162
162
///
163
163
/// `size` is in bytes.
@@ -167,6 +167,8 @@ impl LoadedImage {
167
167
/// This function takes `options` as a raw pointer because the
168
168
/// load options data is not owned by `LoadedImage`. The caller
169
169
/// must ensure that the memory lives long enough.
170
+ ///
171
+ /// [`boot::start_image`]: crate::boot::start_image
170
172
pub unsafe fn set_load_options ( & mut self , options : * const u8 , size : u32 ) {
171
173
self . 0 . load_options = options. cast ( ) ;
172
174
self . 0 . load_options_size = size;
0 commit comments