smp.h (78292efeef6fe20911f07b09e626a12e9c12b234) smp.h (20233f27f47bc6545222bc06ad89735924aadb8f)
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 * $Id: smp.h,v 1.30 1997/08/26 18:10:37 peter Exp $
9 * $Id: smp.h,v 1.27 1997/09/05 18:08:57 smp Exp smp $
10 *
11 */
12
13#ifndef _MACHINE_SMP_H_
14#define _MACHINE_SMP_H_
15
16#ifdef KERNEL
17

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

162/* global data in init_smp.c */
163extern int invltlb_ok;
164extern int smp_active;
165extern volatile int smp_idle_loops;
166
167/* 'private' global data in locore.s */
168extern volatile u_int cpuid;
169extern volatile u_int cpu_lockid;
10 *
11 */
12
13#ifndef _MACHINE_SMP_H_
14#define _MACHINE_SMP_H_
15
16#ifdef KERNEL
17

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

162/* global data in init_smp.c */
163extern int invltlb_ok;
164extern int smp_active;
165extern volatile int smp_idle_loops;
166
167/* 'private' global data in locore.s */
168extern volatile u_int cpuid;
169extern volatile u_int cpu_lockid;
170extern int inside_intr;
170extern volatile u_int other_cpus;
171
172#endif /* !LOCORE */
173#endif /* SMP || APIC_IO */
174#endif /* KERNEL */
175#endif /* _MACHINE_SMP_H_ */
171extern volatile u_int other_cpus;
172
173#endif /* !LOCORE */
174#endif /* SMP || APIC_IO */
175#endif /* KERNEL */
176#endif /* _MACHINE_SMP_H_ */