#![no_main] #![no_std] #![feature(abi_efiapi)] use uefi::{prelude::*, proto::console::text::Output}; mod boot_image; fn print_logo(output: &mut Output) { output.clear().unwrap(); output .output_string(cstr16!( " _ _ _ \r | | | | | | \r | | __ _ _ __ ______ _| |__ ___ ___ | |_ \r | |/ _` | '_ \\|_ / _` | '_ \\ / _ \\ / _ \\| __|\r | | (_| | | | |/ / (_| | |_) | (_) | (_) | |_ \r |_|\\__,_|_| |_/___\\__,_|_.__/ \\___/ \\___/ \\__|\r " )) .unwrap(); } #[entry] fn main(_handle: Handle, mut system_table: SystemTable) -> Status { uefi_services::init(&mut system_table).unwrap(); print_logo(system_table.stdout()); Status::SUCCESS }