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

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

54 IDTVEC(cpususpend), /* CPU suspends & waits to be resumed */
55 IDTVEC(rendezvous); /* handle CPU rendezvous */
56
57/* functions in mp_machdep.c */
58void cpu_add(u_int apic_id, char boot_cpu);
59void cpustop_handler(void);
60void cpususpend_handler(void);
61void init_secondary(void);
10 *
11 */
12
13#ifndef _MACHINE_SMP_H_
14#define _MACHINE_SMP_H_
15
16#ifdef _KERNEL
17

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

54 IDTVEC(cpususpend), /* CPU suspends & waits to be resumed */
55 IDTVEC(rendezvous); /* handle CPU rendezvous */
56
57/* functions in mp_machdep.c */
58void cpu_add(u_int apic_id, char boot_cpu);
59void cpustop_handler(void);
60void cpususpend_handler(void);
61void init_secondary(void);
62void ipi_startup(int apic_id, int vector);
62void ipi_all_but_self(u_int ipi);
63void ipi_bitmap_handler(struct trapframe frame);
64void ipi_cpu(int cpu, u_int ipi);
65int ipi_nmi_handler(void);
66void ipi_selected(cpuset_t cpus, u_int ipi);
67u_int mp_bootaddress(u_int);
68void smp_cache_flush(void);
69void smp_invlpg(vm_offset_t addr);

--- 12 unchanged lines hidden ---
63void ipi_all_but_self(u_int ipi);
64void ipi_bitmap_handler(struct trapframe frame);
65void ipi_cpu(int cpu, u_int ipi);
66int ipi_nmi_handler(void);
67void ipi_selected(cpuset_t cpus, u_int ipi);
68u_int mp_bootaddress(u_int);
69void smp_cache_flush(void);
70void smp_invlpg(vm_offset_t addr);

--- 12 unchanged lines hidden ---