style: cargo fmt kernel crates
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user