aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/gpt.h
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2014-07-04 15:55:32 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2014-07-04 15:55:32 +0000
commit1ee0f089754bd3e36c93a6e86f7f83a03ea4c74f (patch)
tree86e3e90fab77df08e7453d6048f215852172ca90 /sys/sys/gpt.h
parent962ce8cf82ccd88b48afd12ca315a903fd01ebe9 (diff)
downloadsrc-1ee0f089754bd3e36c93a6e86f7f83a03ea4c74f.tar.gz
src-1ee0f089754bd3e36c93a6e86f7f83a03ea4c74f.zip
After EFI support was added to the installer, it needed to allow boot
partitions of types other than "freebsd-boot" (in particular, "efi"). This allows the removal of some nasty hacks for supporting PowerPC systems, in particular aliasing freebsd-boot to apple-boot on APM and an IBM-specific code on MBR. This changes the installer to use the correct names, which also breaks a degeneracy in the meaning of "freebsd-boot" that allows the addition of support for some newer IBM systems that can boot from GPT in addition to MBR. Since I have no idea how to detect which those systems are, leave the default on IBM PPC systems as MBR for now.
Notes
Notes: svn path=/head/; revision=268256
Diffstat (limited to 'sys/sys/gpt.h')
-rw-r--r--sys/sys/gpt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h
index ba07206ec3ad..ecf75368a234 100644
--- a/sys/sys/gpt.h
+++ b/sys/sys/gpt.h
@@ -91,6 +91,8 @@ struct gpt_ent {
{0x516e7cb8,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}
#define GPT_ENT_TYPE_FREEBSD_ZFS \
{0x516e7cba,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}
+#define GPT_ENT_TYPE_PREP_BOOT \
+ {0x9e1a2d38,0xc612,0x4316,0xaa,0x26,{0x8b,0x49,0x52,0x1e,0x5a,0x8b}}
/*
* The following are unused but documented here to avoid reuse.