File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ struct BootServicesInternal {
62
62
get_memory_map : unsafe extern "efiapi" fn (
63
63
size : & mut usize ,
64
64
map : * mut MemoryDescriptor ,
65
- key : & mut MemoryMapKey ,
65
+ key : & mut usize ,
66
66
desc_size : & mut usize ,
67
67
desc_version : & mut u32 ,
68
68
) -> Status ,
@@ -157,8 +157,7 @@ struct BootServicesInternal {
157
157
exit_data : * mut Char16 ,
158
158
) -> !,
159
159
unload_image : unsafe extern "efiapi" fn ( image_handle : Handle ) -> Status ,
160
- exit_boot_services :
161
- unsafe extern "efiapi" fn ( image_handle : Handle , map_key : MemoryMapKey ) -> Status ,
160
+ exit_boot_services : unsafe extern "efiapi" fn ( image_handle : Handle , map_key : usize ) -> Status ,
162
161
163
162
// Misc services
164
163
get_next_monotonic_count : usize ,
@@ -408,7 +407,7 @@ impl BootServices {
408
407
( self . 0 . get_memory_map ) (
409
408
& mut map_size,
410
409
ptr:: null_mut ( ) ,
411
- & mut map_key,
410
+ & mut map_key. 0 ,
412
411
& mut entry_size,
413
412
& mut entry_version,
414
413
)
@@ -458,7 +457,7 @@ impl BootServices {
458
457
( self . 0 . get_memory_map ) (
459
458
& mut map_size,
460
459
map_buffer,
461
- & mut map_key,
460
+ & mut map_key. 0 ,
462
461
& mut entry_size,
463
462
& mut entry_version,
464
463
)
@@ -1142,7 +1141,7 @@ impl BootServices {
1142
1141
image : Handle ,
1143
1142
mmap_key : MemoryMapKey ,
1144
1143
) -> Result {
1145
- ( self . 0 . exit_boot_services ) ( image, mmap_key) . to_result ( )
1144
+ ( self . 0 . exit_boot_services ) ( image, mmap_key. 0 ) . to_result ( )
1146
1145
}
1147
1146
1148
1147
/// Stalls the processor for an amount of time.
You can’t perform that action at this time.
0 commit comments