dm: disable ACPI PM timer

ACPI PM timer is disabled in FADT since there is no pm timer emulation
in device model now.

Tracked-On: #2962
Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
Jian Jun Chen 2019-03-01 11:05:08 +08:00 committed by wenlingz
parent 98dfc6f267
commit fd389cb15c
2 changed files with 2 additions and 2 deletions

View File

@ -374,7 +374,7 @@ basl_fwrite_fadt(FILE *fp, struct vmctx *ctx)
EFPRINTF(fp, "[0001]\t\tPM1 Event Block Length : 04\n"); EFPRINTF(fp, "[0001]\t\tPM1 Event Block Length : 04\n");
EFPRINTF(fp, "[0001]\t\tPM1 Control Block Length : 02\n"); EFPRINTF(fp, "[0001]\t\tPM1 Control Block Length : 02\n");
EFPRINTF(fp, "[0001]\t\tPM2 Control Block Length : 00\n"); EFPRINTF(fp, "[0001]\t\tPM2 Control Block Length : 00\n");
EFPRINTF(fp, "[0001]\t\tPM Timer Block Length : 04\n"); EFPRINTF(fp, "[0001]\t\tPM Timer Block Length : 00\n");
EFPRINTF(fp, "[0001]\t\tGPE0 Block Length : 00\n"); EFPRINTF(fp, "[0001]\t\tGPE0 Block Length : 00\n");
EFPRINTF(fp, "[0001]\t\tGPE1 Block Length : 00\n"); EFPRINTF(fp, "[0001]\t\tGPE1 Block Length : 00\n");
EFPRINTF(fp, "[0001]\t\tGPE1 Base Offset : 00\n"); EFPRINTF(fp, "[0001]\t\tGPE1 Base Offset : 00\n");

View File

@ -37,7 +37,7 @@
#define PM1A_EVT_ADDR 0x400 #define PM1A_EVT_ADDR 0x400
#define IO_PMTMR 0x408 /* 4-byte i/o port for the timer */ #define IO_PMTMR 0x0 /* PM Timer is disabled in ACPI */
/* All dynamic table entry no. */ /* All dynamic table entry no. */
#define NHLT_ENTRY_NO 8 #define NHLT_ENTRY_NO 8