style: cargo fmt kernel crates

This commit is contained in:
2026-10-26 19:07:54 +01:00
parent 818eaecadd
commit 1c04ddf909
50 changed files with 995 additions and 499 deletions

View File

@@ -1,11 +1,13 @@
use super::page_table::{PageTable, PAGE_SIZE};
use super::page_table::{PAGE_SIZE, PageTable};
// Boot-time bump allocator for page tables.
// Only used during init before the scheduler starts.
static mut NEXT_FREE: usize = 0;
pub fn init_allocator(start: usize) {
unsafe { NEXT_FREE = start; }
unsafe {
NEXT_FREE = start;
}
}
pub fn alloc_zeroed_page() -> usize {