From d1ae146b1fcecdd6ae688cedf523a5be0d7980c5 Mon Sep 17 00:00:00 2001 From: "Ian M." Date: Fri, 11 Sep 2026 05:26:15 +0000 Subject: core: sboot: Read kernel binary Signed-off-by: Ian M. --- head/sboot/file.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'head') diff --git a/head/sboot/file.h b/head/sboot/file.h index cdae2bc..44e8fbb 100644 --- a/head/sboot/file.h +++ b/head/sboot/file.h @@ -18,4 +18,9 @@ extern EFI_FILE_HANDLE gBootVolume; */ EFI_STATUS FileGetVolume(IN EFI_HANDLE ImageHandle, OUT EFI_FILE_HANDLE *Handle); +/* + * Read a file into a buffer. + */ +EFI_STATUS FileReadToBuffer(IN CHAR16 *FileName, OUT VOID **Buffer); + #endif /* !_SBOOT_FILE_H_ */ -- cgit v1.2.3