Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/partedit/partedit_arm64.c
Show All 29 Lines | |||||
*/ | */ | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include "partedit.h" | #include "partedit.h" | ||||
/* EFI partition size in bytes */ | /* EFI partition size in bytes */ | ||||
#define EFI_BOOTPART_SIZE (200 * 1024 * 1024) | #define EFI_BOOTPART_SIZE (260 * 1024 * 1024) | ||||
#define EFI_BOOTPART_PATH "/boot/boot1.efifat" | |||||
const char * | const char * | ||||
default_scheme(void) | default_scheme(void) | ||||
{ | { | ||||
return ("GPT"); | return ("GPT"); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | bootcode_path(const char *part_type) | ||||
return (NULL); | return (NULL); | ||||
} | } | ||||
const char * | const char * | ||||
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); | ||||
} | } | ||||