summaryrefslogtreecommitdiffstats
path: root/rsdos/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rsdos/src/main.rs')
-rw-r--r--rsdos/src/main.rs18
1 files changed, 11 insertions, 7 deletions
diff --git a/rsdos/src/main.rs b/rsdos/src/main.rs
index dc59e8e..c36660e 100644
--- a/rsdos/src/main.rs
+++ b/rsdos/src/main.rs
@@ -83,13 +83,17 @@ pub extern "efiapi" fn efi_main(image_handle: Handle, system_table: *mut SystemT
83 rsnix::serial_println!("gop: not found (0x{:x})", gop_result); 83 rsnix::serial_println!("gop: not found (0x{:x})", gop_result);
84 } 84 }
85 rsnix::vt::init(); 85 rsnix::vt::init();
86 rsnix::serial_println!("vt: terminal ready ({}x{})", { 86 rsnix::serial_println!(
87 let (rows, cols) = rsnix::vt::size(); 87 "vt: terminal ready ({}x{})",
88 rows 88 {
89 }, { 89 let (rows, cols) = rsnix::vt::size();
90 let (rows, cols) = rsnix::vt::size(); 90 rows
91 cols 91 },
92 }); 92 {
93 let (rows, cols) = rsnix::vt::size();
94 cols
95 }
96 );
93 97
94 // ExitBootServices — we now own the machine 98 // ExitBootServices — we now own the machine
95 if unsafe { (bs.exit_boot_services)(image_handle, map_key) } != EFI_SUCCESS { 99 if unsafe { (bs.exit_boot_services)(image_handle, map_key) } != EFI_SUCCESS {