diff options
author | dfr <dfr@FreeBSD.org> | 2001-09-07 08:52:26 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-09-07 08:52:26 +0000 |
commit | b750cc500ad6f9a9f2613e3047aa3f5b3dea17be (patch) | |
tree | 13a392ee838a63a3e1db650b764b87c2c383d009 /sys/boot/ia64/efi | |
parent | 622326c63f3f1ddcb403114fe79b534bb7460cee (diff) | |
download | FreeBSD-src-b750cc500ad6f9a9f2613e3047aa3f5b3dea17be.zip FreeBSD-src-b750cc500ad6f9a9f2613e3047aa3f5b3dea17be.tar.gz |
Set currdev and loaddev variables.
Diffstat (limited to 'sys/boot/ia64/efi')
-rw-r--r-- | sys/boot/ia64/efi/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/ia64/efi/main.c b/sys/boot/ia64/efi/main.c index 2940d8a..0d8aa12 100644 --- a/sys/boot/ia64/efi/main.c +++ b/sys/boot/ia64/efi/main.c @@ -106,12 +106,12 @@ efi_main (EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table) bootfile = GetEnvironmentVariable(ARCENV_BOOTFILE); if (bootfile) setenv("bootfile", bootfile, 1); +#endif - env_setenv("currdev", EV_VOLATILE, arc_fmtdev(&currdev), - arc_setcurrdev, env_nounset); - env_setenv("loaddev", EV_VOLATILE, arc_fmtdev(&currdev), env_noset, + env_setenv("currdev", EV_VOLATILE, efi_fmtdev(&currdev), + efi_setcurrdev, env_nounset); + env_setenv("loaddev", EV_VOLATILE, efi_fmtdev(&currdev), env_noset, env_nounset); -#endif setenv("LINES", "24", 1); /* optional */ |