/root/src/xen/xen/arch/x86/genapic/default.c
Line | Count | Source |
1 | | /* |
2 | | * Default generic APIC driver. This handles upto 8 CPUs. |
3 | | */ |
4 | | #include <xen/cpumask.h> |
5 | | #include <asm/current.h> |
6 | | #include <asm/mpspec.h> |
7 | | #include <asm/genapic.h> |
8 | | #include <asm/fixmap.h> |
9 | | #include <asm/apicdef.h> |
10 | | #include <xen/kernel.h> |
11 | | #include <xen/string.h> |
12 | | #include <xen/smp.h> |
13 | | #include <xen/init.h> |
14 | | #include <asm/io_apic.h> |
15 | | #include <asm/mach-default/mach_mpparse.h> |
16 | | |
17 | | /* should be called last. */ |
18 | | static __init int probe_default(void) |
19 | 1 | { |
20 | 1 | return 1; |
21 | 1 | } |
22 | | |
23 | | const struct genapic apic_default = { |
24 | | APIC_INIT("default", probe_default), |
25 | | GENAPIC_FLAT |
26 | | }; |