Home
last modified time | relevance | path

Searched refs:TRAPSIZE (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/sys/arch/mips64/include/
H A Dtrap.h102 t = trapdebug + TRAPSIZE * cpuid + trppos[cpuid]; \
111 if (++trppos[cpuid] == TRAPSIZE) \
116 #define TRAPSIZE 10 /* Trap log buffer length */ macro
117 extern struct trapdebug trapdebug[MAXCPUS * TRAPSIZE];
/openbsd-src/sys/arch/mips64/mips64/
H A Dtrap.c122 struct trapdebug trapdebug[MAXCPUS * TRAPSIZE];
437 trapdebug[TRAPSIZE * ci->ci_cpuid + (trppos[ci->ci_cpuid] == 0 ? in itsa()
438 TRAPSIZE : trppos[ci->ci_cpuid]) - 1].code = code; in itsa()
838 base = trapdebug + ci->ci_cpuid * TRAPSIZE; in trapDump()
839 for (i = TRAPSIZE - 1; i >= 0; i--) { in trapDump()
840 if (pos + i >= TRAPSIZE) in trapDump()
841 ptrp = base + pos + i - TRAPSIZE; in trapDump()