1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-23 18:06:20 +04:00

Remove debugging output

This commit is contained in:
Stephen Marz 2020-03-13 13:16:43 -04:00
parent 497abf1660
commit cbc3622c8e
2 changed files with 3 additions and 3 deletions

View File

@ -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]

View File

@ -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 {