Subject: CVS commit: [sommerfeld_i386mp_1] syssrc/sys/arch/i386
To: None <>
From: Bill Sommerfeld <>
List: source-changes
Date: 04/27/2002 17:39:41
Module Name:	syssrc
Committed By:	sommerfeld
Date:		Sat Apr 27 14:39:41 UTC 2002

Modified Files:
	syssrc/sys/arch/i386/i386 [sommerfeld_i386mp_1]: cpu.c db_interface.c locore.s machdep.c
	syssrc/sys/arch/i386/include [sommerfeld_i386mp_1]: cpu.h
Added Files:
	syssrc/sys/arch/i386/include [sommerfeld_i386mp_1]: tlog.h

Log Message:
Add options TRAPLOG:

When enabled, each cpu gets a ring buffer; on every trap entry, we add
an entry to the trap log using the new locore "TLOG" macro.  Somewhat
like a flight recorder, this may give some post-mortem clues as to
what was going on as we were spiralling in...

XXX currently depends on various intel MSR's to record the low order
32 bits of the cycle counter as well as last-branch from and to

To generate a diff of this commit:
cvs rdiff -r1.1.2.26 -r1.1.2.27 syssrc/sys/arch/i386/i386/cpu.c
cvs rdiff -r1.30.2.7 -r1.30.2.8 syssrc/sys/arch/i386/i386/db_interface.c
cvs rdiff -r1.17.10.14 -r1.17.10.15 syssrc/sys/arch/i386/i386/
cvs rdiff -r1.215.2.29 -r1.215.2.30 syssrc/sys/arch/i386/i386/locore.s
cvs rdiff -r1.376.2.33 -r1.376.2.34 syssrc/sys/arch/i386/i386/machdep.c
cvs rdiff -r1.59.2.30 -r1.59.2.31 syssrc/sys/arch/i386/include/cpu.h
cvs rdiff -r0 -r1.1.2.1 syssrc/sys/arch/i386/include/tlog.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.