mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 01:54:44 +00:00
hv:Change acrn_vhm_vector to static
-- Change acrn_vhm_vector to static, only used in io_request.c -- Add set_vhm_vector() api, it will call this api instead of acrn_vhm_vector except io_request.c Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Anthony Xu <anthony.xu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -316,6 +316,14 @@ uint32_t get_vhm_req_state(struct acrn_vm *vm, uint16_t vhm_req_id);
|
||||
*/
|
||||
void set_vhm_req_state(struct acrn_vm *vm, uint16_t vhm_req_id, uint32_t state);
|
||||
|
||||
/**
|
||||
* @brief Set the vector for HV callback VHM
|
||||
*
|
||||
* @param vector vector for HV callback VHM
|
||||
* @return None
|
||||
*/
|
||||
void set_vhm_vector(uint32_t vector);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user