mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
HV: Remove INIT signal notification related code
We don't use INIT signal notification method now. This patch removes them. Tracked-On: #3886 Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Kaige Fu <kaige.fu@intel.com>
This commit is contained in:
@@ -274,26 +274,6 @@ void send_single_ipi(uint16_t pcpu_id, uint32_t vector)
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
void send_single_init(uint16_t pcpu_id)
|
||||
{
|
||||
union apic_icr icr;
|
||||
|
||||
/*
|
||||
* Intel SDM Vol3 23.8:
|
||||
* The INIT signal is blocked whenever a logical processor is in VMX root operation.
|
||||
* It is not blocked in VMX nonroot operation. Instead, INITs cause VM exits
|
||||
*/
|
||||
icr.value_32.hi_32 = per_cpu(lapic_id, pcpu_id);
|
||||
icr.value_32.lo_32 = (INTR_LAPIC_ICR_PHYSICAL << 11U) | (INTR_LAPIC_ICR_INIT << 8U);
|
||||
|
||||
msr_write(MSR_IA32_EXT_APIC_ICR, icr.value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @pre pcpu_id < CONFIG_MAX_PCPU_NUM
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
void send_single_nmi(uint16_t pcpu_id)
|
||||
{
|
||||
union apic_icr icr;
|
||||
|
||||
Reference in New Issue
Block a user