changeset 13039:41d7b7a02c5d

6937968 Request addition to conversion_array in rdwr_efi.c to support CDS layout on disks greater than 1TB
author Sharath M Srinivasan <Sharath.Srinivasan@Sun.COM>
date Fri, 06 Aug 2010 16:16:06 +0530
parents 82fbe9c3ad15
children 2057b0a7fa55
files usr/src/lib/libefi/common/rdwr_efi.c usr/src/uts/common/sys/efi_partition.h
diffstat 2 files changed, 6 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/lib/libefi/common/rdwr_efi.c	Fri Aug 06 11:14:04 2010 +0800
+++ b/usr/src/lib/libefi/common/rdwr_efi.c	Fri Aug 06 16:16:06 2010 +0530
@@ -20,8 +20,7 @@
  */
 
 /*
- * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
  */
 
 #include <stdio.h>
@@ -58,8 +57,8 @@
 	{ EFI_RESERVED },
 	{ EFI_SYSTEM },
 	{ EFI_LEGACY_MBR },
-	{ EFI_RESV3 },
-	{ EFI_RESV4 },
+	{ EFI_SYMC_PUB },
+	{ EFI_SYMC_CDS },
 	{ EFI_MSFT_RESV },
 	{ EFI_DELL_BASIC },
 	{ EFI_DELL_RAID },
--- a/usr/src/uts/common/sys/efi_partition.h	Fri Aug 06 11:14:04 2010 +0800
+++ b/usr/src/uts/common/sys/efi_partition.h	Fri Aug 06 16:16:06 2010 +0530
@@ -19,15 +19,12 @@
  * CDDL HEADER END
  */
 /*
- * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
  */
 
 #ifndef	_SYS_EFI_PARTITION_H
 #define	_SYS_EFI_PARTITION_H
 
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
-
 #include <sys/uuid.h>
 
 #ifdef	__cplusplus
@@ -116,9 +113,9 @@
 			    { 0x00, 0xA0, 0xC9, 0x3E, 0xC9, 0x3B } }
 #define	EFI_LEGACY_MBR	{ 0x024DEE41, 0x33E7, 0x11d3, 0x9D, 0x69, \
 			    { 0x00, 0x08, 0xC7, 0x81, 0xF3, 0x9F } }
-#define	EFI_RESV3	{ 0x6a9630d1, 0x1dd2, 0x11b2, 0x99, 0xa6, \
+#define	EFI_SYMC_PUB	{ 0x6a9630d1, 0x1dd2, 0x11b2, 0x99, 0xa6, \
 			    { 0x08, 0x00, 0x20, 0x73, 0x66, 0x31 } }
-#define	EFI_RESV4	{ 0x6a980767, 0x1dd2, 0x11b2, 0x99, 0xa6, \
+#define	EFI_SYMC_CDS	{ 0x6a980767, 0x1dd2, 0x11b2, 0x99, 0xa6, \
 			    { 0x08, 0x00, 0x20, 0x73, 0x66, 0x31 } }
 #define	EFI_MSFT_RESV	{ 0xE3C9E316, 0x0B5C, 0x4DB8, 0x81, 0x7D, \
 			    { 0xF9, 0x2D, 0xF0, 0x02, 0x15, 0xAE } }