From owner-cvs-src-old@FreeBSD.ORG Mon Sep 21 09:42:39 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9A68106568D for ; Mon, 21 Sep 2009 09:42:39 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D7C6A8FC24 for ; Mon, 21 Sep 2009 09:42:39 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n8L9gdDJ030233 for ; Mon, 21 Sep 2009 09:42:39 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8L9gdct030232 for cvs-src-old@freebsd.org; Mon, 21 Sep 2009 09:42:39 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200909210942.n8L9gdct030232@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Mon, 21 Sep 2009 09:41:51 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 trap.c src/sys/i386/i386 trap.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 09:42:40 -0000 kib 2009-09-21 09:41:51 UTC FreeBSD src repository Modified files: sys/amd64/amd64 trap.c sys/i386/i386 trap.c Log: SVN rev 197389 on 2009-09-21 09:41:51Z by kib If CPU happens to be in usermode when a T_RESERVED trap occured, then trapsignal is called with ksi.ksi_signo = 0. For debugging kernels, that should end up in panic, for non-debugging kernels behaviour is undefined. Do panic regardeless of execution mode at the moment of trap. Reviewed by: jhb MFC after: 1 month Revision Changes Path 1.335 +5 -0 src/sys/amd64/amd64/trap.c 1.323 +5 -0 src/sys/i386/i386/trap.c