pub struct EnableAcpiMode {
pub default_pio_dynamic: u16,
}
Expand description
This is used when running the UEFI BIOS. When passed via
PowerManagementDevice::new
, the device will pre-populate various register
values + automatically map the dynamic memory regions at the specified port
io address.
NOTE: at some point, this device should be refactored into a “generic” power management device, which will do away with all the PIIX4 cruft that necessitates this extra “enable ACPI mode” call.
Fields§
§default_pio_dynamic: u16
Default base address for the dynamic register region.
Trait Implementations§
Source§impl Clone for EnableAcpiMode
impl Clone for EnableAcpiMode
Source§fn clone(&self) -> EnableAcpiMode
fn clone(&self) -> EnableAcpiMode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EnableAcpiMode
impl Debug for EnableAcpiMode
impl Copy for EnableAcpiMode
Auto Trait Implementations§
impl Freeze for EnableAcpiMode
impl RefUnwindSafe for EnableAcpiMode
impl Send for EnableAcpiMode
impl Sync for EnableAcpiMode
impl Unpin for EnableAcpiMode
impl UnwindSafe for EnableAcpiMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more