1 // Copyright 2024, Linaro Limited 2 // Author(s): Manos Pitsidianakis <manos.pitsidianakis@linaro.org> 3 // SPDX-License-Identifier: GPL-2.0-or-later 4 5 //! PL011 QEMU Device Model 6 //! 7 //! This library implements a device model for the PrimeCell® UART (PL011) 8 //! device in QEMU. 9 //! 10 //! # Library crate 11 //! 12 //! See [`PL011State`](crate::device::PL011State) for the device model type and 13 //! the [`registers`] module for register types. 14 15 mod device; 16 mod device_class; 17 mod registers; 18 19 pub use device::pl011_create; 20 21 pub const TYPE_PL011: &::std::ffi::CStr = c"pl011"; 22 pub const TYPE_PL011_LUMINARY: &::std::ffi::CStr = c"pl011_luminary"; 23