HomeSort by: relevance | last modified time | path
    Searched refs:traps (Results 1 - 17 of 17) sorted by relevancy

  /src/games/rogue/
trap.c 58 trap traps[MAX_TRAPS]; variable
62 static const char *const trap_strings[TRAPS * 2] = {
82 for (i = 0; ((i < MAX_TRAPS) && (traps[i].trap_type != NO_TRAP)); i++) {
83 if ((traps[i].trap_row == row) && (traps[i].trap_col == col)) {
84 return(traps[i].trap_type);
164 traps[i].trap_type = get_rand(0, (TRAPS - 1));
181 traps[i].trap_row = row;
182 traps[i].trap_col = col
    [all...]
save.c 145 r_write(fp, traps, (MAX_TRAPS * sizeof(trap)));
225 r_read(fp, traps, (MAX_TRAPS * sizeof(trap)));
rogue.h 169 #define TRAPS 6
328 #define MAX_TRAPS 10 /* maximum traps per level */
341 extern trap traps[];
level.c 379 traps[i].trap_type = NO_TRAP;
  /src/games/hack/
hack.search.c 161 pline("You find a%s.", traps[trap->ttyp]);
190 pline("That is a%s.", traps[trap->ttyp]);
hack.h 197 extern const char *const traps[];
hack.trap.c 76 const char *const traps[] = { variable
115 pline("You escape a%s.", traps[ttype]);
  /src/sys/arch/sparc64/sparc64/
copy.S 1007 membar #Sync ! Make sure all traps are taken
1109 membar #Sync ! Make sure all traps are taken
1122 membar #Sync ! Make sure all traps are taken
1131 membar #Sync ! Make sure all traps are taken
locore.s 61 #undef TRAPSTATS /* Count traps */
62 #undef TRAPS_USE_IG /* Use Interrupt Globals for all traps */
304 * and clean window traps, where it points to the register window
305 * needing service. Traps have space for 8 instructions, except for
306 * the window overflow, underflow, and clean window traps which are
328 * TA8 -- trap align for 8 instruction traps
329 * TA32 -- trap align for 32 instruction traps
337 * We have a problem with v9 traps; we have no registers to put the
341 /* regular vectored traps */
358 /* traps that just call trap() *
    [all...]
  /src/sys/arch/sparc/sparc/
locore.s 295 /* regular vectored traps */
314 /* traps that just call trap() */
317 /* architecturally undefined traps (cause panic) */
320 /* software undefined traps (may be replaced) */
332 /* special high-speed 1-instruction-shaved-off traps (get nothing in %l3) */
1209 wr t2, PSR_ET, %psr; /* turn on traps */ \
1381 * Every trap that enables traps must set up stack space.
1417 * If this is the case, it cannot enable further traps until it writes
1765 * This cannot be done from C code since we must not enable traps (and
1818 wr %l0, PSR_ET, %psr ! (and reenable traps)
    [all...]
  /src/sys/uvm/
uvm_extern.h 355 int traps; /* trap count */ member in struct:uvmexp
451 int64_t traps; member in struct:uvmexp_sysctl
uvm_meter.c 128 u.traps = cpu_count_get(CPU_COUNT_NTRAP);
452 uvmexp.traps = (int)cpu_count_get(CPU_COUNT_NTRAP);
  /src/usr.bin/systat/
vmstat.c 317 mvprintw(GENSTATROW, GENSTATCOL, " Csw Traps SysCal Intr Soft Fault");
441 PUTRATE(us, us1, uvmexp->traps, GENSTATROW + 1, GENSTATCOL + 7, 6);
  /src/usr.bin/vmstat/
vmstat.c 1023 (void)printf("%9" PRIu64 " traps\n", cc.ntrap);
1188 cc->ntrap = uvmexp.traps;
  /src/sys/arch/mips/mips/
fp.S 2063 bne v0, zero, inexact_w # inexact traps enabled?
2076 bne v0, zero, inexact_w # inexact traps enabled?
  /src/sys/arch/m68k/060sp/dist/
fplsp.s 8680 # traps, and precision control = double extended. #
8694 # traps, and precision control = double extended. #
8707 # traps, and precision control = double extended. #
8721 # traps, and precision control = double extended. #
fpsp.s 727 # traps are enabled or disabled.
8786 # traps, and precision control = double extended. #
8800 # traps, and precision control = double extended. #
8813 # traps, and precision control = double extended. #
8827 # traps, and precision control = double extended. #

Completed in 65 milliseconds