summaryrefslogtreecommitdiffstats
path: root/sys/boot/ia64/common/bootinfo.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-11-19 07:09:47 +0000
committerpeter <peter@FreeBSD.org>2001-11-19 07:09:47 +0000
commitb866d91337d910a5e4c9bca541e45cdf536c9f86 (patch)
tree3f99748b80f843310be539b08923f86a3f25de87 /sys/boot/ia64/common/bootinfo.c
parente5a267af198afb5695f7d201d9228e863d0355b7 (diff)
downloadFreeBSD-src-b866d91337d910a5e4c9bca541e45cdf536c9f86.zip
FreeBSD-src-b866d91337d910a5e4c9bca541e45cdf536c9f86.tar.gz
Lookup the EFI_FPSWA driver and pass the interface pointer through to the
kernel before we call ExitBootServices(). I've typed the definitions in efifpswa.h from the Intel FPSWA manual (urk).
Diffstat (limited to 'sys/boot/ia64/common/bootinfo.c')
-rw-r--r--sys/boot/ia64/common/bootinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/ia64/common/bootinfo.c b/sys/boot/ia64/common/bootinfo.c
index 5fdbebf..e6ba8f2 100644
--- a/sys/boot/ia64/common/bootinfo.c
+++ b/sys/boot/ia64/common/bootinfo.c
@@ -297,6 +297,8 @@ bi_load(struct bootinfo *bi, struct preloaded_file *fp, UINTN *mapkey)
bi->bi_symtab = ssym;
bi->bi_esymtab = esym;
+ fpswa_init(&bi->bi_fpswa); /* find FPSWA interface */
+
/* find the last module in the chain */
addr = 0;
for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) {
OpenPOWER on IntegriCloud