Add ppcboot FAT type. Needed to create a bootable powerpc image.
Differential Review: https://reviews.freebsd.org/D4407
This commit is contained in:
parent
efd2408900
commit
4224509a36
@ -45,6 +45,9 @@ __FBSDID("$FreeBSD$");
|
||||
#ifndef DOSPTYP_FAT32
|
||||
#define DOSPTYP_FAT32 0x0b
|
||||
#endif
|
||||
#ifndef DOSPTYP_PPCBOOT
|
||||
#define DOSPTYP_PPCBOOT 0x41
|
||||
#endif
|
||||
#ifndef DOSPTYP_EFI
|
||||
#define DOSPTYP_EFI 0xef
|
||||
#endif
|
||||
@ -56,6 +59,7 @@ static struct mkimg_alias mbr_aliases[] = {
|
||||
{ ALIAS_FAT32, ALIAS_INT2TYPE(DOSPTYP_FAT32) },
|
||||
{ ALIAS_FREEBSD, ALIAS_INT2TYPE(DOSPTYP_386BSD) },
|
||||
{ ALIAS_NTFS, ALIAS_INT2TYPE(DOSPTYP_NTFS) },
|
||||
{ ALIAS_PPCBOOT, ALIAS_INT2TYPE(DOSPTYP_PPCBOOT) },
|
||||
{ ALIAS_NONE, 0 } /* Keep last! */
|
||||
};
|
||||
|
||||
|
@ -61,6 +61,7 @@ static struct {
|
||||
{ "freebsd-zfs", ALIAS_FREEBSD_ZFS },
|
||||
{ "mbr", ALIAS_MBR },
|
||||
{ "ntfs", ALIAS_NTFS },
|
||||
{ "prepboot", ALIAS_PPCBOOT },
|
||||
{ NULL, ALIAS_NONE } /* Keep last! */
|
||||
};
|
||||
|
||||
|
@ -47,6 +47,7 @@ enum alias {
|
||||
ALIAS_FREEBSD_ZFS,
|
||||
ALIAS_MBR,
|
||||
ALIAS_NTFS,
|
||||
ALIAS_PPCBOOT,
|
||||
/* end */
|
||||
ALIAS_COUNT /* Keep last! */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user