File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ fn main_inner(image: Handle, mut st: SystemTable<Boot>) -> Status {
103
103
)
104
104
. unwrap ( ) ;
105
105
106
- let framebuffer = init_logger ( & st, kernel. config ) ;
106
+ let framebuffer = init_logger ( image , & st, kernel. config ) ;
107
107
unsafe {
108
108
* SYSTEM_TABLE . get ( ) = None ;
109
109
}
@@ -439,7 +439,7 @@ fn create_page_tables(
439
439
}
440
440
}
441
441
442
- fn init_logger ( st : & SystemTable < Boot > , config : BootloaderConfig ) -> Option < RawFrameBufferInfo > {
442
+ fn init_logger ( image_handle : Handle , st : & SystemTable < Boot > , config : BootloaderConfig ) -> Option < RawFrameBufferInfo > {
443
443
let gop_handle = st
444
444
. boot_services ( )
445
445
. get_handle_for_protocol :: < GraphicsOutput > ( )
@@ -449,7 +449,7 @@ fn init_logger(st: &SystemTable<Boot>, config: BootloaderConfig) -> Option<RawFr
449
449
. open_protocol :: < GraphicsOutput > (
450
450
OpenProtocolParams {
451
451
handle : gop_handle,
452
- agent : st . boot_services ( ) . image_handle ( ) ,
452
+ agent : image_handle,
453
453
controller : None ,
454
454
} ,
455
455
OpenProtocolAttributes :: Exclusive ,
You can’t perform that action at this time.
0 commit comments