You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
454 B
18 lines
454 B
#![no_std]
|
|
#![no_main]
|
|
|
|
extern crate uefi;
|
|
extern crate uefi_alloc;
|
|
extern crate uefi_services;
|
|
extern crate uefi_exts;
|
|
extern crate uefi_logger;
|
|
|
|
use uefi::prelude::*;
|
|
|
|
#[no_mangle]
|
|
pub extern "win64" fn uefi_start(image: uefi::Handle, table: SystemTable<Boot>) -> Status {
|
|
uefi_services::init(&table).expect_success("Unable to initialize utilities");
|
|
table.stdout().reset(false).expect_success("Failed to reset stdout");
|
|
|
|
Status::SUCCESS
|
|
}
|
|
|