vmbase: Make BASE_ADDRESS public
Make the address of the primary UART available to client code.
Test: -
Change-Id: I18786a33db24c0fd924550309ff123144fdc4924
diff --git a/vmbase/src/console.rs b/vmbase/src/console.rs
index b52d924..fabea91 100644
--- a/vmbase/src/console.rs
+++ b/vmbase/src/console.rs
@@ -18,7 +18,8 @@
use core::fmt::{write, Arguments, Write};
use spin::mutex::SpinMutex;
-const BASE_ADDRESS: usize = 0x3f8;
+/// Base memory-mapped address of the primary UART device.
+pub const BASE_ADDRESS: usize = 0x3f8;
static CONSOLE: SpinMutex<Option<Uart>> = SpinMutex::new(None);