summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--head/sboot/fwi.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/head/sboot/fwi.h b/head/sboot/fwi.h
index 033f8a6..81b3afa 100644
--- a/head/sboot/fwi.h
+++ b/head/sboot/fwi.h
@@ -24,4 +24,18 @@ FwiSetWatchdogTimer(
);
}
+static inline EFI_STATUS
+FwiHandleProtocol(
+ IN EFI_HANDLE Handle, IN EFI_GUID *Protocol,
+ OUT VOID **Interface)
+{
+ return uefi_call_wrapper(
+ gBS->HandleProtocol,
+ 3,
+ Handle,
+ Protocol,
+ Interface
+ );
+}
+
#endif /* !_SBOOT_FWI_H_ */