]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add "show sysregs" command to ddb. On i386, this gives gdt, idt, ldt,
authorNate Lawson <njl@FreeBSD.org>
Thu, 9 Aug 2007 20:14:35 +0000 (20:14 +0000)
committerNate Lawson <njl@FreeBSD.org>
Thu, 9 Aug 2007 20:14:35 +0000 (20:14 +0000)
commit3b3f28135f57ff1082bc56f8c801f67e1816d60f
tree92b1e138479abdf58ffb6d430d9c68f33dfbd4fe
parentc7f61979377545df55d17892ace7726cf90d905a
Add "show sysregs" command to ddb.  On i386, this gives gdt, idt, ldt,
cr0-4, etc.  Support should be added for other platforms that have a
different set of registers for system use.

Loosely based on: OpenBSD
Approved by: re
share/man/man4/ddb.4
sys/i386/i386/machdep.c
sys/i386/include/cpufunc.h