Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / i386 / include / tlog.h
blob50382d2e55c83dd9f26a18487e78aa8f5a2d3d92
1 /* $NetBSD: tlog.h,v 1.3 2002/10/11 14:22:56 fvdl 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];