svn commit: r276893 - head/usr.bin/mkimg
Ed Maste
emaste at FreeBSD.org
Fri Jan 9 19:34:49 UTC 2015
Author: emaste
Date: Fri Jan 9 19:34:48 2015
New Revision: 276893
URL: https://svnweb.freebsd.org/changeset/base/276893
Log:
mkimg: Add MBR EFI partition type
Sponsored by: The FreeBSD Foundation
Modified:
head/usr.bin/mkimg/mbr.c
Modified: head/usr.bin/mkimg/mbr.c
==============================================================================
--- head/usr.bin/mkimg/mbr.c Fri Jan 9 18:40:12 2015 (r276892)
+++ head/usr.bin/mkimg/mbr.c Fri Jan 9 19:34:48 2015 (r276893)
@@ -42,9 +42,13 @@ __FBSDID("$FreeBSD$");
#ifndef DOSPTYP_FAT32
#define DOSPTYP_FAT32 0x0b
#endif
+#ifndef DOSPTYP_EFI
+#define DOSPTYP_EFI 0xef
+#endif
static struct mkimg_alias mbr_aliases[] = {
{ ALIAS_EBR, ALIAS_INT2TYPE(DOSPTYP_EXT) },
+ { ALIAS_EFI, ALIAS_INT2TYPE(DOSPTYP_EFI) },
{ ALIAS_FAT32, ALIAS_INT2TYPE(DOSPTYP_FAT32) },
{ ALIAS_FREEBSD, ALIAS_INT2TYPE(DOSPTYP_386BSD) },
{ ALIAS_NONE, 0 } /* Keep last! */
More information about the svn-src-all
mailing list