mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-23 06:05:21 +00:00
acpi_tables: aml: Implement Aml::append_aml_bytes() for EisaName
As this is a DWord and we know that DWord::append_aml_bytes() is implemented we may call it directly. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
f51bad20bf
commit
1877c723cd
@ -255,8 +255,8 @@ impl EisaName {
|
||||
}
|
||||
|
||||
impl Aml for EisaName {
|
||||
fn to_aml_bytes(&self) -> Vec<u8> {
|
||||
self.value.to_aml_bytes()
|
||||
fn append_aml_bytes(&self, bytes: &mut Vec<u8>) {
|
||||
self.value.append_aml_bytes(bytes)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user