mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-18 01:12:21 +00:00
hv: remove dead code
remove dead code dump_lapic. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
42e38dfb53
commit
e32b2b4c11
@ -175,23 +175,6 @@ static int vcpu_do_pending_extint(const struct acrn_vcpu *vcpu)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* please keep this for interrupt debug:
|
|
||||||
* 1. Timer alive or not
|
|
||||||
* 2. native LAPIC interrupt pending/EOI status
|
|
||||||
* 3. CPU stuck or not
|
|
||||||
*/
|
|
||||||
static void dump_lapic(void)
|
|
||||||
{
|
|
||||||
dev_dbg(ACRN_DBG_INTR,
|
|
||||||
"LAPIC: TIME %08x, init=0x%x cur=0x%x ISR=0x%x IRR=0x%x",
|
|
||||||
msr_read(MSR_IA32_EXT_APIC_LVT_TIMER),
|
|
||||||
msr_read(MSR_IA32_EXT_APIC_INIT_COUNT),
|
|
||||||
msr_read(MSR_IA32_EXT_APIC_CUR_COUNT),
|
|
||||||
msr_read(MSR_IA32_EXT_APIC_ISR7),
|
|
||||||
msr_read(MSR_IA32_EXT_APIC_IRR7)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* SDM Vol3 -6.15, Table 6-4 - interrupt and exception classes */
|
/* SDM Vol3 -6.15, Table 6-4 - interrupt and exception classes */
|
||||||
static int get_excep_class(uint32_t vector)
|
static int get_excep_class(uint32_t vector)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user