summaryrefslogtreecommitdiffstats
path: root/rsdos/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rsdos/src/main.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/rsdos/src/main.rs b/rsdos/src/main.rs
index 4fe89c9..60acc4e 100644
--- a/rsdos/src/main.rs
+++ b/rsdos/src/main.rs
@@ -197,6 +197,14 @@ pub unsafe extern "efiapi" fn efi_main(image_handle: Handle, system_table: *mut
197 cols, 197 cols,
198 rows 198 rows
199 )); 199 ));
200 if let Some((ib, ie)) = rsnix::memory::kernel_image_range() {
201 rsnix::gop::boot_marker(&alloc::format!(
202 "rsnix: img 0x{:x}-0x{:x} ({} KiB)",
203 ib,
204 ie,
205 (ie - ib) / 1024
206 ));
207 }
200 208
201 // ExitBootServices — we now own the machine 209 // ExitBootServices — we now own the machine
202 if unsafe { (bs.exit_boot_services)(image_handle, map_key) } != EFI_SUCCESS { 210 if unsafe { (bs.exit_boot_services)(image_handle, map_key) } != EFI_SUCCESS {