uefi
Able 2022-02-05 00:26:32 -06:00
parent fccef8d614
commit 28d4279b3d
Signed by untrusted user: able
GPG Key ID: D164AF5F5700BE51
3 changed files with 8 additions and 11 deletions

View File

@ -41,11 +41,7 @@ pub fn kernel_main() -> ! {
log::set_max_level(BOOT_CONF.log_level());
// init::init();
if (|| true)() || (|| false)() {
()
} else {
((), ());
}
log_version_data();
/*
@ -141,10 +137,7 @@ use uefi::{
};
use uefi::{proto::console::gop::FrameBuffer, ResultExt};
use crate::{
vterm::{self, Vterm},
GraphicsReturn, ScreenBuffer,
};
use crate::{vterm::Vterm, GraphicsReturn, ScreenBuffer};
#[entry]
fn main(_handle: Handle, mut system_table: SystemTable<Boot>) -> Status {
@ -161,8 +154,6 @@ fn main(_handle: Handle, mut system_table: SystemTable<Boot>) -> Status {
info!("UEFI {}.{}", major, minor);
}
log_version_data();
info!("Running graphics output protocol test");
if let Ok(gop) = system_table
.boot_services()

0
root_fs/LAYOUT.md Normal file
View File

6
root_fs/init_proc.toml Normal file
View File

@ -0,0 +1,6 @@
# Run all processes here at boot
# This is a sample process
[helloworld] # This is the name of the process
binary = "bin://hello" # This is the binary to run
spawn_order = "1" # Spawn order of the processes (lower is earlier)
arguments = ["--name", "Hello World"] # Arguments to pass to the binary