From owner-cvs-src-old@FreeBSD.ORG Tue Nov 2 22:12:16 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 9E47D106575E for ; Tue, 2 Nov 2010 22:12:15 +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 B31438FC14 for ; Tue, 2 Nov 2010 22:12:15 +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 oA2MCFS5022093 for ; Tue, 2 Nov 2010 22:12:15 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oA2MCFul022092 for cvs-src-old@freebsd.org; Tue, 2 Nov 2010 22:12:15 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201011022212.oA2MCFul022092@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Tue, 2 Nov 2010 22:12:06 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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: Tue, 02 Nov 2010 22:12:16 -0000 marius 2010-11-02 22:12:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/boot/sparc64/loader main.c Log: SVN rev 214690 on 2010-11-02 22:12:06Z by marius MFC: r214526 Partially revert r203829 (MFC'ed to stable/7 in r205920); 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.42.2.8 +4 -4 src/sys/boot/sparc64/loader/main.c