Module legacy

Module legacy 

Source
Expand description

Implements legacy devices (UART, RTC etc).

Re-exports§

pub use self::serial::IER_RDA_BIT;
pub use self::serial::IER_RDA_OFFSET;
pub use self::serial::SerialDevice;
pub use self::serial::SerialEventsWrapper;
pub use self::serial::SerialWrapper;

Modules§

serial
Implements a wrapper over an UART serial device.

Structs§

EventFdTrigger
Wrapper for implementing the trigger functionality for EventFd.
I8042Device
A i8042 PS/2 controller that emulates just enough to shutdown the machine.

Enums§

I8042DeviceError
Errors thrown by the i8042 device.

Functions§

flush_metrics
Called by METRICS.flush(), this function facilitates serialization of aggregated metrics.