smp.h (211197) | smp.h (212541) |
---|---|
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 211197 2010-08-11 23:22:53Z jhb $ | 26 * $FreeBSD: head/sys/sparc64/include/smp.h 212541 2010-09-13 07:25:35Z mav $ |
27 */ 28 29#ifndef _MACHINE_SMP_H_ 30#define _MACHINE_SMP_H_ 31 32#ifdef SMP 33 34#define CPU_TICKSYNC 1 --- 19 unchanged lines hidden (view full) --- 54 55#define IDC_ITID_SHIFT 14 56#define IDC_BN_SHIFT 24 57 58#define IPI_AST PIL_AST 59#define IPI_RENDEZVOUS PIL_RENDEZVOUS 60#define IPI_PREEMPT PIL_PREEMPT 61#define IPI_HARDCLOCK PIL_HARDCLOCK | 27 */ 28 29#ifndef _MACHINE_SMP_H_ 30#define _MACHINE_SMP_H_ 31 32#ifdef SMP 33 34#define CPU_TICKSYNC 1 --- 19 unchanged lines hidden (view full) --- 54 55#define IDC_ITID_SHIFT 14 56#define IDC_BN_SHIFT 24 57 58#define IPI_AST PIL_AST 59#define IPI_RENDEZVOUS PIL_RENDEZVOUS 60#define IPI_PREEMPT PIL_PREEMPT 61#define IPI_HARDCLOCK PIL_HARDCLOCK |
62#define IPI_STATCLOCK PIL_STATCLOCK | |
63#define IPI_STOP PIL_STOP 64#define IPI_STOP_HARD PIL_STOP 65 66#define IPI_RETRIES 5000 67 68struct cpu_start_args { 69 u_int csa_count; 70 u_int csa_mid; --- 298 unchanged lines hidden --- | 62#define IPI_STOP PIL_STOP 63#define IPI_STOP_HARD PIL_STOP 64 65#define IPI_RETRIES 5000 66 67struct cpu_start_args { 68 u_int csa_count; 69 u_int csa_mid; --- 298 unchanged lines hidden --- |