Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2009 15:23:51 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200946 - head/sys/boot/sparc64/loader
Message-ID:  <200912241523.nBOFNpxs033937@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912241523.nBOFNpxs033937>