/netbsd-6-1-5-RELEASE/sys/arch/mips/include/ |
H A D | psl.h | 38 * Define PSL_LOWIPL, PSL_USERSET, USERMODE for MI code, for 92 # define USERMODE(ps) MIPS3_USERMODE(ps) macro 99 # define USERMODE(ps) MIPS1_USERMODE(ps) macro 106 # define USERMODE(ps) (CPUISMIPS3 ? MIPS3_USERMODE(ps) : MIPS1_USERMODE(ps)) macro
|
/netbsd-6-1-5-RELEASE/sys/arch/usermode/conf/ |
H A D | Makefile.usermode | 10 USERMODE= $S/arch/usermode 11 GENASSYM_CONF= ${USERMODE}/usermode/genassym.cf 48 MD_CFILES= ${USERMODE}/usermode/thunk.c 52 MD_CFILES+= ${USERMODE}/target/${MACHINE_ARCH}/cpu_${MACHINE_ARCH}.c 61 #LINKFORMAT= -T ${USERMODE}/conf/${KERN_LDSCRIPT} 81 thunk.d: ${USERMODE}/usermode/thunk.c 83 ${CPPFLAGS.thunk.c} ${USERMODE}/usermode/thunk.c 85 thunk.o: ${USERMODE}/usermode/thunk.c 86 ${CC} ${COPTS} ${CPPFLAGS.thunk.c} -c -o $@ ${USERMODE}/usermode/thunk.c
|
/netbsd-6-1-5-RELEASE/sys/arch/i386/include/ |
H A D | cpu.h | 84 #define CLKF_USERMODE(frame) USERMODE((frame)->cf_if.if_cs, (frame)->cf_if.if_eflags)
|
H A D | segments.h | 118 #define USERMODE(c, f) (ISPL(c) == SEL_UPL || ((f) & PSL_VM) != 0) macro 121 #define USERMODE(c, f) (ISPL(c) == SEL_UPL) macro
|
/netbsd-6-1-5-RELEASE/sys/arch/pmax/pmax/ |
H A D | interrupt.c | 103 if (!USERMODE(status))
|
/netbsd-6-1-5-RELEASE/sys/arch/amd64/include/ |
H A D | cpu.h | 86 #define CLKF_USERMODE(frame) USERMODE((frame)->cf_if.if_tf.tf_cs, \
|
H A D | segments.h | 132 #define USERMODE(c, f) (ISPL(c) == SEL_UPL) macro
|
/netbsd-6-1-5-RELEASE/sys/arch/m68k/include/ |
H A D | psl.h | 68 #define USERMODE(ps) (((ps) & PSL_S) == 0) macro
|
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/sgimips/ |
H A D | cpu.c | 161 if (!USERMODE(status))
|
/netbsd-6-1-5-RELEASE/sys/arch/hppa/include/ |
H A D | frame.h | 60 #define USERMODE(pc) ((((register_t)pc) & HPPA_PC_PRIV_MASK) != HPPA_PC_PRIV_KERN) macro
|
/netbsd-6-1-5-RELEASE/sys/arch/i386/i386/ |
H A D | compat_13_machdep.c | 96 !USERMODE(context.sc_cs, context.sc_eflags))
|
H A D | compat_16_machdep.c | 116 !USERMODE(context.sc_cs, context.sc_eflags))
|
/netbsd-6-1-5-RELEASE/sys/arch/mipsco/mipsco/ |
H A D | mips_3x30.c | 107 if (!USERMODE(status))
|
/netbsd-6-1-5-RELEASE/sys/arch/hppa/hppa/ |
H A D | db_trace.c | 139 if (USERMODE(pc))
|
H A D | trap.c | 334 pc & ~HPPA_PC_PRIV_MASK, USERMODE(pc) ? " " : "**", fp); 440 SANITY(!USERMODE(tf->tf_iioq_head)); 441 SANITY(!USERMODE(tf->tf_iioq_tail)); 464 SANITY(USERMODE(tf->tf_iioq_head)); 465 SANITY(USERMODE(tf->tf_iioq_tail)); 1166 if (!USERMODE(frame->tf_iioq_head))
|
/netbsd-6-1-5-RELEASE/sys/arch/x68k/x68k/ |
H A D | clock.c | 452 if (USERMODE(ps)) {
|
/netbsd-6-1-5-RELEASE/sys/arch/newsmips/newsmips/ |
H A D | news3400.c | 137 if (!USERMODE(status))
|
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/mac68k/ |
H A D | clock.c | 300 if (USERMODE(pclk->ps)) {
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dev/dtrace/amd64/ |
H A D | dtrace_subr.c | 174 if (USERMODE(rp->r_cs) || (rp->r_ps & PS_VM)) {
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dev/dtrace/i386/ |
H A D | dtrace_subr.c | 176 if (USERMODE(rp->r_cs) || (rp->r_ps & PS_VM)) {
|
/netbsd-6-1-5-RELEASE/sys/arch/m68k/m68k/ |
H A D | m68k_syscall.c | 118 if (!USERMODE(frame.f_sr))
|
/netbsd-6-1-5-RELEASE/sys/arch/amiga/dev/ |
H A D | clock.c | 648 if (USERMODE(ps)) {
|
/netbsd-6-1-5-RELEASE/sys/arch/mips/mips/ |
H A D | trap.c | 173 if (USERMODE(status)) { 195 USERMODE(status) ? "user" : "kernel"); 203 if (USERMODE(status)) {
|
/netbsd-6-1-5-RELEASE/sys/arch/sun2/sun2/ |
H A D | trap.c | 268 if (USERMODE(tf->tf_sr)) {
|
/netbsd-6-1-5-RELEASE/sys/arch/sun3/sun3/ |
H A D | trap.c | 274 if (USERMODE(tf->tf_sr)) {
|