Remove K210 support.

This commit is contained in:
Yifan Wu 2022-12-13 23:52:27 +08:00
parent 3fba081487
commit 775755cf12
17 changed files with 10 additions and 994 deletions

View file

@ -1,6 +1,5 @@
mod ns16550a;
#[cfg(feature = "board_qemu")]
use crate::board::CharDeviceImpl;
use alloc::sync::Arc;
use lazy_static::*;
@ -11,7 +10,7 @@ pub trait CharDevice {
fn write(&self, ch: u8);
fn handle_irq(&self);
}
#[cfg(feature = "board_qemu")]
lazy_static! {
pub static ref UART: Arc<CharDeviceImpl> = Arc::new(CharDeviceImpl::new());
}