]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r214526
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 2 Nov 2010 22:12:06 +0000 (22:12 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 2 Nov 2010 22:12:06 +0000 (22:12 +0000)
commit81c8dd21526664249e867094b68771ce247db9b8
tree55fb3b2cec0b77631afc456f8c382151c77bf7ad
parente20c1f1bc66ba05b6b68753d16955ab437ecfabb
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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@214690 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/sparc64/loader/main.c