Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/partedit/partedit_arm64.c
Context not available. | |||||
/* EFI partition size in bytes */ | /* EFI partition size in bytes */ | ||||
#define EFI_BOOTPART_SIZE (200 * 1024 * 1024) | #define EFI_BOOTPART_SIZE (200 * 1024 * 1024) | ||||
#define EFI_BOOTPART_PATH "/boot/boot1.efifat" | |||||
const char * | const char * | ||||
default_scheme(void) | default_scheme(void) | ||||
Context not available. | |||||
{ | { | ||||
/* Only EFI is supported as boot partition */ | /* Only EFI is supported as boot partition */ | ||||
*mountpoint = "/boot/efi"; | |||||
return ("efi"); | return ("efi"); | ||||
} | } | ||||
Context not available. | |||||
partcode_path(const char *part_type, const char *fs_type) | partcode_path(const char *part_type, const char *fs_type) | ||||
{ | { | ||||
if (strcmp(part_type, "GPT") == 0) | /* No boot partition data for ARM64 */ | ||||
return (EFI_BOOTPART_PATH); | |||||
/* No boot partition data for non-GPT */ | |||||
return (NULL); | return (NULL); | ||||
} | } | ||||
Context not available. |