mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
kernel: use fixed address for debug port
Don't use the hardware address, since it is not likely to be in the universal address space. Signed-off-by: Sean <xobs@ci.betrusted.io>
This commit is contained in:
parent
bbab52be7f
commit
5f4ee01a0d
1 changed files with 1 additions and 2 deletions
|
|
@ -1,11 +1,10 @@
|
|||
use core::fmt::{Error, Write};
|
||||
use utra;
|
||||
#[macro_use]
|
||||
#[cfg(all(not(test), any(feature = "debug-print", feature = "print-panics")))]
|
||||
pub mod debug_print_hardware {
|
||||
use crate::debug::*;
|
||||
pub const SUPERVISOR_UART: Uart = Uart {
|
||||
base: utra::HW_UART_BASE as *mut usize,
|
||||
base: 0xffcf_0000 as *mut usize,
|
||||
};
|
||||
|
||||
#[macro_export]
|
||||
|
|
|
|||
Loading…
Reference in a new issue