etc/protocols - sync with NetBSD-8
[minix.git] / sys / arch / i386 / include / tlog.h
blobb7a490a8a5b4fcb9c03a7031f3e4605af7d82222
1 /* $NetBSD: tlog.h,v 1.4 2004/02/13 11:36:14 wiz Exp $ */
3 /*
4 * Trap log. Per-CPU ring buffer containing a log of the last 2**N
5 * traps.
6 */
8 struct trec
10 uint32_t tr_sp; /* stack pointer */
11 uint32_t tr_hpc; /* handler pc */
12 uint32_t tr_ipc; /* interrupted pc */
13 uint32_t tr_tsc; /* timestamp counter */
14 uint32_t tr_lbf; /* MSR_LAST{BRANCH,INT}{FROM,TO}IP */
15 uint32_t tr_lbt;
16 uint32_t tr_ibf;
17 uint32_t tr_ibt;
20 struct tlog
22 struct trec tl_recs[128];