#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
mod port;
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
mod mmio;
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
pub use port::Serial;
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
pub use mmio::Serial;