Crate vm_superio[][src]

Expand description

Emulation for legacy devices.

For now, it offers emulation support only for the Linux serial console, an Arm PL031 Real Time Clock (RTC), and an i8042 PS/2 controller that only handles the CPU reset.

It also provides a Trigger interface for an object that can generate an event.

Re-exports

pub use i8042::I8042Device;
pub use rtc_pl031::RTC;
pub use serial::Serial;

Modules

i8042

Provides emulation for a super minimal i8042 controller.

rtc_pl031

Provides emulation for a minimal ARM PL031 Real Time Clock.

serial

Provides emulation for Linux serial console.

Traits

Trigger

Abstraction for a simple, push-button like interrupt mechanism. This helps in abstracting away how events/interrupts are generated when working with the emulated devices.