diff options
| author | Javier Martinez Canillas <[email protected]> | 2025-06-19 10:34:00 +0200 |
|---|---|---|
| committer | Ilias Apalodimas <[email protected]> | 2025-07-03 11:32:49 +0300 |
| commit | f517d93842ad733d8df485d8255a3649c8ac517a (patch) | |
| tree | 24e8d9b13077abbc7b94582240ffa8ff4b0fbb03 /disk | |
| parent | 4b0414d1465f1722d2020292108b9f4a2b6158da (diff) | |
disk: efi: expose the part_get_gpt_pte() helper function
This function will be used by the EFI application disk support code
to provide data required by the EFI_PARTITION_INFORMATION_PROTOCOL.
Signed-off-by: Javier Martinez Canillas <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'disk')
| -rw-r--r-- | disk/part_efi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part_efi.c b/disk/part_efi.c index d0b1f96adff..fb1ed534f86 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -215,7 +215,7 @@ int get_disk_guid(struct blk_desc *desc, char *guid) return 0; } -static int part_get_gpt_pte(struct blk_desc *desc, int part, gpt_entry *gpt_e) +int part_get_gpt_pte(struct blk_desc *desc, int part, gpt_entry *gpt_e) { ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, desc->blksz); gpt_entry *gpt_pte = NULL; |
