Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add partition entry attributes listed in UEFI 2.3.1 ...
details: https://anonhg.NetBSD.org/src/rev/1a5ada5d1955
branches: trunk
changeset: 768428:1a5ada5d1955
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Tue Aug 16 14:03:16 2011 +0000
description:
Add partition entry attributes listed in UEFI 2.3.1 spec.
diffstat:
sys/sys/disklabel_gpt.h | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 64f4e7805118 -r 1a5ada5d1955 sys/sys/disklabel_gpt.h
--- a/sys/sys/disklabel_gpt.h Tue Aug 16 13:58:21 2011 +0000
+++ b/sys/sys/disklabel_gpt.h Tue Aug 16 14:03:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel_gpt.h,v 1.7 2008/11/12 22:50:22 thorpej Exp $ */
+/* $NetBSD: disklabel_gpt.h,v 1.8 2011/08/16 14:03:16 jakllsch Exp $ */
/*
* Copyright (c) 2002 Marcel Moolenaar
@@ -82,8 +82,12 @@
uint16_t ent_name[36]; /* partition name in UNICODE-16 */
};
-#define GPT_ENT_ATTR_PLATFORM (1ULL << 0) /* required for platform
- to function */
+#define GPT_ENT_ATTR_REQUIRED_PARTITION (1ULL << 0)
+ /* required for platform to function */
+#define GPT_ENT_ATTR_NO_BLOCK_IO_PROTOCOL (1ULL << 1)
+ /* UEFI won't recognize file system */
+#define GPT_ENT_ATTR_LEGACY_BIOS_BOOTABLE (1ULL << 2)
+ /* legacy BIOS boot partition */
/*
* Partition types defined by the EFI specification:
Home |
Main Index |
Thread Index |
Old Index