diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-15 19:40:42 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-15 19:40:42 +0000 |
commit | be4afdca2a5b4f0324ddb45bb3f51a9ad4bcbed4 (patch) | |
tree | 7cc7f6b3659d4ba09383a2f37552ffbf1c8add07 /sys/arch/sgi/include | |
parent | db787728ab081e9d84b26e1a98431526e1420c27 (diff) |
Introduce splsoftassert(), similar to splassert() but for soft interrupt
levels. This will allow for platforms where soft interrupt levels do not
map to real hardware interrupt levels to have soft ipl values overlapping
hard ipl values without breaking spl asserts.
Diffstat (limited to 'sys/arch/sgi/include')
-rw-r--r-- | sys/arch/sgi/include/intr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sgi/include/intr.h b/sys/arch/sgi/include/intr.h index 14a0d2870c5..aa41ab264e7 100644 --- a/sys/arch/sgi/include/intr.h +++ b/sys/arch/sgi/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.20 2007/12/06 12:34:39 jsing Exp $ */ +/* $OpenBSD: intr.h,v 1.21 2009/03/15 19:40:40 miod Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -104,6 +104,7 @@ void splinit(void); #define splassert(X) +#define splsoftassert(X) /* * Schedule prioritys for base interrupts (CPU) |