Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys add implementation defined attributes from FreeBSD



details:   https://anonhg.NetBSD.org/src/rev/5ece894d5abc
branches:  trunk
changeset: 791584:5ece894d5abc
user:      jnemeth <jnemeth%NetBSD.org@localhost>
date:      Sun Nov 24 08:17:50 2013 +0000

description:
add implementation defined attributes from FreeBSD

diffstat:

 sys/sys/disklabel_gpt.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 6e240c5f3589 -r 5ece894d5abc sys/sys/disklabel_gpt.h
--- a/sys/sys/disklabel_gpt.h   Sun Nov 24 07:20:01 2013 +0000
+++ b/sys/sys/disklabel_gpt.h   Sun Nov 24 08:17:50 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel_gpt.h,v 1.11 2013/10/19 08:03:52 jnemeth Exp $       */
+/*     $NetBSD: disklabel_gpt.h,v 1.12 2013/11/24 08:17:50 jnemeth Exp $       */
 
 /*
  * Copyright (c) 2002 Marcel Moolenaar
@@ -88,6 +88,13 @@
                                        /* UEFI won't recognize file system */
 #define        GPT_ENT_ATTR_LEGACY_BIOS_BOOTABLE       (1ULL << 2)
                                        /* legacy BIOS boot partition */
+/* The following three entries are from FreeBSD. */
+#define GPT_ENT_ATTR_BOOTME                    (1ULL << 59)
+                                       /* indicates a bootable partition */
+#define GPT_ENT_ATTR_BOOTONCE                  (1ULL << 58)
+                               /* attempt to boot this partition only once */
+#define GPT_ENT_ATTR_BOOTFAILED                        (1ULL << 57)
+               /* partition that was marked bootonce but failed to boot */
 
 /*
  * Partition types defined by the EFI specification:



Home | Main Index | Thread Index | Old Index