Deleted Added
full compact
smp.h (143190) smp.h (152022)
1/*-
2 * Copyright (c) 2001 Jake Burkholder.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2001 Jake Burkholder.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/sparc64/include/smp.h 143190 2005-03-06 20:57:08Z alc $
26 * $FreeBSD: head/sys/sparc64/include/smp.h 152022 2005-11-03 21:08:20Z jhb $
27 */
28
29#ifndef _MACHINE_SMP_H_
30#define _MACHINE_SMP_H_
31
32#define CPU_CLKSYNC 1
33#define CPU_INIT 2
34#define CPU_BOOTSTRAP 3

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

67 struct pmap *ita_pmap;
68 u_long ita_start;
69 u_long ita_end;
70};
71#define ita_va ita_start
72
73struct pcpu;
74
27 */
28
29#ifndef _MACHINE_SMP_H_
30#define _MACHINE_SMP_H_
31
32#define CPU_CLKSYNC 1
33#define CPU_INIT 2
34#define CPU_BOOTSTRAP 3

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

67 struct pmap *ita_pmap;
68 u_long ita_start;
69 u_long ita_end;
70};
71#define ita_va ita_start
72
73struct pcpu;
74
75extern struct pcb stoppcbs[];
76
75void cpu_mp_bootstrap(struct pcpu *pc);
76void cpu_mp_shutdown(void);
77
78void cpu_ipi_selected(u_int cpus, u_long d0, u_long d1, u_long d2);
79void cpu_ipi_send(u_int mid, u_long d0, u_long d1, u_long d2);
80
81void ipi_selected(u_int cpus, u_int ipi);
82void ipi_all(u_int ipi);

--- 174 unchanged lines hidden ---
77void cpu_mp_bootstrap(struct pcpu *pc);
78void cpu_mp_shutdown(void);
79
80void cpu_ipi_selected(u_int cpus, u_long d0, u_long d1, u_long d2);
81void cpu_ipi_send(u_int mid, u_long d0, u_long d1, u_long d2);
82
83void ipi_selected(u_int cpus, u_int ipi);
84void ipi_all(u_int ipi);

--- 174 unchanged lines hidden ---