Trait acpi_tables::aml::Aml

source ·
pub trait Aml {
    // Required method
    fn to_aml_bytes(&self, bytes: &mut Vec<u8>);
}
Expand description

The trait Aml can be implemented by the ACPI objects to translate itself into the AML raw data. So that these AML raw data can be added into the ACPI DSDT for guest.

Required Methods§

source

fn to_aml_bytes(&self, bytes: &mut Vec<u8>)

Translate an ACPI object into AML code and append to the vector buffer.

  • bytes - The vector used to append the AML code.

Implementors§

source§

impl Aml for Acquire

source§

impl Aml for AddressSpace<u16>

source§

impl Aml for AddressSpace<u32>

source§

impl Aml for AddressSpace<u64>

source§

impl Aml for Arg

source§

impl Aml for BufferData

source§

impl Aml for EISAName

source§

impl Aml for Field

source§

impl Aml for IO

source§

impl Aml for Interrupt

source§

impl Aml for Local

source§

impl Aml for Memory32Fixed

source§

impl Aml for Mutex

source§

impl Aml for Name

source§

impl Aml for One

source§

impl Aml for Ones

source§

impl Aml for Package

source§

impl Aml for Path

source§

impl Aml for Release

source§

impl Aml for Uuid

source§

impl Aml for Zero

source§

impl Aml for AmlStr

source§

impl Aml for AmlString

source§

impl Aml for Byte

source§

impl Aml for DWord

source§

impl Aml for QWord

source§

impl Aml for Usize

source§

impl Aml for Word

source§

impl<'a> Aml for Add<'a>

source§

impl<'a> Aml for And<'a>

source§

impl<'a> Aml for BufferTerm<'a>

source§

impl<'a> Aml for Concat<'a>

source§

impl<'a> Aml for ConcatRes<'a>

source§

impl<'a> Aml for CreateDWordField<'a>

source§

impl<'a> Aml for CreateField<'a>

source§

impl<'a> Aml for CreateQWordField<'a>

source§

impl<'a> Aml for DeRefOf<'a>

source§

impl<'a> Aml for Device<'a>

source§

impl<'a> Aml for Else<'a>

source§

impl<'a> Aml for Equal<'a>

source§

impl<'a> Aml for GreaterEqual<'a>

source§

impl<'a> Aml for GreaterThan<'a>

source§

impl<'a> Aml for If<'a>

source§

impl<'a> Aml for Index<'a>

source§

impl<'a> Aml for LessEqual<'a>

source§

impl<'a> Aml for LessThan<'a>

source§

impl<'a> Aml for Method<'a>

source§

impl<'a> Aml for MethodCall<'a>

source§

impl<'a> Aml for Mid<'a>

source§

impl<'a> Aml for Mod<'a>

source§

impl<'a> Aml for Multiply<'a>

source§

impl<'a> Aml for Nand<'a>

source§

impl<'a> Aml for Nor<'a>

source§

impl<'a> Aml for NotEqual<'a>

source§

impl<'a> Aml for Notify<'a>

source§

impl<'a> Aml for ObjectType<'a>

source§

impl<'a> Aml for OpRegion<'a>

source§

impl<'a> Aml for Or<'a>

source§

impl<'a> Aml for PowerResource<'a>

source§

impl<'a> Aml for ResourceTemplate<'a>

source§

impl<'a> Aml for Return<'a>

source§

impl<'a> Aml for Scope<'a>

source§

impl<'a> Aml for ShiftLeft<'a>

source§

impl<'a> Aml for ShiftRight<'a>

source§

impl<'a> Aml for SizeOf<'a>

source§

impl<'a> Aml for Store<'a>

source§

impl<'a> Aml for Subtract<'a>

source§

impl<'a> Aml for ToBuffer<'a>

source§

impl<'a> Aml for ToInteger<'a>

source§

impl<'a> Aml for ToString<'a>

source§

impl<'a> Aml for VarPackageTerm<'a>

source§

impl<'a> Aml for While<'a>

source§

impl<'a> Aml for Xor<'a>