-/* $OpenBSD: intr.h,v 1.47 2018/01/13 15:18:11 mpi Exp $ */
+/* $OpenBSD: intr.h,v 1.48 2018/08/20 15:02:07 visa Exp $ */
/* $NetBSD: intr.h,v 1.26 2000/06/03 20:47:41 thorpej Exp $ */
/*-
#define splipi() splraise(IPL_IPI)
#define splhigh() splraise(IPL_HIGH)
-#define spllock() splhigh()
-
/*
* Interprocessor interrupts. In order how we want them processed.
*/
-/* $OpenBSD: intr.h,v 1.29 2015/09/13 11:48:17 kettenis Exp $ */
+/* $OpenBSD: intr.h,v 1.30 2018/08/20 15:02:07 visa Exp $ */
/* $NetBSD: intr.h,v 1.2 2003/05/04 22:01:56 fvdl Exp $ */
/*-
#define splhigh() splraise(IPL_HIGH)
#define spl0() spllower(IPL_NONE)
#define splsched() splraise(IPL_SCHED)
-#define spllock() splhigh()
#define splx(x) spllower(x)
/* SPL asserts */
-/* $OpenBSD: intr.h,v 1.11 2018/08/08 11:06:33 patrick Exp $ */
+/* $OpenBSD: intr.h,v 1.12 2018/08/20 15:02:07 visa Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
#define splstatclock() splraise(IPL_STATCLOCK)
#define splhigh() splraise(IPL_HIGH)
-#define spllock() splhigh()
#define spl0() spllower(IPL_NONE)
void intr_barrier(void *);
-/* $OpenBSD: intr.h,v 1.9 2018/08/08 11:06:33 patrick Exp $ */
+/* $OpenBSD: intr.h,v 1.10 2018/08/20 15:02:07 visa Exp $ */
/* $NetBSD: intr.h,v 1.12 2003/06/16 20:00:59 thorpej Exp $ */
/*
#define spl0() spllower(IPL_NONE)
#define splsched() splhigh()
-#define spllock() splhigh()
void intr_barrier(void *);
-/* $OpenBSD: intr.h,v 1.47 2015/09/13 12:28:31 kettenis Exp $ */
+/* $OpenBSD: intr.h,v 1.48 2018/08/20 15:02:07 visa Exp $ */
/* $NetBSD: intr.h,v 1.5 1996/05/13 06:11:28 mycroft Exp $ */
/*
#define splvm() splraise(IPL_VM)
#define splhigh() splraise(IPL_HIGH)
#define splsched() splraise(IPL_SCHED)
-#define spllock() splhigh()
#define spl0() spllower(IPL_NONE)
#include <machine/pic.h>
-/* $OpenBSD: intr.h,v 1.13 2018/05/30 13:54:09 mpi Exp $ */
+/* $OpenBSD: intr.h,v 1.14 2018/08/20 15:02:07 visa Exp $ */
/* $NetBSD: intr.h,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*-
#define splstatclock() splclock()
#define splsched() splraise(IPL_SCHED)
#define splhigh() _cpu_intr_suspend()
-#define spllock() splhigh()
#define spl0() _cpu_intr_resume(IPL_NONE << 4)
#define splx(x) _cpu_intr_resume(x)
-/* $OpenBSD: intr.h,v 1.15 2018/01/22 09:40:45 mpi Exp $ */
+/* $OpenBSD: intr.h,v 1.16 2018/08/20 15:02:07 visa Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
#define splstatclock() splhigh()
#define splsched() splhigh()
-#define spllock() splhigh()
#define spl0() spllower(0)
void splinit(void);
-/* $OpenBSD: intr.h,v 1.13 2016/06/13 23:51:59 dlg Exp $ */
+/* $OpenBSD: intr.h,v 1.14 2018/08/20 15:02:07 visa Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
* All rights reserved.
#define splvm() splraise(IPL_VM)
#define splhigh() setipl(IPL_HIGH)
-#define spllock() splhigh()
-
#define splx(x) ((x) ? setipl((x)) : spl0())
/*
-/* $OpenBSD: intr.h,v 1.17 2018/08/06 10:52:30 patrick Exp $ */
+/* $OpenBSD: intr.h,v 1.18 2018/08/20 15:02:07 visa Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
#define splsoftnet() splsoft()
#define splstatclock() splhigh()
-#define spllock() splhigh()
#define spl0() spllower(0)
void splinit(void);
-/* $OpenBSD: intr.h,v 1.55 2018/01/22 09:31:35 mpi Exp $ */
+/* $OpenBSD: intr.h,v 1.56 2018/08/20 15:02:07 visa Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA.
#define splclock() splraise(IPL_CLOCK)
#define splvm() splraise(IPL_VM)
#define splsched() splhigh()
-#define spllock() splhigh()
#define splstatclock() splhigh()
#define splsoftclock() splraise(IPL_SOFTCLOCK)
#define splsoftnet() splraise(IPL_SOFTNET)
-/* $OpenBSD: intr.h,v 1.50 2018/01/22 09:40:45 mpi Exp $ */
+/* $OpenBSD: intr.h,v 1.51 2018/08/20 15:02:07 visa Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
#define splsoftnet() splsoft()
#define splstatclock() splhigh()
-#define spllock() splhigh()
#define spl0() spllower(0)
void splinit(void);
-/* $OpenBSD: intr.h,v 1.21 2018/01/13 15:18:11 mpi Exp $ */
+/* $OpenBSD: intr.h,v 1.22 2018/08/20 15:02:07 visa Exp $ */
/* $NetBSD: intr.h,v 1.8 2001/01/14 23:50:30 thorpej Exp $ */
/*-
#define IPL_CLOCK PIL_CLOCK /* clock */
#define IPL_SERIAL PIL_SER /* serial */
#define IPL_SCHED PIL_SCHED /* scheduler */
-#define IPL_LOCK PIL_LOCK /* locks */
#define IPL_STATCLOCK PIL_STATCLOCK /* statclock */
#define IPL_HIGH PIL_HIGH /* everything */
#define splclock() _splraise(IPL_CLOCK)
#define splserial() _splraise(IPL_SERIAL)
#define splsched() _splraise(IPL_SCHED)
-#define spllock() _splraise(IPL_LOCK)
#define splstatclock() _splraise(IPL_STATCLOCK)
#define splhigh() _splraise(IPL_HIGH)
#define splx(_oldipl) _splx(_oldipl)
-/* $OpenBSD: psl.h,v 1.33 2017/10/24 17:06:51 kettenis Exp $ */
+/* $OpenBSD: psl.h,v 1.34 2018/08/20 15:02:07 visa Exp $ */
/* $NetBSD: psl.h,v 1.20 2001/04/13 23:30:05 thorpej Exp $ */
/*
#define PIL_STATCLOCK 14
#define PIL_HIGH 15
#define PIL_SCHED PIL_STATCLOCK
-#define PIL_LOCK PIL_HIGH
/*
* SPARC V9 CCR register