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

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

55 IDTVEC(cpustop), /* CPU stops & waits to be restarted */
56 IDTVEC(cpususpend), /* CPU suspends & waits to be resumed */
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);
10 *
11 */
12
13#ifndef _MACHINE_SMP_H_
14#define _MACHINE_SMP_H_
15
16#ifdef _KERNEL
17

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

55 IDTVEC(cpustop), /* CPU stops & waits to be restarted */
56 IDTVEC(cpususpend), /* CPU suspends & waits to be resumed */
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);
63#ifndef XEN
63void cpususpend_handler(void);
64void cpususpend_handler(void);
65#endif
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 ---
66void init_secondary(void);
67void ipi_all_but_self(u_int ipi);
68#ifndef XEN
69void ipi_bitmap_handler(struct trapframe frame);
70#endif
71void ipi_cpu(int cpu, u_int ipi);
72int ipi_nmi_handler(void);
73void ipi_selected(cpuset_t cpus, u_int ipi);

--- 23 unchanged lines hidden ---