
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
27 lines
473 B
C
27 lines
473 B
C
/* $NetBSD: tlog.h,v 1.4 2004/02/13 11:36:14 wiz Exp $ */
|
|
|
|
/*
|
|
* Trap log. Per-CPU ring buffer containing a log of the last 2**N
|
|
* traps.
|
|
*/
|
|
|
|
struct trec
|
|
{
|
|
uint32_t tr_sp; /* stack pointer */
|
|
uint32_t tr_hpc; /* handler pc */
|
|
uint32_t tr_ipc; /* interrupted pc */
|
|
uint32_t tr_tsc; /* timestamp counter */
|
|
uint32_t tr_lbf; /* MSR_LAST{BRANCH,INT}{FROM,TO}IP */
|
|
uint32_t tr_lbt;
|
|
uint32_t tr_ibf;
|
|
uint32_t tr_ibt;
|
|
};
|
|
|
|
struct tlog
|
|
{
|
|
struct trec tl_recs[128];
|
|
};
|
|
|
|
|
|
|