From owner-cvs-src-old@FreeBSD.ORG Fri Oct 29 20:42:21 2010 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 697B71065672 for ; Fri, 29 Oct 2010 20:42:21 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 56C728FC15 for ; Fri, 29 Oct 2010 20:42:21 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9TKgLUx007723 for ; Fri, 29 Oct 2010 20:42:21 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9TKgLRg007722 for cvs-src-old@freebsd.org; Fri, 29 Oct 2010 20:42:21 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201010292042.o9TKgLRg007722@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Fri, 29 Oct 2010 20:42:02 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/boot/sparc64/loader main.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: Fri, 29 Oct 2010 20:42:21 -0000 marius 2010-10-29 20:42:02 UTC FreeBSD src repository Modified files: sys/boot/sparc64/loader main.c Log: SVN rev 214526 on 2010-10-29 20:42:02Z by marius Partially revert r203829; as it turns out what the PowerPC OFW loader did was incorrect as further down the road cons_probe() calls malloc() so the former can't be called before init_heap() has succeed. Instead just exit to the firmware in case init_heap() fails like OF_init() does when hitting a problem as we're then likely running in a very broken environment where hardly anything can be trusted to work. Revision Changes Path 1.50 +4 -4 src/sys/boot/sparc64/loader/main.c