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:
Andrey Turkin
2025-04-19 10:03:35 +03:00
parent e5f4795024
commit 1b9fcbf593
-5
View File
@@ -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();
}
}
}