Deleted Added
full compact
smp.h (158236) smp.h (167273)
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 158236 2006-05-01 21:36:47Z jhb $
9 * $FreeBSD: head/sys/amd64/include/smp.h 167273 2007-03-06 17:16:47Z jhb $
10 *
11 */
12
13#ifndef _MACHINE_SMP_H_
14#define _MACHINE_SMP_H_
15
16#ifdef _KERNEL
17

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

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

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

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

--- 33 unchanged lines hidden ---
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 */

--- 33 unchanged lines hidden ---