diff options
author | smh <smh@FreeBSD.org> | 2016-02-11 17:56:09 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2016-02-11 17:56:09 +0000 |
commit | a4298d06ff2c7a1d71ae0e7afb0020724d8866f2 (patch) | |
tree | 0270e2e35352bf06d9146a427e7969e974bc2745 /sys/boot/ia64 | |
parent | b92c9d3353391d51dcfcf3dbc78152c3977e42e4 (diff) | |
download | FreeBSD-src-a4298d06ff2c7a1d71ae0e7afb0020724d8866f2.zip FreeBSD-src-a4298d06ff2c7a1d71ae0e7afb0020724d8866f2.tar.gz |
Fix ia64 build failures in EFI platform
The MFC of the recent EFI work to stable/10 caused build breakage
under ia64.
It was not apparent that there was EFI code outside the EFI tree as
this is not the case in HEAD, however in stable/10 there is for ia64.
This change does the following:
* Re-enables libefi for ia64 under gcc.
* Adds the ignore for unsupported pragma's when building libefi for ia64.
* Adds the missing parameter to efi_handle_lookup in the ia64 loader.
This is a direct commit as ia64 is no longer supported after 10.x
Approved by: re (marius)
Sponsored by: Multiplay
Diffstat (limited to 'sys/boot/ia64')
-rw-r--r-- | sys/boot/ia64/efi/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/ia64/efi/main.c b/sys/boot/ia64/efi/main.c index ec12b42..ca99c63a 100644 --- a/sys/boot/ia64/efi/main.c +++ b/sys/boot/ia64/efi/main.c @@ -179,7 +179,8 @@ main(int argc, CHAR16 *argv[]) BS->HandleProtocol(IH, &imgid, (VOID**)&img); bzero(&currdev, sizeof(currdev)); - efi_handle_lookup(img->DeviceHandle, &currdev.d_dev, &currdev.d_unit); + efi_handle_lookup(img->DeviceHandle, &currdev.d_dev, + &currdev.d_unit, NULL); currdev.d_type = currdev.d_dev->dv_type; env_setenv("loaddev", EV_VOLATILE, ia64_fmtdev(&currdev), env_noset, |