summaryrefslogtreecommitdiffstats
path: root/sys/boot/alpha/libalpha
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2000-06-14 10:34:29 +0000
committerps <ps@FreeBSD.org>2000-06-14 10:34:29 +0000
commit013be4c7436a478bcd8131713f2c92e2d408f9dd (patch)
treec34105d95bedc3e09436d43a7fd6630809657345 /sys/boot/alpha/libalpha
parent021d03f5bf631a868a0518181a8ca19a75e04d16 (diff)
downloadFreeBSD-src-013be4c7436a478bcd8131713f2c92e2d408f9dd.zip
FreeBSD-src-013be4c7436a478bcd8131713f2c92e2d408f9dd.tar.gz
Delay calling the device cleanup routines until the absolute last
moment. We were cleaning up after PXE too early and the module dependancy code would not be able to load any files if it needed too.
Diffstat (limited to 'sys/boot/alpha/libalpha')
-rw-r--r--sys/boot/alpha/libalpha/elf_freebsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/alpha/libalpha/elf_freebsd.c b/sys/boot/alpha/libalpha/elf_freebsd.c
index 71849b5..e76741f 100644
--- a/sys/boot/alpha/libalpha/elf_freebsd.c
+++ b/sys/boot/alpha/libalpha/elf_freebsd.c
@@ -152,6 +152,7 @@ elf_exec(struct preloaded_file *fp)
printf("Entering %s at 0x%lx...\n", fp->f_name, hdr->e_entry);
closeall();
+ dev_cleanup();
alpha_pal_imb();
(*(void (*)())hdr->e_entry)(ffp_save, ptbr_save,
BOOTINFO_MAGIC, &bootinfo_v1, 1, 0);
OpenPOWER on IntegriCloud