Directly read the bootstrap entry point from the initfs header

This commit is contained in:
bjorn3
2024-03-11 12:31:18 +01:00
parent fb66a8628f
commit ecbc2b7e8d
5 changed files with 13 additions and 15 deletions
-1
View File
@@ -172,7 +172,6 @@ extern "C" fn userspace_init() {
struct Bootstrap {
base: crate::memory::Frame,
page_count: usize,
entry: usize,
env: &'static [u8],
}
static BOOTSTRAP: spin::Once<Bootstrap> = spin::Once::new();