Skip to the content.

APIC 学习资料整理

apic

// global apic variable
struct apic *apic __ro_after_init = &apic_flat;

/*

static int lapic_timer_set_oneshot(struct clock_event_device *evt) { return lapic_timer_set_periodic_oneshot(evt, true); }

static inline int lapic_timer_set_periodic_oneshot(struct clock_event_device evt, bool oneshot) { / Lapic used as dummy for broadcast ? */ if (evt->features & CLOCK_EVT_FEAT_DUMMY) return 0;

__setup_APIC_LVTT(lapic_timer_period, oneshot, 1);
return 0; } ```

apic_intr_mode_select

APIC 可以有多个模式,通过内核配置,来模拟 pic 模式的

本站所有文章转发 CSDN 将按侵权追究法律责任,其它情况随意。