Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/partedit/partedit_efi.c
- This file was moved from usr.sbin/bsdinstall/partedit/partedit_arm64.c.
Show All 28 Lines | |||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include "partedit.h" | #include "partedit.h" | ||||
/* | |||||
* partedit implementation for platforms on which the installer only offers | |||||
* UEFI-based boot. Currently, this includes arm64 and RISC-V. | |||||
*/ | |||||
/* EFI partition size in bytes */ | /* EFI partition size in bytes */ | ||||
#define EFI_BOOTPART_SIZE (260 * 1024 * 1024) | #define EFI_BOOTPART_SIZE (260 * 1024 * 1024) | ||||
const char * | const char * | ||||
default_scheme(void) | default_scheme(void) | ||||
{ | { | ||||
return ("GPT"); | return ("GPT"); | ||||
▲ Show 20 Lines • Show All 44 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) | ||||
{ | { | ||||
/* No boot partition data for ARM64 */ | /* No boot partition data. */ | ||||
return (NULL); | return (NULL); | ||||
} | } | ||||