diff options
Diffstat (limited to 'rsdos/src/main.rs')
| -rw-r--r-- | rsdos/src/main.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rsdos/src/main.rs b/rsdos/src/main.rs index 8e49937..dc59e8e 100644 --- a/rsdos/src/main.rs +++ b/rsdos/src/main.rs | |||
| @@ -82,6 +82,14 @@ pub extern "efiapi" fn efi_main(image_handle: Handle, system_table: *mut SystemT | |||
| 82 | } else { | 82 | } else { |
| 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(); | ||
| 86 | rsnix::serial_println!("vt: terminal ready ({}x{})", { | ||
| 87 | let (rows, cols) = rsnix::vt::size(); | ||
| 88 | rows | ||
| 89 | }, { | ||
| 90 | let (rows, cols) = rsnix::vt::size(); | ||
| 91 | cols | ||
| 92 | }); | ||
| 85 | 93 | ||
| 86 | // ExitBootServices — we now own the machine | 94 | // ExitBootServices — we now own the machine |
| 87 | if unsafe { (bs.exit_boot_services)(image_handle, map_key) } != EFI_SUCCESS { | 95 | if unsafe { (bs.exit_boot_services)(image_handle, map_key) } != EFI_SUCCESS { |
