diff options
| author | Ian M. <ian@aptel.org> | 2026-09-11 05:13:30 +0000 |
|---|---|---|
| committer | Ian M. <ian@aptel.org> | 2026-09-11 05:13:30 +0000 |
| commit | ff0e017888dbbafd9a29f21b4be0c51494725d5b (patch) | |
| tree | 1d18cc60f1ed749d538050cdef4f8cc7b0499dd6 | |
| parent | f8636711a0ce0431d7917dc6751b4762e6441b41 (diff) | |
sboot: fwi: Add FwiHandleProtocol()
Signed-off-by: Ian M. <ian@aptel.org>
| -rw-r--r-- | head/sboot/fwi.h | 14 |
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_ */ |
