Crate axplat_aarch64_peripherals

Source
Expand description

§axplat-aarch64-peripherals

Crates.io Docs.rs CI

Common peripheral drivers for ARM64 platforms.

It is axplat-compatible and can be used to implement the hardware abstraction layer (HAL) for diverse ARM64 platforms.

It includes:

  • PL011 UART driver.
  • PL031 Real Time Clock (RTC) driver.
  • GICv2 (Generic Interrupt Controller) driver.
  • Generic Timer related functions.
  • PSCI (Power State Coordination Interface) calls.

Modules§

generic_timer
ARM Generic Timer.
gic
ARM Generic Interrupt Controller (GIC).
pl011
PL011 UART.
pl031
PL031 Real Time Clock (RTC) driver.
psci
ARM Power State Coordination Interface.

Macros§

console_if_impl
Default implementation of axplat::console::ConsoleIf using the PL011 UART.
irq_if_impl
Default implementation of axplat::irq::IrqIf using the GIC.
time_if_impl
Default implementation of axplat::time::TimeIf using the generic timer.