Deleted Added
full compact
smp.h (196196) smp.h (209248)
1/*-
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 *
1/*-
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 *
9 * $FreeBSD: head/sys/amd64/include/smp.h 196196 2009-08-13 17:09:45Z attilio $
9 * $FreeBSD: head/sys/amd64/include/smp.h 209248 2010-06-17 11:54:49Z mav $
10 *
11 */
12
13#ifndef _MACHINE_SMP_H_
14#define _MACHINE_SMP_H_
15
16#ifdef _KERNEL
17

--- 12 unchanged lines hidden (view full) ---

30extern char mptramp_end[];
31extern u_int32_t mptramp_pagetables;
32
33/* global data in mp_machdep.c */
34extern int mp_naps;
35extern int boot_cpu_id;
36extern struct pcb stoppcbs[];
37extern int cpu_apic_ids[];
10 *
11 */
12
13#ifndef _MACHINE_SMP_H_
14#define _MACHINE_SMP_H_
15
16#ifdef _KERNEL
17

--- 12 unchanged lines hidden (view full) ---

30extern char mptramp_end[];
31extern u_int32_t mptramp_pagetables;
32
33/* global data in mp_machdep.c */
34extern int mp_naps;
35extern int boot_cpu_id;
36extern struct pcb stoppcbs[];
37extern int cpu_apic_ids[];
38#ifdef COUNT_IPIS
39extern u_long *ipi_invltlb_counts[MAXCPU];
40extern u_long *ipi_invlrng_counts[MAXCPU];
41extern u_long *ipi_invlpg_counts[MAXCPU];
42extern u_long *ipi_invlcache_counts[MAXCPU];
43extern u_long *ipi_rendezvous_counts[MAXCPU];
44extern u_long *ipi_lazypmap_counts[MAXCPU];
45#endif
38
39/* IPI handlers */
40inthand_t
41 IDTVEC(invltlb), /* TLB shootdowns - global */
42 IDTVEC(invlpg), /* TLB shootdowns - 1 page */
43 IDTVEC(invlrng), /* TLB shootdowns - page range */
44 IDTVEC(invlcache), /* Write back and invalidate cache */
45 IDTVEC(ipi_intr_bitmap_handler), /* Bitmap based IPIs */

--- 29 unchanged lines hidden ---
46
47/* IPI handlers */
48inthand_t
49 IDTVEC(invltlb), /* TLB shootdowns - global */
50 IDTVEC(invlpg), /* TLB shootdowns - 1 page */
51 IDTVEC(invlrng), /* TLB shootdowns - page range */
52 IDTVEC(invlcache), /* Write back and invalidate cache */
53 IDTVEC(ipi_intr_bitmap_handler), /* Bitmap based IPIs */

--- 29 unchanged lines hidden ---