From ff0e017888dbbafd9a29f21b4be0c51494725d5b Mon Sep 17 00:00:00 2001 From: "Ian M." Date: Fri, 11 Sep 2026 05:13:30 +0000 Subject: sboot: fwi: Add FwiHandleProtocol() Signed-off-by: Ian M. --- head/sboot/fwi.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'head') 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_ */ -- cgit v1.2.3