Print out more useful information about AP and BSP, create kmain_ap
This commit is contained in:
parent
0d995bfb5c
commit
8ddddcec9f
4 changed files with 19 additions and 14 deletions
|
@ -53,7 +53,7 @@ pub fn init_sdt(sdt: &'static Sdt, active_table: &mut ActivePageTable) {
|
|||
// Allocate a stack
|
||||
// TODO: Allocate contiguous
|
||||
let stack_start = allocate_frame().expect("no more frames").start_address().get();
|
||||
for i in 0..62 {
|
||||
for _i in 0..62 {
|
||||
allocate_frame().expect("no more frames");
|
||||
}
|
||||
let stack_end = allocate_frame().expect("no more frames").start_address().get() + 4096;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue