From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web11.13936.1658640498628811262 for ; Sat, 23 Jul 2022 22:28:19 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=McRIGc/t; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: bob.c.feng@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658640498; x=1690176498; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=oluq9SmQubeaXrkFKyr8auTNSuvP7+HOz0pvuPQXpho=; b=McRIGc/thARR5U+CVP5JvnokA807dXNMNnRTj+meCAELN1JWGow6hiMH HMlIDx1RN6eZNn3kOLdDjBTXFKNBKUQXeiYACvgq7kA9QxdXuassh0kjW TOUTlZzOIB793mkcNEIzSsWEW7M9akk/yBhByGFvZRaeBWCSd1ZlZD4O6 FNAYxu1dENyOMBTFGFunQSYbMaajp/HEVW+sCiAOR/lJjecX1gwEuADgs GPyVtNIWb+sK3QtO00oaPCzwy2UGYZVo8X/32cmFy7z2MgYZM8OO0CmIP eKzWJtTA6XxSIvm275sRMSIsZw8/ZR7P8gl3EYXGrftofzDYV3ENGxI+B g==; X-IronPort-AV: E=McAfee;i="6400,9594,10417"; a="267289732" X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="267289732" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2022 22:28:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="603042854" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga007.fm.intel.com with ESMTP; 23 Jul 2022 22:28:17 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Sat, 23 Jul 2022 22:28:17 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Sat, 23 Jul 2022 22:28:16 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Sat, 23 Jul 2022 22:28:16 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Sat, 23 Jul 2022 22:28:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nk5RFn3uDSSnN0LaLBxwJq2lHILOxy3f3NV3+ePij2Xaoflw0DjGraKZqxq0zWVcTF40g3Rt0Qokl8ZRAhAV5LynfhTcmEaeeTOHsrA6DIOIFbpOGG5roWLZnTnYiNNW2aRwMoIaRrZ5Ij3ONCLiV7UTARLabKG4vHuxYwk1dVozsoHxXDUqOUwesbnycmCEVAfAVKR+5kBJFmh1H/D1okjlIrYl86D825X3bVZgQJbCzEXHtGYhw/5SWEj/R1wvVVphQa5Du62wcJlLf5cQnH/20/+pR9l/T3U1mx3zDsemWK5/D6Jh1ePLAQLHf90iQj6KAa2QIk2ZaQLX+2yK9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=huw85G6aARDDplCou78ZWGIcfJE4ucTV8DxORVHc/HU=; b=PUe/5IqnjnfubTe3DLGLAhE7iao/5VKL3/ZiiiIBgHluqYDGe9dDYetkil8+Ylp0UidiZymHNsposBDIP89ZPomkWXWMJRN9E2mWqamCppyT7ZF8sQNjRJUEurAcINI1V4MyMINPe2/JYWpIeHq+avg9Yntd49wDmBfF+99aGPoES4t6+Z4J7r15ibAJY5sqsaghrE3xXZbY9VNo7Kb6VOREOdSfUp1meK7kfipBlHwnP2IlWJWDWEhTTAKcUL4wT3w0RDayZ67Jm1VZlac419EIyL/5ToK9l209bUV60q39zHa+pklNAKjt9VOxtWMgRrzVsPk9EZMbB3dO1FkejA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH7PR11MB5863.namprd11.prod.outlook.com (2603:10b6:510:135::11) by SJ0PR11MB5182.namprd11.prod.outlook.com (2603:10b6:a03:2ae::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.19; Sun, 24 Jul 2022 05:28:14 +0000 Received: from PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::943:4b5a:b96b:30f8]) by PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::943:4b5a:b96b:30f8%5]) with mapi id 15.20.5458.023; Sun, 24 Jul 2022 05:28:14 +0000 From: "Bob Feng" To: Konstantin Aladyshev , "devel@edk2.groups.io" CC: "Gao, Liming" , "Chen, Christine" Subject: Re: [PATCH] BaseTools/VolInfo: Correct alignment attributes display Thread-Topic: [PATCH] BaseTools/VolInfo: Correct alignment attributes display Thread-Index: AQHYlroOPmsPr/QZeEicCicAzAbhL62NDsiA Date: Sun, 24 Jul 2022 05:28:14 +0000 Message-ID: References: <4d14550122c0c144248dc788b288dedd5d15865b.1657717306.git.aladyshev22@gmail.com> In-Reply-To: <4d14550122c0c144248dc788b288dedd5d15865b.1657717306.git.aladyshev22@gmail.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 55bd6013-b8be-45a6-2249-08da6d354e4b x-ms-traffictypediagnostic: SJ0PR11MB5182:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AxLvSzWX9dIBeLEHSio2C5TKf5PsQmgaYBD/crl1+K0Fa1vu7aT9A+taIgXz4iHBUpnEfOWGuGMq5TswwbkqPcaGjc/XbwnEhyzMOo7gidzgc+XaIAcP+f4RVbg2Vi6Lc2DDWU5mTzqD/YPA4cSbY12zE/w1oXaY3Y9790eR9V4+j9gIEwazLu+Rhxp5V0yJi7p/Bg/r4LUi6j5FFY6taq+VUt/hJ1WG32XKZw5w2TQLszfKcvMq6E4U3ENAICwIBSzPytqcrbC7AQnS8sNC2/0Xbvf3G0GJxUrJzMknFTF2csSXQxDM7GRxSQN0WYFPu2UKj5kJqPQrmG8BCfvXewG9d6pQZB9EeBHhBpjvSwnmwFFEUZoBlxlfj5kPh9elMKNcaUzuOz3uC6KcLYxVca7f/e5OiFO9gN0lwdI/JNhWfausIF/LLavZcpgsiViD/2TYT43JMy3a3SpHm1zFhmtpR84n8nWGGkqOGK5ig1FWV82fXvFYzkmEesR+WRRDGl/qD0e/NuN2d90s5+Q5hTCtKTURoNW8iEn4ZK6+uzAodECxup3pnARvIM9zRw/aaPJAibMRYrQ2D2PzS5fH6yiTXUO1ciUJhIwdjc7rasKsY+ZH2A7tL9Q1CHhUYD0P+xhmwRJAJsvX2yoSAt4TjxsopGkxQYUwe7VrqBxkg7/Spo+3PBcQ5Bi2v9UyYd8gBFmTqbcK/diBOPQTti2qhFptkOpY/kpUM4UMF9x3+fJJxCoCegQmxpW1LSeQlJwZOdpYzpTwXHPH4ivwMuN58q7i9oh6a9OQQutlEvjYAZldRbvKmnV9jfv1BF/7yoZV x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB5863.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(366004)(346002)(396003)(136003)(39860400002)(376002)(122000001)(82960400001)(38070700005)(38100700002)(54906003)(110136005)(66946007)(66476007)(66556008)(76116006)(4326008)(8676002)(64756008)(66446008)(316002)(71200400001)(107886003)(5660300002)(52536014)(55016003)(9686003)(478600001)(26005)(8936002)(33656002)(2906002)(41300700001)(83380400001)(53546011)(6506007)(7696005)(186003)(86362001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ErcfE5/bDQ9GUXnG87drGDjc3RgDdvbf0imDIbQqtfIQG+Y8zhDSGHYFJaNP?= =?us-ascii?Q?ZNT+AgzEicKIxmHSoigwXWS1SGcVxPHy5lV5/v+WKwMkNUUhs47juRrxaiJO?= =?us-ascii?Q?MASc6TJtRZIZa5ITNIXIIAOvqOcldMAhHh/1bJ1+9f2w7a7zOVdYHY7gy24R?= =?us-ascii?Q?QMJ4nHKMJq2pU6uy5FKZOIen6WePhXf09Jr8M2RyVlh4CDLIZMia6PG2EzCl?= =?us-ascii?Q?ym42Buxv9nw67NNsxqgv1ZMLHDbuWzkexXcYCtTqunNnuQcNCI2GZIbBGiUo?= =?us-ascii?Q?6cisIX6RzqS4DydImdx8J8W/dlODjR/ZMS2nN3qBcRTUAm0zmKWgKBHH2eiV?= =?us-ascii?Q?FlcjZL/Q4cR8KzIrQorlt1WjTMQ2Ah0hfxfdTUMY3s4cwsuAz/oTEPdrutSA?= =?us-ascii?Q?0PuaYJ3RWGnpZYwXhHPWKuL6K9qE2VthlnOfIrO/4nZ4IcaFUfIILNyRsIuf?= =?us-ascii?Q?vl8pLl7fdbjhGWnaTmwcKwdEd5iflNEstQHlI5Jikn+TtGU4WUkFReAvIz7u?= =?us-ascii?Q?eQs2Zm9KILJ8UxoS2gS8A2ecMNgQlDWMapMVgcpmBI6MdyAnB33paZSrzOLI?= =?us-ascii?Q?svi3rpQdoUvKWXtsnSSBKSz8vfhk6vFdh4ZugBU7Jy2+v8yf85xR7GV+WijO?= =?us-ascii?Q?VmPnGT84CONVPgMpQy2Ekf2wYIb3gduWTvSro+ipHteh5um7eJy24HN49s1I?= =?us-ascii?Q?bjEDire4KiCCpAsE8C6FImlCzlfxDV+mdnXf8PA4JZS4rZ8FGRr0JSq5SXKc?= =?us-ascii?Q?5A6pBQWXPVK3ij187ih4L+RoZ1yVA6rk8UV31GEqWotc7/zcJNwsV/NkT/A1?= =?us-ascii?Q?5MtDYeVXkB2zRmTsPXrktelhbJSc7jOiNPfdMbkPBrF7eUGZtPsHpZR0YxzR?= =?us-ascii?Q?JctTIpY3+663bCl3WnL8odbtzJC0IBV2lW/xA67krcpSUYHej+8zi0GbL+yJ?= =?us-ascii?Q?e7obOuvoSJph1hlYJ21KFL7bOt/gG/+jXKgajGhhI8R3Ixnx0UB41uY/m+XW?= =?us-ascii?Q?pJ1xJ31b2DNtyY4aFelt0B1xrQSIOm14LxUb66PqCH0KcG2sAvXL3k02gkxz?= =?us-ascii?Q?efPrvF8JRmYnj1K9T1Yz7akY+BQiS/56bKJ1hLDDrP4WoqQJ0LTdVidS2I2+?= =?us-ascii?Q?MTnkiWPbCdeuoFa1vOQ/UzRph8iCbJEzMgU0Gmh19fGJTQX1aq3BqRX/xflU?= =?us-ascii?Q?o5iVBfAonOJU3dgUG8EEjXn4g6sjf7fpFlFl+pP0/rpzbw3eRN7wpPtdFpI7?= =?us-ascii?Q?iwcZ//XFgAm18xyPGlerpzQneGTQ0G+PsYDJYXp2/kWyH9U74t0cOwozmHv4?= =?us-ascii?Q?PC9ou9pxD1t1dCF4Pszv8JpHMM4AApcRRDTuepP8sHCEU+D8556T/AedN1hM?= =?us-ascii?Q?HIXBQbeJ26Xzp2ccI0hNwHRU29YF6egnKmmjpEmlyflCDxOJ62IGH4UkSmI0?= =?us-ascii?Q?kYWp11H0IfE1PUUZuI2UlzfibAhC7nIJit8gd0C/u1HsC0I8nmY0yfV97ImY?= =?us-ascii?Q?ah0jVLO/c9wjPZxEX5p31vyWcbC9MA9u1AeV2pi+jRouA8CNAygEVzQYbSW9?= =?us-ascii?Q?rLOCpbNRVdunmUkUkWxubmwEBg/XbhAiIRvvfUHX?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5863.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55bd6013-b8be-45a6-2249-08da6d354e4b X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2022 05:28:14.0431 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ydwEtdXlQnvUj7qwUvQOVrQCnAzsXnmK2kNRjyEgZhiaIQ8N9YD6Vv+Ln/2qboMPCF96eeBZMB7HnxZgj5+B9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5182 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Bob Feng -----Original Message----- From: Konstantin Aladyshev =20 Sent: Wednesday, July 13, 2022 9:11 PM To: devel@edk2.groups.io Cc: Feng, Bob C ; Gao, Liming ; Chen, Christine ; Konstantin Aladyshev Subject: [PATCH] BaseTools/VolInfo: Correct alignment attributes display Alignment attribute is not a bitmask, therefore we need to compare field va= lue with all alignment defines. Remove duplicate print statements. Unify indent with other attribute print = statements. Signed-off-by: Konstantin Aladyshev --- BaseTools/Source/C/VolInfo/VolInfo.c | 198 +++++++++++++-------------- 1 file changed, 96 insertions(+), 102 deletions(-) diff --git a/BaseTools/Source/C/VolInfo/VolInfo.c b/BaseTools/Source/C/VolI= nfo/VolInfo.c index 2457ddd2e7..8b6fcffa48 100644 --- a/BaseTools/Source/C/VolInfo/VolInfo.c +++ b/BaseTools/Source/C/VolInfo/VolInfo.c @@ -911,140 +911,134 @@ Returns: printf (" EFI_FVB2_WRITE_LOCK_STATUS\n"); } - if (VolumeHeade= r.Attributes & EFI_FVB2_ALIGNMENT_1) {+ switch (VolumeHeader.Attributes & = EFI_FVB2_ALIGNMENT) {+ case EFI_FVB2_ALIGNMENT_1: printf (" EF= I_FVB2_ALIGNMENT_1\n");- }-- if (VolumeHeader.Attributes & EFI_FVB2_ALIGN= MENT_2) {- printf (" EFI_FVB2_ALIGNMENT_2\n");- }-- if (VolumeH= eader.Attributes & EFI_FVB2_ALIGNMENT_4) {- printf (" EFI_FVB2_AL= IGNMENT_4\n");- }+ break; - if (VolumeHeader.Attributes & EFI_FVB2_ALI= GNMENT_8) {- printf (" EFI_FVB2_ALIGNMENT_8\n");- }+ case EFI= _FVB2_ALIGNMENT_2:+ printf (" EFI_FVB2_ALIGNMENT_2\n");+ break;= - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_16) {- printf (" = EFI_FVB2_ALIGNMENT_16\n");- }+ case EFI_FVB2_ALIGNMENT_4:+ prin= tf (" EFI_FVB2_ALIGNMENT_4\n");+ break; - if (VolumeHeader.Attrib= utes & EFI_FVB2_ALIGNMENT_32) {- printf (" EFI_FVB2_ALIGNMENT_32\= n");- }+ case EFI_FVB2_ALIGNMENT_8:+ printf (" EFI_FVB2_ALIGNM= ENT_8\n");+ break; - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_6= 4) {- printf (" EFI_FVB2_ALIGNMENT_64\n");- }+ case EFI_FVB2_= ALIGNMENT_16:+ printf (" EFI_FVB2_ALIGNMENT_16\n");+ break; - = if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_128) {- printf (" = EFI_FVB2_ALIGNMENT_128\n");- }+ case EFI_FVB2_ALIGNMENT_32:+ print= f (" EFI_FVB2_ALIGNMENT_32\n");+ break; - if (VolumeHeader.Attrib= utes & EFI_FVB2_ALIGNMENT_256) {- printf (" EFI_FVB2_ALIGNMENT_25= 6\n");- }+ case EFI_FVB2_ALIGNMENT_64:+ printf (" EFI_FVB2_ALI= GNMENT_64\n");+ break; - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNME= NT_512) {- printf (" EFI_FVB2_ALIGNMENT_512\n");- }+ case EFI= _FVB2_ALIGNMENT_128:+ printf (" EFI_FVB2_ALIGNMENT_128\n");+ br= eak; - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_1K) {- printf (= " EFI_FVB2_ALIGNMENT_1K\n");- }+ case EFI_FVB2_ALIGNMENT_256:+ = printf (" EFI_FVB2_ALIGNMENT_256\n");+ break; - if (VolumeHeade= r.Attributes & EFI_FVB2_ALIGNMENT_2K) {- printf (" EFI_FVB2_ALIGN= MENT_2K\n");- }+ case EFI_FVB2_ALIGNMENT_512:+ printf (" EFI_F= VB2_ALIGNMENT_512\n");+ break; - if (VolumeHeader.Attributes & EFI_FVB2= _ALIGNMENT_4K) {- printf (" EFI_FVB2_ALIGNMENT_4K\n");- }+ ca= se EFI_FVB2_ALIGNMENT_1K:+ printf (" EFI_FVB2_ALIGNMENT_1K\n");+ = break; - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_8K) {- prin= tf (" EFI_FVB2_ALIGNMENT_8K\n");- }+ case EFI_FVB2_ALIGNMENT_2K:= + printf (" EFI_FVB2_ALIGNMENT_2K\n");+ break; - if (VolumeHea= der.Attributes & EFI_FVB2_ALIGNMENT_16K) {- printf (" EFI_FVB2_AL= IGNMENT_16K\n");- }+ case EFI_FVB2_ALIGNMENT_4K:+ printf (" EF= I_FVB2_ALIGNMENT_4K\n");+ break; - if (VolumeHeader.Attributes & EFI_FV= B2_ALIGNMENT_32K) {- printf (" EFI_FVB2_ALIGNMENT_32K\n");- }+ = case EFI_FVB2_ALIGNMENT_8K:+ printf (" EFI_FVB2_ALIGNMENT_8K\n")= ;+ break; - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_64K) {- = printf (" EFI_FVB2_ALIGNMENT_64K\n");- }+ case EFI_FVB2_ALIGNME= NT_16K:+ printf (" EFI_FVB2_ALIGNMENT_16K\n");+ break; - if (V= olumeHeader.Attributes & EFI_FVB2_ALIGNMENT_128K) {- printf (" EF= I_FVB2_ALIGNMENT_128K\n");- }+ case EFI_FVB2_ALIGNMENT_32K:+ printf = (" EFI_FVB2_ALIGNMENT_32K\n");+ break; - if (VolumeHeader.Attribu= tes & EFI_FVB2_ALIGNMENT_256K) {- printf (" EFI_FVB2_ALIGNMENT_25= 6K\n");- }+ case EFI_FVB2_ALIGNMENT_64K:+ printf (" EFI_FVB2_A= LIGNMENT_64K\n");+ break; - if (VolumeHeader.Attributes & EFI_FVB2_ALIG= NMENT_512K) {- printf (" EFI_FVB2_ALIGNMENT_512K\n");- }+ cas= e EFI_FVB2_ALIGNMENT_128K:+ printf (" EFI_FVB2_ALIGNMENT_128K\n");= + break; - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_1M) {- p= rintf (" EFI_FVB2_ALIGNMENT_1M\n");- }+ case EFI_FVB2_ALIGNMENT_= 256K:+ printf (" EFI_FVB2_ALIGNMENT_256K\n");+ break; - if (Vo= lumeHeader.Attributes & EFI_FVB2_ALIGNMENT_2M) {- printf (" EFI_F= VB2_ALIGNMENT_2M\n");- }+ case EFI_FVB2_ALIGNMENT_512K:+ printf (" = EFI_FVB2_ALIGNMENT_512K\n");+ break; - if (VolumeHeader.Attributes= & EFI_FVB2_ALIGNMENT_4M) {- printf (" EFI_FVB2_ALIGNMENT_4M\n");= - }+ case EFI_FVB2_ALIGNMENT_1M:+ printf (" EFI_FVB2_ALIGNMENT= _1M\n");+ break; - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_8M)= {- printf (" EFI_FVB2_ALIGNMENT_8M\n");- }+ case EFI_FVB2_AL= IGNMENT_2M:+ printf (" EFI_FVB2_ALIGNMENT_2M\n");+ break; - if= (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_16M) {- printf (" = EFI_FVB2_ALIGNMENT_16M\n");- }+ case EFI_FVB2_ALIGNMENT_4M:+ printf = (" EFI_FVB2_ALIGNMENT_4M\n");+ break; - if (VolumeHeader.Attribut= es & EFI_FVB2_ALIGNMENT_32M) {- printf (" EFI_FVB2_ALIGNMENT_32M\= n");- }+ case EFI_FVB2_ALIGNMENT_8M:+ printf (" EFI_FVB2_ALIGN= MENT_8M\n");+ break; - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT= _64M) {- printf (" EFI_FVB2_ALIGNMENT_64M\n");- }+ case EFI_F= VB2_ALIGNMENT_16M:+ printf (" EFI_FVB2_ALIGNMENT_16M\n");+ brea= k; - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_128M) {- printf (= " EFI_FVB2_ALIGNMENT_128M\n");- }+ case EFI_FVB2_ALIGNMENT_32M:+= printf (" EFI_FVB2_ALIGNMENT_32M\n");+ break; - if (VolumeHea= der.Attributes & EFI_FVB2_ALIGNMENT_64M) {- printf (" EFI_FVB2_AL= IGNMENT_64M\n");- }+ case EFI_FVB2_ALIGNMENT_64M:+ printf (" E= FI_FVB2_ALIGNMENT_64M\n");+ break; - if (VolumeHeader.Attributes & EFI_= FVB2_ALIGNMENT_128M) {- printf (" EFI_FVB2_ALIGNMENT_128M\n");- = }+ case EFI_FVB2_ALIGNMENT_128M:+ printf (" EFI_FVB2_ALIGNMENT_= 128M\n");+ break; - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_25= 6M) {- printf (" EFI_FVB2_ALIGNMENT_256M\n");- }+ case EFI_FV= B2_ALIGNMENT_256M:+ printf (" EFI_FVB2_ALIGNMENT_256M\n");+ bre= ak; - if (VolumeHeader.Attributes & EFI_FVB2_ALIGNMENT_512M) {- printf = (" EFI_FVB2_ALIGNMENT_512M\n");- }+ case EFI_FVB2_ALIGNMENT_512M= :+ printf (" EFI_FVB2_ALIGNMENT_512M\n");+ break; - if (Volume= Header.Attributes & EFI_FVB2_ALIGNMENT_1G) {- printf (" EFI_FVB2_= ALIGNMENT_1G\n");- }+ case EFI_FVB2_ALIGNMENT_1G:+ printf (" E= FI_FVB2_ALIGNMENT_1G\n");+ break; - if (VolumeHeader.Attributes & EFI_F= VB2_ALIGNMENT_2G) {- printf (" EFI_FVB2_ALIGNMENT_2G\n");+ cas= e EFI_FVB2_ALIGNMENT_2G:+ printf (" EFI_FVB2_ALIGNMENT_2G\n");+ = break; } #endif--=20 2.25.1