diff options
Diffstat (limited to '')
| -rw-r--r-- | rsdos/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsdos/src/main.rs b/rsdos/src/main.rs index 2ba5d32..a528810 100644 --- a/rsdos/src/main.rs +++ b/rsdos/src/main.rs | |||
| @@ -38,7 +38,7 @@ fn panic(info: &PanicInfo) -> ! { | |||
| 38 | /// The firmware hands us raw pointers (image handle, system table) that | 38 | /// The firmware hands us raw pointers (image handle, system table) that |
| 39 | /// must remain valid for the lifetime of the call — a contract guaranteed | 39 | /// must remain valid for the lifetime of the call — a contract guaranteed |
| 40 | /// by the UEFI loader. | 40 | /// by the UEFI loader. |
| 41 | #[no_mangle] | 41 | #[unsafe(no_mangle)] |
| 42 | pub unsafe extern "efiapi" fn efi_main(image_handle: Handle, system_table: *mut SystemTable) -> ! { | 42 | pub unsafe extern "efiapi" fn efi_main(image_handle: Handle, system_table: *mut SystemTable) -> ! { |
| 43 | let st = unsafe { &mut *system_table }; | 43 | let st = unsafe { &mut *system_table }; |
| 44 | let bs = unsafe { &mut *st.boot_services }; | 44 | let bs = unsafe { &mut *st.boot_services }; |
