summaryrefslogtreecommitdiff
path: root/sys/arch/arm64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2024-07-10 10:53:56 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2024-07-10 10:53:56 +0000
commit3bfdd09ce0b7e845645947fc5443cb4e218ecd31 (patch)
tree720894e9952b3ee71a01363cf407b5d07f8b6e99 /sys/arch/arm64
parentc9c1b13eed668bff8f871449ec711c34c3ab97bd (diff)
Hook up the Qualcomm UEFI Secure Application that handles EFI variables to
efi(4) such that we can access EFI variables through ioctls on /dev/efi. ok patrick@
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r--sys/arch/arm64/include/efivar.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/arm64/include/efivar.h b/sys/arch/arm64/include/efivar.h
index 190549a4a91..3bc3a8644a3 100644
--- a/sys/arch/arm64/include/efivar.h
+++ b/sys/arch/arm64/include/efivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: efivar.h,v 1.1 2023/01/14 12:11:11 kettenis Exp $ */
+/* $OpenBSD: efivar.h,v 1.2 2024/07/10 10:53:55 kettenis Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
*
@@ -30,6 +30,11 @@ struct efi_softc {
struct todr_chip_handle sc_todr;
};
+
+extern EFI_GET_VARIABLE efi_get_variable;
+extern EFI_SET_VARIABLE efi_set_variable;
+extern EFI_GET_NEXT_VARIABLE_NAME efi_get_next_variable_name;
+
void efi_enter(struct efi_softc *);
void efi_leave(struct efi_softc *);