mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 18:14:53 +00:00
DM: Keep consistency between HV and DM about PM1A_CNT_ADDR
To keep consistency between HV and DM about PM1A_CNT_ADDR, it is better to replace the PM1A_CNT related MACROs used in DM with VIRTUAL_PM1A_CNT related MACROs in acrn_common.h. Tracked-On: #2865 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Eddie Dong <Eddie.dong@intel.com>
This commit is contained in:
@@ -364,7 +364,7 @@ basl_fwrite_fadt(FILE *fp, struct vmctx *ctx)
|
||||
PM1A_EVT_ADDR);
|
||||
EFPRINTF(fp, "[0004]\t\tPM1B Event Block Address : 00000000\n");
|
||||
EFPRINTF(fp, "[0004]\t\tPM1A Control Block Address : %08X\n",
|
||||
PM1A_CNT_ADDR);
|
||||
VIRTUAL_PM1A_CNT_ADDR);
|
||||
EFPRINTF(fp, "[0004]\t\tPM1B Control Block Address : 00000000\n");
|
||||
EFPRINTF(fp, "[0004]\t\tPM2 Control Block Address : 00000000\n");
|
||||
EFPRINTF(fp, "[0004]\t\tPM Timer Block Address : %08X\n",
|
||||
@@ -466,7 +466,7 @@ basl_fwrite_fadt(FILE *fp, struct vmctx *ctx)
|
||||
EFPRINTF(fp, "[0001]\t\tBit Offset : 00\n");
|
||||
EFPRINTF(fp, "[0001]\t\tEncoded Access Width : 02 [Word Access:16]\n");
|
||||
EFPRINTF(fp, "[0008]\t\tAddress : 00000000%08X\n",
|
||||
PM1A_CNT_ADDR);
|
||||
VIRTUAL_PM1A_CNT_ADDR);
|
||||
EFPRINTF(fp, "\n");
|
||||
|
||||
EFPRINTF(fp,
|
||||
|
||||
Reference in New Issue
Block a user