* Copyright (c) 1992 Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* %sccs.include.redist.c%
* @(#)psl.h 7.2 (Berkeley) %G%
#include <machine/machConst.h>
#define PSL_LOWIPL (MACH_INT_MASK | MACH_SR_INT_ENA_CUR)
MACH_SR_COP_USABILITY | \
* Macros to decode processor status word.
#define USERMODE(ps) ((ps) & MACH_SR_KU_PREV)
#define BASEPRI(ps) (((ps) & (MACH_INT_MASK | MACH_SR_INT_ENA_PREV)) \
== (MACH_INT_MASK | MACH_SR_INT_ENA_PREV))