mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-03 18:04:25 +00:00
IOC mediator: support IOC lifecycle
This patch implements the IOC lifecycle virtualization. In native environment, lifecycle is uesed for SoC system power control, likes enter/exit S3/S5. So these related messages can not forward directly between physical IOC and Guest OS, they need to be mapped to VM pause, exit and launch. Signed-off-by: Liu Yuan <yuan1.liu@intel.com> Reviewed-by: Wang Yu <yu1.wang@intel.com> Reviewed-by: Liu Shuo <shuo.a.liu@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -662,6 +662,7 @@ struct cbc_pkt {
|
||||
uint8_t soc_active; /* Record soc state */
|
||||
uint8_t hb_state; /* Record Heartbeat state */
|
||||
uint32_t reason; /* Record current wakeup reason */
|
||||
uint32_t boot_reason; /* Record boot up wakeup reason */
|
||||
struct cbc_request *req; /* CBC packet data */
|
||||
struct cbc_config *cfg; /* CBC and whitelist configurations */
|
||||
enum cbc_queue_type qtype; /* Routes cbc_request to queue */
|
||||
|
Reference in New Issue
Block a user