mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-24 02:16:19 +04:00
Remove debugging output
This commit is contained in:
parent
497abf1660
commit
cbc3622c8e
@ -133,7 +133,7 @@ extern "C" fn kinit() {
|
||||
page::init();
|
||||
kmem::init();
|
||||
let ret = process::init();
|
||||
println!("Init process created at address 0x{:08x}", ret);
|
||||
// println!("Init process created at address 0x{:08x}", ret);
|
||||
// We lower the threshold wall so our interrupts can jump over it.
|
||||
plic::set_threshold(0);
|
||||
// VIRTIO = [1..8]
|
||||
|
@ -103,7 +103,7 @@ pub fn init() -> usize {
|
||||
let pl = PROCESS_LIST.take().unwrap();
|
||||
let p = pl.front().unwrap().frame;
|
||||
let frame = p as *const TrapFrame as usize;
|
||||
println!("Init's frame is at 0x{:08x}", frame);
|
||||
// println!("Init's frame is at 0x{:08x}", frame);
|
||||
// Put the process list back in the global.
|
||||
PROCESS_LIST.replace(pl);
|
||||
// Return the first instruction's address to execute.
|
||||
@ -212,7 +212,7 @@ impl Process {
|
||||
EntryBits::UserReadWrite.val(),
|
||||
0,
|
||||
);
|
||||
println!("Set stack from 0x{:016x} -> 0x{:016x}", STACK_ADDR + addr, saddr + addr);
|
||||
// println!("Set stack from 0x{:016x} -> 0x{:016x}", STACK_ADDR + addr, saddr + addr);
|
||||
}
|
||||
// Map the program counter on the MMU and other bits
|
||||
for i in 0..=100 {
|
||||
|
Loading…
Reference in New Issue
Block a user