From nobody Sat Nov 2 16:36:07 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1485942586188851.4459240069723; Wed, 1 Feb 2017 01:49:46 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 71A6882031; Wed, 1 Feb 2017 01:49:34 -0800 (PST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 783F981FAF for ; Wed, 1 Feb 2017 01:49:31 -0800 (PST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP; 01 Feb 2017 01:49:31 -0800 Received: from mdkinney-mobl.amr.corp.intel.com ([10.254.89.179]) by fmsmga005.fm.intel.com with ESMTP; 01 Feb 2017 01:49:31 -0800 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,319,1477983600"; d="scan'208";a="59876502" From: Michael Kinney To: edk2-devel@lists.01.org Date: Wed, 1 Feb 2017 01:49:12 -0800 Message-Id: <1485942552-47388-7-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1485942552-47388-1-git-send-email-michael.d.kinney@intel.com> References: <1485942552-47388-1-git-send-email-michael.d.kinney@intel.com> Subject: [edk2] [staging/edk2-test PATCH V2 6/6] TestCasePkg: Fix GCC compatibility issues X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Fish MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Cc: Andrew Fish Cc: Supreeth Venkatesh Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney Reviewed-by: Supreeth Venkatesh --- TestCasePkg/Timer/ArchTimerBBTestConformance.c | 2 ++ TestCasePkg/Timer/ArchTimerBBTestFunction.c | 4 +++ TestCasePkg/Timer/ArchTimerBBTestMain.c | 4 ++- TestCasePkg/Timer/Guid.h | 41 +++++++++++++---------= ---- 4 files changed, 29 insertions(+), 22 deletions(-) diff --git a/TestCasePkg/Timer/ArchTimerBBTestConformance.c b/TestCasePkg/T= imer/ArchTimerBBTestConformance.c index 58c4ade..5ceda59 100644 --- a/TestCasePkg/Timer/ArchTimerBBTestConformance.c +++ b/TestCasePkg/Timer/ArchTimerBBTestConformance.c @@ -28,6 +28,7 @@ // TDS 3.1 // EFI_STATUS +EFIAPI BBTestRegisterHandlerConsistencyTest ( IN EFI_BB_TEST_PROTOCOL *This, IN VOID *ClientInterface, @@ -199,6 +200,7 @@ BBTestRegisterHandlerConsistencyTest ( // TDS 3.2 // EFI_STATUS +EFIAPI BBTestGetTimerPeriodConsistencyTest ( IN EFI_BB_TEST_PROTOCOL *This, IN VOID *ClientInterface, diff --git a/TestCasePkg/Timer/ArchTimerBBTestFunction.c b/TestCasePkg/Time= r/ArchTimerBBTestFunction.c index dc76bec..9a78eec 100644 --- a/TestCasePkg/Timer/ArchTimerBBTestFunction.c +++ b/TestCasePkg/Timer/ArchTimerBBTestFunction.c @@ -27,6 +27,7 @@ // TDS 4.1 // EFI_STATUS +EFIAPI BBTestRegisterHandlerInterfaceTest ( IN EFI_BB_TEST_PROTOCOL *This, IN VOID *ClientInterface, @@ -259,6 +260,7 @@ BBTestRegisterHandlerInterfaceTest ( // TDS 4.2 // EFI_STATUS +EFIAPI BBTestSetTimerPeriodInterfaceTest ( IN EFI_BB_TEST_PROTOCOL *This, IN VOID *ClientInterface, @@ -584,6 +586,7 @@ BBTestSetTimerPeriodInterfaceTest ( // TDS 4.3 // EFI_STATUS +EFIAPI BBTestGetTimerPeriodInterfaceTest ( IN EFI_BB_TEST_PROTOCOL *This, IN VOID *ClientInterface, @@ -728,6 +731,7 @@ BBTestGetTimerPeriodInterfaceTest ( // TDS 4.4 // EFI_STATUS +EFIAPI BBTestGenerateSoftInterruptInterfaceTest ( IN EFI_BB_TEST_PROTOCOL *This, IN VOID *ClientInterface, diff --git a/TestCasePkg/Timer/ArchTimerBBTestMain.c b/TestCasePkg/Timer/Ar= chTimerBBTestMain.c index fc36c27..f41c8a6 100644 --- a/TestCasePkg/Timer/ArchTimerBBTestMain.c +++ b/TestCasePkg/Timer/ArchTimerBBTestMain.c @@ -88,7 +88,9 @@ EFI_BB_TEST_ENTRY_FIELD gBBTestEntryField[] =3D { EFI_TEST_CASE_AUTO | EFI_TEST_CASE_RESET_REQUIRED, BBTestGenerateSoftInterruptInterfaceTest }, - 0 + { + ZERO_GUID + } }; =20 =20 diff --git a/TestCasePkg/Timer/Guid.h b/TestCasePkg/Timer/Guid.h index 47bcbc8..7b154fe 100644 --- a/TestCasePkg/Timer/Guid.h +++ b/TestCasePkg/Timer/Guid.h @@ -14,102 +14,101 @@ =20 =20 #define EFI_TEST_ARCHTIMERCONSISTENCYTEST_ASSERTION_001_GUID \ -{ 0x6c68726e, 0xa1c1, 0x450d, 0x91, 0x54, 0x0d, 0x73, 0x34, 0xa2, 0xa3, 0x= 62 } +{ 0x6c68726e, 0xa1c1, 0x450d, {0x91, 0x54, 0x0d, 0x73, 0x34, 0xa2, 0xa3, 0= x62 }} =20 extern EFI_GUID gArchTimerConsistencyTestAssertionGuid001; =20 #define EFI_TEST_ARCHTIMERCONSISTENCYTEST_ASSERTION_002_GUID \ -{ 0x762d3586, 0x3bad, 0x40a5, 0xa1, 0x16, 0x6f, 0x30, 0xa2, 0xb5, 0x6b, 0x= 2a } +{ 0x762d3586, 0x3bad, 0x40a5, {0xa1, 0x16, 0x6f, 0x30, 0xa2, 0xb5, 0x6b, 0= x2a }} =20 extern EFI_GUID gArchTimerConsistencyTestAssertionGuid002; =20 #define EFI_TEST_ARCHTIMERCONSISTENCYTEST_ASSERTION_003_GUID \ -{ 0xfb0fa1fe, 0xb026, 0x4f7f, 0xb2, 0x94, 0xeb, 0x01, 0x8a, 0x90, 0xf5, 0x= fc } +{ 0xfb0fa1fe, 0xb026, 0x4f7f, {0xb2, 0x94, 0xeb, 0x01, 0x8a, 0x90, 0xf5, 0= xfc }} =20 extern EFI_GUID gArchTimerConsistencyTestAssertionGuid003; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_001_GUID \ -{ 0x23dedf70, 0x457c, 0x4a97, 0x8f, 0x1b, 0xb2, 0xa6, 0xdc, 0xa3, 0x03, 0x= 4a } +{ 0x23dedf70, 0x457c, 0x4a97, {0x8f, 0x1b, 0xb2, 0xa6, 0xdc, 0xa3, 0x03, 0= x4a }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid001; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_002_GUID \ -{ 0xa371de14, 0x690e, 0x4e7a, 0xae, 0x75, 0x5c, 0x5d, 0x6f, 0x2e, 0x1a, 0x= bf } +{ 0xa371de14, 0x690e, 0x4e7a, {0xae, 0x75, 0x5c, 0x5d, 0x6f, 0x2e, 0x1a, 0= xbf }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid002; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_003_GUID \ -{ 0x0c553adc, 0xc3e7, 0x4bdb, 0xb7, 0x19, 0xe2, 0x25, 0x6f, 0x8b, 0xb7, 0x= 6d } +{ 0x0c553adc, 0xc3e7, 0x4bdb, {0xb7, 0x19, 0xe2, 0x25, 0x6f, 0x8b, 0xb7, 0= x6d }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid003; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_004_GUID \ -{ 0xa37674f4, 0xcac7, 0x426f, 0xbd, 0x42, 0xe6, 0xd4, 0x95, 0xec, 0xdb, 0x= 7d } +{ 0xa37674f4, 0xcac7, 0x426f, {0xbd, 0x42, 0xe6, 0xd4, 0x95, 0xec, 0xdb, 0= x7d }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid004; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_005_GUID \ -{ 0x204d0d9e, 0x9537, 0x4a16, 0x96, 0xea, 0x5a, 0x3d, 0xeb, 0x4b, 0xf6, 0x= 3e } +{ 0x204d0d9e, 0x9537, 0x4a16, {0x96, 0xea, 0x5a, 0x3d, 0xeb, 0x4b, 0xf6, 0= x3e }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid005; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_006_GUID \ -{ 0x67afcccd, 0xce79, 0x43e8, 0xab, 0x7f, 0x91, 0xcd, 0x84, 0x80, 0xae, 0x= fc } +{ 0x67afcccd, 0xce79, 0x43e8, {0xab, 0x7f, 0x91, 0xcd, 0x84, 0x80, 0xae, 0= xfc }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid006; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_007_GUID \ -{ 0x793a3655, 0x1dec, 0x4bf0, 0x88, 0xea, 0xa7, 0xb6, 0xf5, 0x18, 0x0a, 0x= 2a } +{ 0x793a3655, 0x1dec, 0x4bf0, {0x88, 0xea, 0xa7, 0xb6, 0xf5, 0x18, 0x0a, 0= x2a }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid007; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_008_GUID \ -{ 0xab6bdf70, 0xb727, 0x4731, 0xba, 0x36, 0x78, 0x69, 0x8d, 0x18, 0xce, 0x= 49 } +{ 0xab6bdf70, 0xb727, 0x4731, {0xba, 0x36, 0x78, 0x69, 0x8d, 0x18, 0xce, 0= x49 }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid008; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_009_GUID \ -{ 0x3632e6d6, 0x27e2, 0x46d6, 0xaa, 0xc2, 0x97, 0xc5, 0x1e, 0x83, 0xaa, 0x= 5c } +{ 0x3632e6d6, 0x27e2, 0x46d6, {0xaa, 0xc2, 0x97, 0xc5, 0x1e, 0x83, 0xaa, 0= x5c }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid009; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_010_GUID \ -{ 0x49cf6051, 0x74d0, 0x4ab7, 0x9c, 0xd2, 0x30, 0xb3, 0x69, 0xfe, 0xaf, 0x= 76 } +{ 0x49cf6051, 0x74d0, 0x4ab7, {0x9c, 0xd2, 0x30, 0xb3, 0x69, 0xfe, 0xaf, 0= x76 }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid010; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_011_GUID \ -{ 0x8d9692d1, 0x7772, 0x44b3, 0xad, 0x42, 0xa8, 0xda, 0x7f, 0x9b, 0x66, 0x= c8 } +{ 0x8d9692d1, 0x7772, 0x44b3, {0xad, 0x42, 0xa8, 0xda, 0x7f, 0x9b, 0x66, 0= xc8 }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid011; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_012_GUID \ -{ 0xb19dd34f, 0x3bae, 0x41eb, 0x92, 0xdf, 0x56, 0x9e, 0x80, 0x95, 0x21, 0x= 2f } +{ 0xb19dd34f, 0x3bae, 0x41eb, {0x92, 0xdf, 0x56, 0x9e, 0x80, 0x95, 0x21, 0= x2f }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid012; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_013_GUID \ -{ 0xe3bb8873, 0xcdf7, 0x4c4c, 0x96, 0x3f, 0xf6, 0xeb, 0x23, 0x2c, 0xa9, 0x= 05 } +{ 0xe3bb8873, 0xcdf7, 0x4c4c, {0x96, 0x3f, 0xf6, 0xeb, 0x23, 0x2c, 0xa9, 0= x05 }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid013; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_014_GUID \ -{ 0x3e2686aa, 0xaa79, 0x4f2a, 0xb8, 0xb2, 0xd4, 0x05, 0x37, 0xf2, 0x3e, 0x= c0 } +{ 0x3e2686aa, 0xaa79, 0x4f2a, {0xb8, 0xb2, 0xd4, 0x05, 0x37, 0xf2, 0x3e, 0= xc0 }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid014; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_015_GUID \ -{ 0x7d0e2fa0, 0xc40b, 0x47e3, 0x96, 0x70, 0xc8, 0x69, 0xe5, 0x2c, 0x29, 0x= 41 } +{ 0x7d0e2fa0, 0xc40b, 0x47e3, {0x96, 0x70, 0xc8, 0x69, 0xe5, 0x2c, 0x29, 0= x41 }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid015; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_016_GUID \ -{ 0xae2aae66, 0x2510, 0x47a5, 0x83, 0x6f, 0xdc, 0xd8, 0x55, 0xff, 0x9a, 0x= 32 } +{ 0xae2aae66, 0x2510, 0x47a5, {0x83, 0x6f, 0xdc, 0xd8, 0x55, 0xff, 0x9a, 0= x32 }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid016; =20 #define EFI_TEST_ARCHTIMERINTERFACETEST_ASSERTION_017_GUID \ -{ 0xdc368011, 0x1a7f, 0x4e3a, 0x8f, 0xaf, 0x70, 0x9e, 0x71, 0x85, 0x94, 0x= 5d } +{ 0xdc368011, 0x1a7f, 0x4e3a, {0x8f, 0xaf, 0x70, 0x9e, 0x71, 0x85, 0x94, 0= x5d }} =20 extern EFI_GUID gArchTimerInterfaceTestAssertionGuid017; - --=20 2.6.3.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel