mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 03:10:13 +00:00
DM: ioc code cleanup
- make ioc_init/ioc_deinit take struct vmctx as argument - ioc_init return int instead of pointer to struct ioc_dev - add ioc_dev in vmctx to track ioc_dev - remove the atkbdc.h included in vmmapi.h Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Reviewed-by: Liu, Yuan1 <yuan1.liu@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Reviewed-by: Wang Yu <yu1.wang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> Acked-by: Eddie Dong <Eddie.dong@intel.com>
This commit is contained in:
@@ -62,6 +62,7 @@ struct vmctx {
|
||||
/* fields to track virtual devices */
|
||||
void *atkbdc_base;
|
||||
void *vrtc;
|
||||
void *ioc_dev;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user