9665 loader: UEFI loader needs to set ISADIR based on hardware
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
diff --git a/usr/src/boot/sys/boot/efi/loader/main.c b/usr/src/boot/sys/boot/efi/loader/main.c
index 337192c..4f19452 100644
--- a/usr/src/boot/sys/boot/efi/loader/main.c
+++ b/usr/src/boot/sys/boot/efi/loader/main.c
@@ -468,6 +468,7 @@
 
 	efi_init_environment();
 	setenv("ISADIR", "amd64", 1);	/* we only build 64bit */
+	bi_isadir();			/* set ISADIR */
 	acpi_detect();
 
 	if ((ptr = efi_get_table(&smbios3)) == NULL)