mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
hv:move 'fire_vhm_interrupt' to io_emul.c
-- this api is related with arch_x86, then move to x86 folder -- rename 'set_vhm_vector' to 'set_vhm_notification_vector' -- rename 'acrn_vhm_vector' to 'acrn_vhm_notification_vector' -- add an API 'get_vhm_notification_vector' Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -97,4 +97,12 @@ void register_pio_default_emulation_handler(struct acrn_vm *vm);
|
||||
* @param vm The VM to which the MMIO handler is registered
|
||||
*/
|
||||
void register_mmio_default_emulation_handler(struct acrn_vm *vm);
|
||||
|
||||
/**
|
||||
* @brief Fire VHM interrupt to SOS
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
void arch_fire_vhm_interrupt(void);
|
||||
|
||||
#endif /* IO_EMUL_H */
|
||||
|
@@ -211,8 +211,14 @@ void set_vhm_req_state(struct acrn_vm *vm, uint16_t vhm_req_id, uint32_t state);
|
||||
* @param vector vector for HV callback VHM
|
||||
* @return None
|
||||
*/
|
||||
void set_vhm_vector(uint32_t vector);
|
||||
void set_vhm_notification_vector(uint32_t vector);
|
||||
|
||||
/**
|
||||
* @brief Get the vector for HV callback VHM
|
||||
*
|
||||
* @return vector for HV callbakc VH
|
||||
*/
|
||||
uint32_t get_vhm_notification_vector(void);
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user