diff options
| author | Ian M. <ian@aptel.org> | 2026-09-11 05:14:00 +0000 |
|---|---|---|
| committer | Ian M. <ian@aptel.org> | 2026-09-11 05:14:00 +0000 |
| commit | 3b895e69140aa265929871217df9d34e40bad3fe (patch) | |
| tree | 2690ddde952423e4e294f91374615e8369dedfa5 /head | |
| parent | ff0e017888dbbafd9a29f21b4be0c51494725d5b (diff) | |
core: file: Get boot volume
Signed-off-by: Ian M. <ian@aptel.org>
Diffstat (limited to 'head')
| -rw-r--r-- | head/sboot/file.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/head/sboot/file.h b/head/sboot/file.h new file mode 100644 index 0000000..cdae2bc --- /dev/null +++ b/head/sboot/file.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2026, Apollo Telephone Laboratories. + * Provided under the BSD-3 clause. + */ + +#ifndef _SBOOT_FILE_H_ +#define _SBOOT_FILE_H_ 1 + +#include <efi.h> +#include <efilib.h> + +extern EFI_FILE_HANDLE gBootVolume; + +/* + * Obtain the boot volume + * + * @ImageHandle: Image handle + */ +EFI_STATUS FileGetVolume(IN EFI_HANDLE ImageHandle, OUT EFI_FILE_HANDLE *Handle); + +#endif /* !_SBOOT_FILE_H_ */ |
