mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-03 18:04:25 +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:
@@ -55,9 +55,11 @@
|
||||
#define GUEST_FLAG_RT (1UL << 5U) /* Whether the vm is RT-VM */
|
||||
|
||||
/* TODO: We may need to get this addr from guest ACPI instead of hardcode here */
|
||||
#define VIRTUAL_PM1A_CNT_ADDR 0x404U
|
||||
#define VIRTUAL_PM1A_SLP_TYP 0x1c00U
|
||||
#define VIRTUAL_PM1A_SLP_EN 0x2000U
|
||||
#define VIRTUAL_PM1A_CNT_ADDR 0x404U
|
||||
#define VIRTUAL_PM1A_SCI_EN 0x0001
|
||||
#define VIRTUAL_PM1A_SLP_TYP 0x1c00U
|
||||
#define VIRTUAL_PM1A_SLP_EN 0x2000U
|
||||
#define VIRTUAL_PM1A_ALWAYS_ZERO 0xc003
|
||||
|
||||
/**
|
||||
* @brief Hypercall
|
||||
|
Reference in New Issue
Block a user