mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-04 18:30:18 +00:00
hv: vlapic: refine apicv_post_intr to internal function
Rename vlapic_post_intr to apicv_post_intr and move it to internal function since it's only used in vlaic.c. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -155,20 +155,6 @@ bool vlapic_find_deliverable_intr(const struct acrn_vlapic *vlapic, uint32_t *ve
|
||||
*/
|
||||
void vlapic_get_deliverable_intr(struct acrn_vlapic *vlapic, uint32_t vector);
|
||||
|
||||
/**
|
||||
* @brief Send notification vector to target pCPU.
|
||||
*
|
||||
* If APICv Posted-Interrupt is enabled and target pCPU is in non-root mode,
|
||||
* pCPU will sync pending virtual interrupts from PIR to vIRR automatically,
|
||||
* without VM exit.
|
||||
* If pCPU in root-mode, virtual interrupt will be injected in next VM entry.
|
||||
*
|
||||
* @param[in] dest_pcpu_id Target CPU ID.
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
void vlapic_post_intr(uint16_t dest_pcpu_id);
|
||||
|
||||
/**
|
||||
* @brief Get physical address to PIR description.
|
||||
*
|
||||
|
Reference in New Issue
Block a user