From owner-cvs-all Tue Nov 6 12:22:25 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4DE3637B405; Tue, 6 Nov 2001 12:22:19 -0800 (PST) Received: (from tmm@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA6KMJM93557; Tue, 6 Nov 2001 12:22:19 -0800 (PST) (envelope-from tmm) Message-Id: <200111062022.fA6KMJM93557@freefall.freebsd.org> From: Thomas Moestl Date: Tue, 6 Nov 2001 12:22:19 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 db_interface.c machdep.c support.s vm_machdep.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tmm 2001/11/06 12:22:19 PST Modified files: sys/sparc64/sparc64 db_interface.c machdep.c support.s vm_machdep.c Log: Add a special OpenFirmware entry point for terminating the kernel (in this case, the firmware trap table needs to be restored). Make use of it in cpu_halt() and cpu_reset(), and make cpu_reset() reboot the kernel that was used previously insead of behaving like cpu_halt(). Add a shutdown_final event handler that turns the power off if requested. Revision Changes Path 1.5 +6 -1 src/sys/sparc64/sparc64/db_interface.c 1.21 +43 -1 src/sys/sparc64/sparc64/machdep.c 1.9 +24 -0 src/sys/sparc64/sparc64/support.s 1.14 +24 -2 src/sys/sparc64/sparc64/vm_machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message