From 07656a9cc6ed502bf3e694081f5bd56e6d0f855e Mon Sep 17 00:00:00 2001 From: Minggui Cao Date: Wed, 20 Feb 2019 11:17:29 +0800 Subject: [PATCH] DM: modify acpi for IASL to support ACPI6.3 patch is from Alex Du for IASL tool updated to support ACPI 6.3 version. Tracked-On: #2568 Signed-off-by: Alek Du Signed-off-by: Minggui Cao --- devicemodel/hw/platform/acpi/acpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devicemodel/hw/platform/acpi/acpi.c b/devicemodel/hw/platform/acpi/acpi.c index d43ec2371..ec2aba302 100644 --- a/devicemodel/hw/platform/acpi/acpi.c +++ b/devicemodel/hw/platform/acpi/acpi.c @@ -276,6 +276,7 @@ basl_fwrite_madt(FILE *fp, struct vmctx *ctx) EFPRINTF(fp, "[0001]\t\tLocal Apic ID : %02x\n", i); EFPRINTF(fp, "[0004]\t\tFlags (decoded below) : 00000001\n"); EFPRINTF(fp, "\t\t\tProcessor Enabled : 1\n"); + EFPRINTF(fp, "\t\t\tRuntime Online Capable : 0\n"); EFPRINTF(fp, "\n"); } @@ -305,7 +306,7 @@ basl_fwrite_madt(FILE *fp, struct vmctx *ctx) EFPRINTF(fp, "[0001]\t\tBus : 00\n"); EFPRINTF(fp, "[0001]\t\tSource : %02X\n", SCI_INT); EFPRINTF(fp, "[0004]\t\tInterrupt : %08X\n", SCI_INT); - EFPRINTF(fp, "[0002]\t\tFlags (decoded below) : 0000\n"); + EFPRINTF(fp, "[0002]\t\tFlags (decoded below) : 000D\n"); EFPRINTF(fp, "\t\t\tPolarity : 1\n"); EFPRINTF(fp, "\t\t\tTrigger Mode : 3\n"); EFPRINTF(fp, "\n");