Coverage Report

Created: 2017-10-25 09:10

/root/src/xen/xen/include/asm-x86/mach-default/irq_vectors.h
Line
Count
Source (jump to first uncovered line)
1
#ifndef _ASM_IRQ_VECTORS_H
2
#define _ASM_IRQ_VECTORS_H
3
4
/* Processor-initiated interrupts are all high priority. */
5
13
#define SPURIOUS_APIC_VECTOR  0xff
6
13
#define ERROR_APIC_VECTOR 0xfe
7
119
#define INVALIDATE_TLB_VECTOR 0xfd
8
101k
#define EVENT_CHECK_VECTOR  0xfc
9
222k
#define CALL_FUNCTION_VECTOR  0xfb
10
15
#define LOCAL_TIMER_VECTOR  0xfa
11
1
#define PMU_APIC_VECTOR   0xf9
12
/*
13
 * High-priority dynamically-allocated vectors. For interrupts that
14
 * must be higher priority than any guest-bound interrupt.
15
 */
16
543
#define FIRST_HIPRIORITY_VECTOR 0xf1
17
592
#define LAST_HIPRIORITY_VECTOR  0xf8
18
/* IRQ0 (timer) is statically allocated but must be high priority. */
19
3
#define IRQ0_VECTOR             0xf0
20
21
/* Legacy PIC uses vectors 0xe0-0xef. */
22
18.4E
#define FIRST_LEGACY_VECTOR 0xe0
23
43
#define LAST_LEGACY_VECTOR      0xef
24
25
0
#define HYPERCALL_VECTOR  0x82
26
#define LEGACY_SYSCALL_VECTOR   0x80
27
28
/* Dynamically-allocated vectors available to any driver. */
29
17.9k
#define FIRST_DYNAMIC_VECTOR  0x20
30
17.7k
#define LAST_DYNAMIC_VECTOR 0xdf
31
17.7k
#define NR_DYNAMIC_VECTORS  (LAST_DYNAMIC_VECTOR - FIRST_DYNAMIC_VECTOR + 1)
32
33
2
#define IRQ_MOVE_CLEANUP_VECTOR FIRST_DYNAMIC_VECTOR
34
35
7.40M
#define NR_VECTORS 256
36
37
#endif /* _ASM_IRQ_VECTORS_H */