HomeSort by: relevance | last modified time | path
    Searched defs:trap (Results 1 - 25 of 46) sorted by relevancy

1 2

  /src/sys/arch/luna68k/stand/boot/
trap.c 1 /* $NetBSD: trap.c,v 1.3 2023/04/22 10:00:24 tsutsui Exp $ */
37 * @(#)trap.c 8.1 (Berkeley) 6/10/93
70 * @(#)trap.c 8.1 (Berkeley) 6/10/93
88 "Trace trap",
90 "SSIR trap",
94 "Async system trap"
99 * Called from the trap handler when a processor trap occurs.
102 trap(int type, unsigned int code, unsigned int v, struct frame frame) function in typeref:typename:void
107 printf("trap type %d, code = %x, v = %x\n", type, code, v)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/
nv50.h 25 u32 trap; member in struct:nv50_fb_func
nouveau_nvkm_subdev_fb_nv50.c 148 u32 trap[6], idx, inst; local in function:nv50_fb_intr
160 trap[i] = nvkm_rd32(device, 0x100c94);
167 st0 = (trap[0] & 0x0000000f) >> 0;
168 st1 = (trap[0] & 0x000000f0) >> 4;
169 st2 = (trap[0] & 0x00000f00) >> 8;
170 st3 = (trap[0] & 0x0000f000) >> 12;
172 st0 = (trap[0] & 0x000000ff) >> 0;
173 st1 = (trap[0] & 0x0000ff00) >> 8;
174 st2 = (trap[0] & 0x00ff0000) >> 16;
175 st3 = (trap[0] & 0xff000000) >> 24
    [all...]
  /src/sys/arch/hp300/stand/common/
machdep.c 109 trap(struct trapframe *fp) function in typeref:typename:int
121 printf("Got unexpected trap: format=%x vector=%x ps=%x pc=%x\n",
  /src/games/hack/
def.trap.h 1 /* $NetBSD: def.trap.h,v 1.6 2011/08/06 20:18:26 dholland Exp $ */
66 struct trap { struct
67 struct trap *ntrap;
74 extern struct trap *ftrap;
75 #define newtrap() ((struct trap *) alloc(sizeof(struct trap)))
hack.search.c 77 struct trap *ttmp;
122 struct trap *trap; local in function:dosearch
157 for (trap = ftrap; trap; trap = trap->ntrap)
158 if (trap->tx == x && trap->ty == y &&
159 !trap->tseen && !rn2(8))
179 struct trap *trap; local in function:doidtrap
    [all...]
hack.lev.c 82 static void savetrapchn(int, struct trap *);
196 savetrapchn(int fd, struct trap *trap)
198 struct trap *trap2;
199 while (trap) {
200 trap2 = trap->ntrap;
201 bwrite(fd, trap, sizeof(struct trap));
202 free(trap);
203 trap = trap2
212 struct trap *trap; local in function:getlev
    [all...]
hack.trap.c 1 /* $NetBSD: hack.trap.c,v 1.10 2011/08/07 06:03:45 dholland Exp $ */
66 __RCSID("$NetBSD: hack.trap.c,v 1.10 2011/08/07 06:03:45 dholland Exp $");
77 " bear trap",
78 "n arrow trap",
79 " dart trap",
81 " teleportation trap",
83 " sleeping gas trap",
92 struct trap *
95 struct trap *ttmp;
109 dotrap(struct trap *trap
213 struct trap *trap = t_at(mtmp->mx, mtmp->my); local in function:mintrap
330 struct trap *trap; local in function:float_down
    [all...]
  /src/sys/arch/sandpoint/stand/altboot/
entry.S 276 .globl trap
277 trap: label
329 subi 3,3,call_handler-trap
  /src/sys/arch/next68k/stand/boot/
machdep.c 106 int trap(struct trapframe *);
109 trap(struct trapframe *fp) function in typeref:typename:int
116 printf("Got unexpected trap: format=%x vector=%x sr=%x pc=%x\n",
  /src/sys/arch/luna68k/luna68k/
trap.c 1 /* $NetBSD: trap.c,v 1.80 2024/01/20 00:15:31 thorpej Exp $ */
36 * from: Utah $Hdr: trap.c 1.37 92/12/20$
38 * @(#)trap.c 8.5 (Berkeley) 1/4/94
42 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.80 2024/01/20 00:15:31 thorpej Exp $");
64 #include <machine/trap.h>
74 void trap(struct frame *fp, int type, u_int code, u_int v);
94 "Trace trap",
96 "SSIR trap",
100 "Async system trap"
145 * trap and syscall both need the following work done before returnin
222 trap(struct frame *fp, int type, unsigned code, unsigned v) function in typeref:typename:void
    [all...]
  /src/sys/arch/mac68k/mac68k/
trap.c 1 /* $NetBSD: trap.c,v 1.154 2024/01/20 00:15:32 thorpej Exp $ */
36 * from: Utah $Hdr: trap.c 1.37 92/12/20$
38 * @(#)trap.c 8.5 (Berkeley) 1/4/94
42 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.154 2024/01/20 00:15:32 thorpej Exp $");
73 #include <machine/trap.h>
96 "Trace trap",
98 "SSIR trap",
102 "Async system trap"
147 /* trap() only called from locore */
148 void trap(struct frame *, int, u_int, u_int)
232 trap(struct frame *fp, int type, u_int code, u_int v) function in typeref:typename:void
    [all...]
  /src/sys/arch/vax/vax/
trap.c 1 /* $NetBSD: trap.c,v 1.143 2025/04/05 11:20:30 riastradh Exp $ */
31 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.143 2025/04/05 11:20:30 riastradh Exp $");
46 #include <machine/trap.h>
62 void trap (struct trapframe *);
71 "arithmetic trap",
72 "asynchronous system trap",
75 "trace trap",
82 "kernel debugger trap"
89 trap(struct trapframe *tf) function in typeref:typename:void
117 if(faultdebug)printf("Trap: type %lx, code %lx, pc %lx, psl %lx\n"
    [all...]
  /src/sys/arch/powerpc/powerpc/
process_machdep.c 338 const uint32_t trap = 0x7d821008; /* twge %r2, %r2 */ local in function:ppc_sstep
378 if ((rv = ppc_istore(l, va[i], trap)) != 0) {
394 if (insn != trap) {
395 panic("%s: ss_insn[%d] = 0x%x != trap",
  /src/sys/arch/atari/atari/
trap.c 1 /* $NetBSD: trap.c,v 1.119 2023/10/05 19:41:03 ad Exp $ */
36 * from: Utah $Hdr: trap.c 1.32 91/04/06$
38 * @(#)trap.c 7.15 (Berkeley) 8/2/91
42 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.119 2023/10/05 19:41:03 ad Exp $");
69 #include <machine/trap.h>
91 void trap(struct frame *, int, u_int, u_int);
105 "Trace trap",
107 "SSIR trap",
111 "Async system trap"
177 * trap and syscall both need the following work done before returnin
324 trap(struct frame *fp, int type, u_int code, u_int v) function in typeref:typename:void
    [all...]
  /src/sys/arch/ia64/ia64/
trap.c 1 /* $NetBSD: trap.c,v 1.16 2023/10/05 19:41:04 ad Exp $ */
64 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.16 2023/10/05 19:41:04 ad Exp $");
122 "Floating-point Trap", /* 33 */
123 "Lower-Privilege Transfer Trap", /* 34 */
124 "Taken Branch Trap", /* 35 */
125 "Single Step Trap", /* 36 */
258 printf("%s %s trap (cpu %lu):\n", isfatal? "fatal" : "handled",
261 printf(" trap vector = 0x%x (%s)\n",
284 * We got a trap caused by a break instruction and the immediate was 0.
330 * Enter the debugger due to a trap
378 trap(int vector, struct trapframe *tf) function in typeref:typename:void
    [all...]
  /src/sys/arch/powerpc/ibm4xx/
trap.c 1 /* $NetBSD: trap.c,v 1.102 2023/10/05 19:41:05 ad Exp $ */
72 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.102 2023/10/05 19:41:05 ad Exp $");
102 #include <machine/trap.h>
120 void trap(struct trapframe *); /* Called from locore / trap_subr */
141 trap(struct trapframe *tf) function in typeref:typename:void
158 DBPRINTF(TDB_ALL, ("trap(%x) at %lx from frame %p &frame %p\n",
201 ("trap(EXC_DSI) at %lx %s fault on %p esr %x\n",
234 ("trap(EXC_DSI|EXC_USER) at %lx %s fault on %lx %x\n",
275 ("trap(EXC_ISI|EXC_USER) at %lx execute fault tf %p\n",
386 printf("trap type 0x%x at 0x%lx\n", type, tf->tf_srr0)
    [all...]
  /src/sys/arch/sparc/sparc/
trap.c 1 /* $NetBSD: trap.c,v 1.201 2023/10/05 19:41:05 ad Exp $ */
48 * @(#)trap.c 8.4 (Berkeley) 9/23/93
52 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.201 2023/10/05 19:41:05 ad Exp $");
76 #include <machine/trap.h>
123 * There are more than 100 trap types, but most are unused.
125 * Trap type 0 is taken over as an `Asynchronous System Trap'.
128 static const char T[] = "trap";
184 /* user (software trap) vectors */
211 void trap(unsigned, int, int, struct trapframe *)
222 trap(unsigned type, int psr, int pc, struct trapframe *tf) function in typeref:typename:void
    [all...]
  /src/sys/arch/cesfic/cesfic/
trap.c 1 /* $NetBSD: trap.c,v 1.63 2024/01/20 00:15:30 thorpej Exp $ */
36 * from: Utah $Hdr: trap.c 1.37 92/12/20$
38 * @(#)trap.c 8.5 (Berkeley) 1/4/94
42 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.63 2024/01/20 00:15:30 thorpej Exp $");
73 #include <machine/trap.h>
86 void trap(struct frame *fp, int type, u_int code, u_int v);
106 "Trace trap",
108 "SSIR trap",
112 "Async system trap"
176 * trap and syscall both need the following work done before returnin
254 trap(struct frame *fp, int type, unsigned code, unsigned v) function in typeref:typename:void
    [all...]
  /src/sys/arch/hp300/hp300/
trap.c 1 /* $NetBSD: trap.c,v 1.159 2024/01/20 00:15:31 thorpej Exp $ */
36 * from: Utah $Hdr: trap.c 1.37 92/12/20$
38 * @(#)trap.c 8.5 (Berkeley) 1/4/94
42 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.159 2024/01/20 00:15:31 thorpej Exp $");
72 #include <machine/trap.h>
87 void trap(struct frame *fp, int type, u_int code, u_int v);
102 "Trace trap",
104 "SSIR trap",
108 "Async system trap"
172 * trap and syscall both need the following work done before returnin
250 trap(struct frame *fp, int type, u_int code, u_int v) function in typeref:typename:void
    [all...]
  /src/sys/arch/mvme68k/mvme68k/
trap.c 1 /* $NetBSD: trap.c,v 1.117 2024/01/20 00:15:32 thorpej Exp $ */
36 * from: Utah $Hdr: trap.c 1.37 92/12/20$
38 * @(#)trap.c 8.5 (Berkeley) 1/4/94
42 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.117 2024/01/20 00:15:32 thorpej Exp $");
69 #include <machine/trap.h>
82 void trap(struct frame *fp, int type, u_int code, u_int v);
102 "Trace trap",
104 "SSIR trap",
108 "Async system trap"
189 * trap and syscall both need the following work done before returnin
273 trap(struct frame *fp, int type, unsigned int code, unsigned int v) function in typeref:typename:void
    [all...]
  /src/sys/arch/news68k/news68k/
trap.c 1 /* $NetBSD: trap.c,v 1.77 2024/01/20 00:15:32 thorpej Exp $ */
36 * from: Utah $Hdr: trap.c 1.37 92/12/20$
38 * @(#)trap.c 8.5 (Berkeley) 1/4/94
42 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.77 2024/01/20 00:15:32 thorpej Exp $");
66 #include <machine/trap.h>
77 void trap(struct frame *fp, int type, u_int code, u_int v);
95 "Trace trap",
97 "SSIR trap",
101 "Async system trap"
165 * trap and syscall both need the following work done before returnin
243 trap(struct frame *fp, int type, u_int code, u_int v) function in typeref:typename:void
    [all...]
  /src/sys/arch/next68k/next68k/
trap.c 1 /* $NetBSD: trap.c,v 1.97 2024/01/20 00:15:32 thorpej Exp $ */
4 * This file was taken from mvme68k/mvme68k/trap.c
7 * original cvs id: NetBSD: trap.c,v 1.32 1999/08/03 10:52:06 dbj Exp
43 * from: Utah $Hdr: trap.c 1.37 92/12/20$
45 * @(#)trap.c 8.5 (Berkeley) 1/4/94
49 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.97 2024/01/20 00:15:32 thorpej Exp $");
76 #include <machine/trap.h>
93 void trap(struct frame *, int, u_int, u_int);
110 "Trace trap",
112 "SSIR trap",
259 trap(struct frame *fp, int type, unsigned code, unsigned v) function in typeref:typename:void
    [all...]
  /src/sys/arch/sun2/sun2/
trap.c 1 /* $NetBSD: trap.c,v 1.49 2024/01/20 00:15:33 thorpej Exp $ */
35 * from: Utah Hdr: trap.c 1.37 92/12/20
36 * from: @(#)trap.c 8.5 (Berkeley) 1/4/94
76 * from: Utah Hdr: trap.c 1.37 92/12/20
77 * from: @(#)trap.c 8.5 (Berkeley) 1/4/94
81 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.49 2024/01/20 00:15:33 thorpej Exp $");
112 #include <machine/trap.h>
133 void trap(struct trapframe *, int type, u_int code, u_int v);
150 "Trace trap",
152 "SSIR trap",
240 trap(struct trapframe *tf, int type, u_int code, u_int v) function in typeref:typename:void
    [all...]
  /src/sys/arch/sun3/sun3/
trap.c 1 /* $NetBSD: trap.c,v 1.150 2024/01/20 00:15:33 thorpej Exp $ */
35 * from: Utah Hdr: trap.c 1.37 92/12/20
36 * from: @(#)trap.c 8.5 (Berkeley) 1/4/94
76 * from: Utah Hdr: trap.c 1.37 92/12/20
77 * from: @(#)trap.c 8.5 (Berkeley) 1/4/94
81 __KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.150 2024/01/20 00:15:33 thorpej Exp $");
112 #include <machine/trap.h>
142 void trap(struct trapframe *, int type, u_int code, u_int v);
159 "Trace trap",
161 "SSIR trap",
249 trap(struct trapframe *tf, int type, u_int code, u_int v) function in typeref:typename:void
    [all...]

Completed in 20 milliseconds

1 2