riscv: Remove SBI logger
SBI needs a physical address; it used to work before because of the buggy code by sheer chance. Rather than trying to fix it the right way (find a mapping from virtual to physical both before and after RMM) let's just throw it away. Serial logger works just fine for the early init logging.
This commit is contained in:
@@ -47,11 +47,6 @@ impl<'a> Writer<'a> {
|
||||
serial.write(buf);
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
let buf = sbi_rt::Physical::new(buf.len(), buf.as_ptr() as usize, 0);
|
||||
let _ = sbi_rt::console_write(buf).ok();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user