vmm: Implement the power button method for AArch64

This commit implements the power button method for AArch64 using
the PL061 GPIO controller.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Henry Wang
2021-03-07 21:39:11 +08:00
committed by Michael
parent c853ed3fdc
commit 2bb153de2b
3 changed files with 28 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ pub use self::fwdebug::FwDebugDevice;
pub use self::i8042::I8042Device;
pub use self::serial::Serial;
#[cfg(target_arch = "aarch64")]
pub use self::gpio_pl061::Error as GPIODeviceError;
#[cfg(target_arch = "aarch64")]
pub use self::gpio_pl061::GPIO;
#[cfg(target_arch = "aarch64")]