feat(adapter): higher-half kernel (linked at PHYS_OFFSET, boot trampoline, no low mappings), fix SBI ecall clobbers
This commit is contained in:
@@ -7,7 +7,7 @@ pub struct Uart {
|
||||
impl Uart {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
base: board::UART_BASE,
|
||||
base: crate::mmu::phys_to_virt(board::UART_BASE),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user