3.1.7 branch.
[minix.git] / kernel / arch / i386 / apic_asm.h
blobfdb3eb8503a2c9aa3bd55a581ff6bedb5871b2f7
1 #ifndef __APIC_ASM_H__
2 #define __APIC_ASM_H__
5 #ifndef __ASSEMBLY__
6 #include "kernel/kernel.h"
8 _PROTOTYPE( void apic_hwint00, (void) );
9 _PROTOTYPE( void apic_hwint01, (void) );
10 _PROTOTYPE( void apic_hwint02, (void) );
11 _PROTOTYPE( void apic_hwint03, (void) );
12 _PROTOTYPE( void apic_hwint04, (void) );
13 _PROTOTYPE( void apic_hwint05, (void) );
14 _PROTOTYPE( void apic_hwint06, (void) );
15 _PROTOTYPE( void apic_hwint07, (void) );
16 _PROTOTYPE( void apic_hwint08, (void) );
17 _PROTOTYPE( void apic_hwint09, (void) );
18 _PROTOTYPE( void apic_hwint10, (void) );
19 _PROTOTYPE( void apic_hwint11, (void) );
20 _PROTOTYPE( void apic_hwint12, (void) );
21 _PROTOTYPE( void apic_hwint13, (void) );
22 _PROTOTYPE( void apic_hwint14, (void) );
23 _PROTOTYPE( void apic_hwint15, (void) );
25 /* The local APIC timer tick handlers */
26 _PROTOTYPE(void lapic_bsp_timer_int_handler, (void));
27 _PROTOTYPE(void lapic_ap_timer_int_handler, (void));
29 #endif
31 #define CONFIG_APIC_DEBUG
33 #ifdef CONFIG_APIC_DEBUG
35 #define LAPIC_INTR_DUMMY_HANDLER_SIZE 32
37 #ifndef __ASSEMBLY__
38 EXTERN char lapic_intr_dummy_handles_start;
39 EXTERN char lapic_intr_dummy_handles_end;
40 #endif
42 #endif /* CONFIG_APIC_DEBUG */
44 #endif /* __APIC_ASM_H__ */