diff options
author | marius <marius@FreeBSD.org> | 2009-12-24 15:23:51 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2009-12-24 15:23:51 +0000 |
commit | 77111865f4a5b2befae60592bd1525c1caf42f99 (patch) | |
tree | fbe5d88cbc706cb9bd13eef3160d1b3efd95b6c2 /sys/boot | |
parent | 6ed46c5871e16a4add6c9e8586ef74e1b4c0624d (diff) | |
download | FreeBSD-src-77111865f4a5b2befae60592bd1525c1caf42f99.zip FreeBSD-src-77111865f4a5b2befae60592bd1525c1caf42f99.tar.gz |
Execute the cleanup handlers before jumping to the kernel just
like the other architectures do.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/sparc64/loader/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c index a9f641e..604e792 100644 --- a/sys/boot/sparc64/loader/main.c +++ b/sys/boot/sparc64/loader/main.c @@ -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); |