From owner-svn-src-all@FreeBSD.ORG Thu Dec 24 15:23:51 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C159D106568B; Thu, 24 Dec 2009 15:23:51 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B19208FC15; Thu, 24 Dec 2009 15:23:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBOFNptR033939; Thu, 24 Dec 2009 15:23:51 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBOFNpxs033937; Thu, 24 Dec 2009 15:23:51 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <200912241523.nBOFNpxs033937@svn.freebsd.org> From: Marius Strobl Date: Thu, 24 Dec 2009 15:23:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200946 - head/sys/boot/sparc64/loader X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 15:23:51 -0000 Author: marius Date: Thu Dec 24 15:23:51 2009 New Revision: 200946 URL: http://svn.freebsd.org/changeset/base/200946 Log: Execute the cleanup handlers before jumping to the kernel just like the other architectures do. Modified: head/sys/boot/sparc64/loader/main.c Modified: head/sys/boot/sparc64/loader/main.c ============================================================================== --- head/sys/boot/sparc64/loader/main.c Thu Dec 24 15:16:16 2009 (r200945) +++ head/sys/boot/sparc64/loader/main.c Thu Dec 24 15:23:51 2009 (r200946) @@ -386,6 +386,8 @@ __elfN(exec)(struct preloaded_file *fp) pmap_print_tlb_sun4u(); #endif + dev_cleanup(); + entry = e->e_entry; OF_release((void *)heapva, HEAPSZ);