diff options
Diffstat (limited to '')
| -rw-r--r-- | rsdos/src/main.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/rsdos/src/main.rs b/rsdos/src/main.rs index aa116e4..2717dff 100644 --- a/rsdos/src/main.rs +++ b/rsdos/src/main.rs | |||
| @@ -162,7 +162,13 @@ pub unsafe extern "efiapi" fn efi_main(image_handle: Handle, system_table: *mut | |||
| 162 | let (rows, cols) = rsnix::vt::size(); | 162 | let (rows, cols) = rsnix::vt::size(); |
| 163 | rsnix::serial_println!("vt: terminal ready ({}x{})", rows, cols); | 163 | rsnix::serial_println!("vt: terminal ready ({}x{})", rows, cols); |
| 164 | let (fw, fh) = rsnix::gop::pixel_dims(); | 164 | let (fw, fh) = rsnix::gop::pixel_dims(); |
| 165 | rsnix::gop::boot_marker(&alloc::format!("rsnix: gop {}x{} vt {}x{} ok", fw, fh, cols, rows)); | 165 | rsnix::gop::boot_marker(&alloc::format!( |
| 166 | "rsnix: gop {}x{} vt {}x{} ok", | ||
| 167 | fw, | ||
| 168 | fh, | ||
| 169 | cols, | ||
| 170 | rows | ||
| 171 | )); | ||
| 166 | 172 | ||
| 167 | // ExitBootServices — we now own the machine | 173 | // ExitBootServices — we now own the machine |
| 168 | if unsafe { (bs.exit_boot_services)(image_handle, map_key) } != EFI_SUCCESS { | 174 | if unsafe { (bs.exit_boot_services)(image_handle, map_key) } != EFI_SUCCESS { |
| @@ -212,7 +218,6 @@ pub unsafe extern "efiapi" fn efi_main(image_handle: Handle, system_table: *mut | |||
| 212 | } else { | 218 | } else { |
| 213 | rsnix::serial_println!("pages: init FAILED"); | 219 | rsnix::serial_println!("pages: init FAILED"); |
| 214 | } | 220 | } |
| 215 | rsnix::gop::init_shadow(); | ||
| 216 | rsnix::gop::boot_marker("rsnix: shadow ok"); | 221 | rsnix::gop::boot_marker("rsnix: shadow ok"); |
| 217 | if rsnix::memory::page_self_test() { | 222 | if rsnix::memory::page_self_test() { |
| 218 | rsnix::serial_println!("pages: self-test OK (alloc/free/runs)"); | 223 | rsnix::serial_println!("pages: self-test OK (alloc/free/runs)"); |
