refactor(adapter): split trap/page_table/smp/entry by concern; trim comments
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
use super::page_table::{PAGE_SIZE, PageTable};
|
||||
use crate::board;
|
||||
|
||||
// Boot-time bump allocator for kernel-only memory: the kernel page table
|
||||
// and boot scratch buffers. User memory and user page tables come from the
|
||||
// kernel's frame table instead. It must never reach the user pool.
|
||||
// Boot bump allocator for kernel-only memory; must never reach the user pool.
|
||||
static mut NEXT_FREE: usize = 0;
|
||||
|
||||
pub fn init_allocator(start: usize) {
|
||||
|
||||
Reference in New Issue
Block a user