Deleted Added
full compact
smp.h (222853) smp.h (235622)
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/i386/include/smp.h 222853 2011-06-08 08:12:15Z avg $
9 * $FreeBSD: head/sys/i386/include/smp.h 235622 2012-05-18 18:55:58Z iwasaki $
10 *
11 */
12
13#ifndef _MACHINE_SMP_H_
14#define _MACHINE_SMP_H_
15
16#ifdef _KERNEL
17

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

48/* IPI handlers */
49inthand_t
50 IDTVEC(invltlb), /* TLB shootdowns - global */
51 IDTVEC(invlpg), /* TLB shootdowns - 1 page */
52 IDTVEC(invlrng), /* TLB shootdowns - page range */
53 IDTVEC(invlcache), /* Write back and invalidate cache */
54 IDTVEC(ipi_intr_bitmap_handler), /* Bitmap based IPIs */
55 IDTVEC(cpustop), /* CPU stops & waits to be restarted */
10 *
11 */
12
13#ifndef _MACHINE_SMP_H_
14#define _MACHINE_SMP_H_
15
16#ifdef _KERNEL
17

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

48/* IPI handlers */
49inthand_t
50 IDTVEC(invltlb), /* TLB shootdowns - global */
51 IDTVEC(invlpg), /* TLB shootdowns - 1 page */
52 IDTVEC(invlrng), /* TLB shootdowns - page range */
53 IDTVEC(invlcache), /* Write back and invalidate cache */
54 IDTVEC(ipi_intr_bitmap_handler), /* Bitmap based IPIs */
55 IDTVEC(cpustop), /* CPU stops & waits to be restarted */
56 IDTVEC(cpususpend), /* CPU suspends & waits to be resumed */
56 IDTVEC(rendezvous), /* handle CPU rendezvous */
57 IDTVEC(lazypmap); /* handle lazy pmap release */
58
59/* functions in mp_machdep.c */
60void cpu_add(u_int apic_id, char boot_cpu);
61void cpustop_handler(void);
57 IDTVEC(rendezvous), /* handle CPU rendezvous */
58 IDTVEC(lazypmap); /* handle lazy pmap release */
59
60/* functions in mp_machdep.c */
61void cpu_add(u_int apic_id, char boot_cpu);
62void cpustop_handler(void);
63void cpususpend_handler(void);
62void init_secondary(void);
63void ipi_all_but_self(u_int ipi);
64#ifndef XEN
65void ipi_bitmap_handler(struct trapframe frame);
66#endif
67void ipi_cpu(int cpu, u_int ipi);
68int ipi_nmi_handler(void);
69void ipi_selected(cpuset_t cpus, u_int ipi);

--- 23 unchanged lines hidden ---
64void init_secondary(void);
65void ipi_all_but_self(u_int ipi);
66#ifndef XEN
67void ipi_bitmap_handler(struct trapframe frame);
68#endif
69void ipi_cpu(int cpu, u_int ipi);
70int ipi_nmi_handler(void);
71void ipi_selected(cpuset_t cpus, u_int ipi);

--- 23 unchanged lines hidden ---