diff options
| author | Ian M. <ian@aptel.org> | 2026-09-11 05:26:15 +0000 |
|---|---|---|
| committer | Ian M. <ian@aptel.org> | 2026-09-11 05:28:59 +0000 |
| commit | d1ae146b1fcecdd6ae688cedf523a5be0d7980c5 (patch) | |
| tree | 8a4fc10f7cd365ee0f6beb3f23fc0145cc426835 /head | |
| parent | 3b895e69140aa265929871217df9d34e40bad3fe (diff) | |
core: sboot: Read kernel binary
Signed-off-by: Ian M. <ian@aptel.org>
Diffstat (limited to 'head')
| -rw-r--r-- | head/sboot/file.h | 5 |
1 files changed, 5 insertions, 0 deletions
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_ */ |
