mirror of https://github.com/xemu-project/xemu.git
acpi: add a missing backslash to the \_SB scope.
A predefined scope in the ACPI specs is precede with a backslash. Signed-off-by: Gal Hammer <ghammer@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
This commit is contained in:
parent
bc09e06113
commit
7824df3889
|
@ -763,7 +763,7 @@ build_ssdt(GArray *table_data, GArray *linker,
|
|||
aml_append(ssdt, scope);
|
||||
}
|
||||
|
||||
sb_scope = aml_scope("_SB");
|
||||
sb_scope = aml_scope("\\_SB");
|
||||
{
|
||||
/* create PCI0.PRES device and its _CRS to reserve CPU hotplug MMIO */
|
||||
dev = aml_device("PCI0." stringify(CPU_HOTPLUG_RESOURCE_DEVICE));
|
||||
|
|
|
@ -146,7 +146,7 @@ void free_aml_allocator(void);
|
|||
* Joins Aml elements together and helps to construct AML tables
|
||||
* Examle of usage:
|
||||
* Aml *table = aml_def_block("SSDT", ...);
|
||||
* Aml *sb = aml_scope("\_SB");
|
||||
* Aml *sb = aml_scope("\\_SB");
|
||||
* Aml *dev = aml_device("PCI0");
|
||||
*
|
||||
* aml_append(dev, aml_name_decl("HID", aml_eisaid("PNP0A03")));
|
||||
|
|
Loading…
Reference in New Issue