arch/x86: drivers/loapic_intr.c: move local APIC initialization
In the general case, the local APIC can't be treated as a normal device with a single boot-time initialization - on SMP systems, each CPU must initialize its own. Hence the initialization proper is separated from the device-driver initialization, and said initialization is called from the early startup-assembly code when appropriate. Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
parent
418e5c1b38
commit
a981f51fe6
4 changed files with 24 additions and 8 deletions
|
@ -49,6 +49,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern void z_loapic_enable(void);
|
||||
extern void z_loapic_int_vec_set(unsigned int irq, unsigned int vector);
|
||||
extern void z_loapic_irq_enable(unsigned int irq);
|
||||
extern void z_loapic_irq_disable(unsigned int irq);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue