# HG changeset patch # User Sharath M Srinivasan # Date 1281091566 -19800 # Node ID 41d7b7a02c5dd0754371776619c014984c6dca2d # Parent 82fbe9c3ad15478d1e9c1a53436116f9d1edc370 6937968 Request addition to conversion_array in rdwr_efi.c to support CDS layout on disks greater than 1TB diff -r 82fbe9c3ad15 -r 41d7b7a02c5d usr/src/lib/libefi/common/rdwr_efi.c --- 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 @@ -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 }, diff -r 82fbe9c3ad15 -r 41d7b7a02c5d usr/src/uts/common/sys/efi_partition.h --- 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 #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 } }