root_fs
This commit is contained in:
parent
20b9947a88
commit
706c17c74f
|
@ -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
0
root_fs/LAYOUT.md
Normal file
6
root_fs/init_proc.toml
Normal file
6
root_fs/init_proc.toml
Normal 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
|
Loading…
Reference in a new issue