From owner-cvs-all Tue Jan 11 6:54: 6 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B801B14D64; Tue, 11 Jan 2000 06:54:02 -0800 (PST) (envelope-from yokota@FreeBSD.org) Received: (from yokota@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA82775; Tue, 11 Jan 2000 06:54:02 -0800 (PST) (envelope-from yokota@FreeBSD.org) Message-Id: <200001111454.GAA82775@freefall.freebsd.org> From: Kazutaka YOKOTA Date: Tue, 11 Jan 2000 06:54:01 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha db_interface.c src/sys/ddb db_input.c ddb.h src/sys/dev/syscons syscons.c src/sys/i386/i386 db_interface.c trap.c src/sys/i386/isa/pcvt pcvt_drv.c src/sys/isa sio.c src/sys/kern tty_cons.c src/sys/sys cons.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk yokota 2000/01/11 06:54:01 PST Modified files: sys/alpha/alpha db_interface.c sys/ddb db_input.c ddb.h sys/dev/syscons syscons.c sys/i386/i386 db_interface.c trap.c sys/i386/isa/pcvt pcvt_drv.c sys/isa sio.c sys/kern tty_cons.c sys/sys cons.h Log: Add a new mechanism, cndbctl(), to tell the console driver that ddb is entered. Don't refer to `in_Debugger' to see if we are in the debugger. (The variable used to be static in Debugger() and wasn't updated if ddb is entered via traps and panic anyway.) - Don't refer to `in_Debugger'. - Add `db_active' to i386/i386/db_interface.d (as in alpha/alpha/db_interface.c). - Remove cnpollc() stub from ddb/db_input.c. - Add the dbctl function to syscons, pcvt, and sio. (The function for pcvt and sio is noop at the moment.) Jointly developed by: bde and me (The final version was tweaked by me and not reviewed by bde. Thus, if there is any error in this commit, that is entirely of mine, not his.) Some changes were obtained from: NetBSD Revision Changes Path 1.7 +6 -5 src/sys/alpha/alpha/db_interface.c 1.28 +1 -8 src/sys/ddb/db_input.c 1.24 +3 -2 src/sys/ddb/ddb.h 1.331 +29 -28 src/sys/dev/syscons/syscons.c 1.48 +9 -9 src/sys/i386/i386/db_interface.c 1.144 +3 -5 src/sys/i386/i386/trap.c 1.63 +3 -2 src/sys/i386/isa/pcvt/pcvt_drv.c 1.283 +3 -3 src/sys/isa/sio.c 1.79 +18 -2 src/sys/kern/tty_cons.c 1.24 +7 -3 src/sys/sys/cons.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message