dm: declare Processors using the Device operator
Per ACPI 6.x chapter 19.6.109, the Processor Operator is deprecated. Replace it with Device Operator, otherwise the iasl would complain "Warning 3168 - Legacy Processor() keyword detected. Use Device() keyword instead." when launch post-launched VM in devicemodel. Tracked-On: #5719 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
parent
aae7a89480
commit
6b3f1d2315
|
@ -324,8 +324,11 @@ void pm_write_dsdt(struct vmctx *ctx, int ncpu)
|
|||
dsdt_line(" Scope (_PR)");
|
||||
dsdt_line(" {");
|
||||
for (i = 0; i < ncpu; i++) {
|
||||
dsdt_line(" Processor (CPU%d, 0x%02X, 0x00000000, 0x00) {}",
|
||||
i, i);
|
||||
dsdt_line(" Device (CPU%d)", i);
|
||||
dsdt_line(" {");
|
||||
dsdt_line(" Name (_HID, \"ACPI0007\")");
|
||||
dsdt_line(" Name (_UID, 0x%02X)", i);
|
||||
dsdt_line(" }");
|
||||
}
|
||||
dsdt_line(" }");
|
||||
dsdt_line("");
|
||||
|
|
Loading…
Reference in New Issue