DM: build UOS DSDT with vcpu px state data

With the DSDT which include virtual _PSS/_PCT/_PPC objects, UOS should
have ACPI Px control capability if acpi cpufreq driver is enalbed in
kernel.

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
Victor Sun
2018-04-05 03:35:23 +08:00
committed by Jack Ren
parent e96fe060bc
commit a91118e3e8
3 changed files with 49 additions and 3 deletions

View File

@@ -764,6 +764,9 @@ basl_fwrite_dsdt(FILE *fp, struct vmctx *ctx)
dsdt_line(" })");
dsdt_line(" }");
dsdt_line(" }");
pm_write_dsdt(ctx, basl_ncpu);
dsdt_line("}");
if (dsdt_error != 0)