X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=include%2Fsys%2Fefi_partition.h;h=ee367a574e46bf126c5d18957285e4eb1de74fe1;hb=e89260a1c8851ce05ea04b23606ba438b271d890;hp=ff38df5e79ebfd9784fc1b26423b5db65e098131;hpb=6283f55ea1b91e680386388c17d14b89e344fa8d;p=zfs.git diff --git a/include/sys/efi_partition.h b/include/sys/efi_partition.h index ff38df5..ee367a5 100644 --- a/include/sys/efi_partition.h +++ b/include/sys/efi_partition.h @@ -35,6 +35,7 @@ extern "C" { * GUID Partition Table Header */ +#define EFI_MIN_LABEL_SIZE 92 #define EFI_LABEL_SIZE 512 #define LEN_EFI_PAD (EFI_LABEL_SIZE - \ ((5 * sizeof (diskaddr_t)) + \ @@ -228,6 +229,7 @@ struct partition64 { extern int efi_alloc_and_init(int, uint32_t, struct dk_gpt **); extern int efi_alloc_and_read(int, struct dk_gpt **); extern int efi_write(int, struct dk_gpt *); +extern int efi_rescan(int); extern void efi_free(struct dk_gpt *); extern int efi_type(int); extern void efi_err_check(struct dk_gpt *);