From: patrick Date: Thu, 23 Aug 2018 15:31:12 +0000 (+0000) Subject: Set the pointer to the EFI Runtime Services, otherwise we call into X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=496ffee030f23ba8b4504f7e4e92ebaf697a38a1;p=openbsd Set the pointer to the EFI Runtime Services, otherwise we call into nowhere. ok kettenis@ --- diff --git a/sys/arch/arm64/stand/efiboot/efiboot.c b/sys/arch/arm64/stand/efiboot/efiboot.c index fa8fefb75bc..3f335f0e7ac 100644 --- a/sys/arch/arm64/stand/efiboot/efiboot.c +++ b/sys/arch/arm64/stand/efiboot/efiboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: efiboot.c,v 1.19 2018/08/19 14:09:41 patrick Exp $ */ +/* $OpenBSD: efiboot.c,v 1.20 2018/08/23 15:31:12 patrick Exp $ */ /* * Copyright (c) 2015 YASUOKA Masahiko @@ -73,6 +73,7 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *systab) ST = systab; BS = ST->BootServices; + RS = ST->RuntimeServices; IH = image; /* disable reset by watchdog after 5 minutes */ diff --git a/sys/arch/armv7/stand/efiboot/efiboot.c b/sys/arch/armv7/stand/efiboot/efiboot.c index 0e95c7dad97..9d2768e196a 100644 --- a/sys/arch/armv7/stand/efiboot/efiboot.c +++ b/sys/arch/armv7/stand/efiboot/efiboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: efiboot.c,v 1.21 2018/03/31 18:19:12 patrick Exp $ */ +/* $OpenBSD: efiboot.c,v 1.22 2018/08/23 15:31:12 patrick Exp $ */ /* * Copyright (c) 2015 YASUOKA Masahiko @@ -70,6 +70,7 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *systab) ST = systab; BS = ST->BootServices; + RS = ST->RuntimeServices; IH = image; /* disable reset by watchdog after 5 minutes */