summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-08-23 15:31:13 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-08-23 15:31:13 +0000
commit77d2aca38d487a33e0ce4e501f0e486fe5cadeda (patch)
treec830e8a91fdc050dbbcc6213cf8c7c09c073ddfe /sys
parentcc3e52639fbab0c735b757e96313820183112386 (diff)
Set the pointer to the EFI Runtime Services, otherwise we call into
nowhere. ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/stand/efiboot/efiboot.c3
-rw-r--r--sys/arch/armv7/stand/efiboot/efiboot.c3
2 files changed, 4 insertions, 2 deletions
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 <yasuoka@yasuoka.net>
@@ -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 <yasuoka@yasuoka.net>
@@ -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 */