mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 12:19:06 +00:00
HV: Minor refinement about RTVM pm MACRO and comments
This patch mainly does the following: - Replace prefix RT_VM_ with VIRTUAL_. - Remove the check of "addr != RT_VM_PM1A_CNT_ADDR" as the handler is specific for this addr. - Add comments about the meaning of return value. 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,9 @@
|
||||
#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 RT_VM_PM1A_CNT_ADDR 0x404U
|
||||
#define RT_VM_PM1A_SLP_TYP 0x1c00U
|
||||
#define RT_VM_PM1A_SLP_EN 0x2000U
|
||||
#define VIRTUAL_PM1A_CNT_ADDR 0x404U
|
||||
#define VIRTUAL_PM1A_SLP_TYP 0x1c00U
|
||||
#define VIRTUAL_PM1A_SLP_EN 0x2000U
|
||||
|
||||
/**
|
||||
* @brief Hypercall
|
||||
|
Reference in New Issue
Block a user