devices: legacy: Implement Arm PL011 UART

This commit implements the Arm PrimeCell UART(PL011) device.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Henry Wang
2021-03-07 19:31:07 +08:00
committed by Michael
parent c85fba0c43
commit fd95acc60f
4 changed files with 575 additions and 46 deletions
+4
View File
@@ -13,6 +13,8 @@ mod i8042;
#[cfg(target_arch = "aarch64")]
mod rtc_pl031;
mod serial;
#[cfg(target_arch = "aarch64")]
mod uart_pl011;
#[cfg(feature = "cmos")]
pub use self::cmos::Cmos;
@@ -23,3 +25,5 @@ pub use self::serial::Serial;
#[cfg(target_arch = "aarch64")]
pub use self::rtc_pl031::RTC;
#[cfg(target_arch = "aarch64")]
pub use self::uart_pl011::PL011;