From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (EUR02-VI1-obe.outbound.protection.outlook.com [40.107.241.75]) by mx.groups.io with SMTP id smtpd.web11.9069.1684935536937203965 for ; Wed, 24 May 2023 06:38:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=Fsz5LynH; spf=pass (domain: arm.com, ip: 40.107.241.75, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k/GQ7dXvSNwSkT7HbLqEwLwyt1hGuCAuAClkGS9MwRQ=; b=Fsz5LynHO5j4+6osyBHtGoaTxVyKRfIr2PZTrieXih280PsbCf+QA+RFHuRSu8O0fgPw4GcwFKl4dn+mOQRbqmCLWfWYsCjAGKRyeC0Oh4ObZ6/lSivhuUoPiFaSmBZ9kSvJP4lPLJZyVWyZkssd7HX27SkZuotq9Vwn7/pu5/k= Received: from DB6PR07CA0118.eurprd07.prod.outlook.com (2603:10a6:6:2c::32) by DBAPR08MB5605.eurprd08.prod.outlook.com (2603:10a6:10:1af::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.29; Wed, 24 May 2023 13:38:53 +0000 Received: from DBAEUR03FT063.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2c:cafe::70) by DB6PR07CA0118.outlook.office365.com (2603:10a6:6:2c::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.15 via Frontend Transport; Wed, 24 May 2023 13:38:53 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT063.mail.protection.outlook.com (100.127.142.255) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.15 via Frontend Transport; Wed, 24 May 2023 13:38:53 +0000 Received: ("Tessian outbound 5bb4c51d5a1f:v136"); Wed, 24 May 2023 13:38:52 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0e5aad9461e83745 X-CR-MTA-TID: 64aa7808 Received: from 963f344851a5.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3B68CAA1-57BE-41FC-90F3-EA5FF16C3DE7.1; Wed, 24 May 2023 13:38:44 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 963f344851a5.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 24 May 2023 13:38:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dcphJZXzG1gzKlVyV6YGpd8mjTJCFZ5NxfWE3dz9AuqpkbkUHZCYg604xKOSmdqOu0Kr/f5r6mdopyw8sVxkYYRhdcNLjvfGkooYhJ5W8Y0kzr8tAqeSmDiOb4Yu/vDy2cffxKnSubUH1mlwFZPDayXp2oylQGCtFqaaXAggcakGUsIR/OmHBUE2t+n1vXoq35AkX60O2mprwAIqAJseKlK1CNcryMt8jE1tOaxeY5gpzhH7IzIhcSgHMd4F/uR2oM/Q9PiOh1lX5Q68/o2yS//UomPVQyn9ey4oPstam86232eYnK3/lxexEolAe0P7R54D78Df59leTxrXkFtgjw== 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=k/GQ7dXvSNwSkT7HbLqEwLwyt1hGuCAuAClkGS9MwRQ=; b=ayyVwdwLilQ2HCBIALGam7dIsPOgjME4vXVnIRlAw32BGNdigKNy42ARfTJIOmviKvS0of/5oX1CjsJK0htMpJBgL9TlzXwXV8wl7Gi8N/u0aQxmVSZHzUDUbfzfwGGJuSxaHpaCPGMmZqXdX0tM5QGQHBh8T4E0HZlprcLmusP0+RryDeepytecW+W2mm97DXOI2ZOAKf0GhVojbEEFB2jbFSTZ2ivFLcHMAWO4ngJqmxB0k3k5v27pAGTGLp0qZpHt45CgWcfz4/gFx6wnmE22asF7Sagl/mKpcsOtmVBtMiqtqvkVwcWuZzV8YHHbERNbrfWgpMeYvXSUO0sSFQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k/GQ7dXvSNwSkT7HbLqEwLwyt1hGuCAuAClkGS9MwRQ=; b=Fsz5LynHO5j4+6osyBHtGoaTxVyKRfIr2PZTrieXih280PsbCf+QA+RFHuRSu8O0fgPw4GcwFKl4dn+mOQRbqmCLWfWYsCjAGKRyeC0Oh4ObZ6/lSivhuUoPiFaSmBZ9kSvJP4lPLJZyVWyZkssd7HX27SkZuotq9Vwn7/pu5/k= Received: from AS9PR05CA0116.eurprd05.prod.outlook.com (2603:10a6:20b:498::10) by AM0PR08MB5316.eurprd08.prod.outlook.com (2603:10a6:208:185::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.29; Wed, 24 May 2023 13:38:43 +0000 Received: from AM7EUR03FT059.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:498:cafe::de) by AS9PR05CA0116.outlook.office365.com (2603:10a6:20b:498::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.15 via Frontend Transport; Wed, 24 May 2023 13:38:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM7EUR03FT059.mail.protection.outlook.com (100.127.140.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6433.14 via Frontend Transport; Wed, 24 May 2023 13:38:43 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Wed, 24 May 2023 13:38:42 +0000 Received: from E114225.Arm.com (10.1.196.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.23 via Frontend Transport; Wed, 24 May 2023 13:38:41 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , Subject: [PATCH v2 02/11] ArmPkg: Fix data type used for GicInterruptInterfaceBase Date: Wed, 24 May 2023 14:38:31 +0100 Message-ID: <20230524133840.28612-3-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20230524133840.28612-1-sami.mujawar@arm.com> References: <20230524133840.28612-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT059:EE_|AM0PR08MB5316:EE_|DBAEUR03FT063:EE_|DBAPR08MB5605:EE_ X-MS-Office365-Filtering-Correlation-Id: 7e9be147-6e08-4aed-3e28-08db5c5c36ef x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 6RvqHOGZoa1pHTJVGFbD4WlbVGNdo07whW6P2SSxwUs3GlYb6FKv4E5RylGgVzjB8WGe2l7pFEdnQ8Ic2NnDSc4nun1vIphBh+6ElSLVaGcFlzqzexwcfwzYHGhOmbXy7PGbqzguEMX7sNoIoqxkYuY8iVSnRkyOUmtOr865bCGWMWkly5L/Rp3FHzWwWYM4/jC+DLl/ZY55yBydERQ6uZkGoxLqyDU/Hq9PHLcloIZE48ROScKkRFQM5jREHdcLcFfQj2/i7E8Ip8Hn4xebNk8/MwYhH7SEU8qBni9zc3suR3BIRfT3gF7wEKVPGtnE1IFqgJCobxq0I98kL6Y3RGspxKcDvzryLDvE+bx4YsgTjIHQpReqpqBVurnxQe99cvt8jN30fI5YZETdz/YuwogT98yuvBOKj9p7cDfUifyqSvJ5MQAEWx7bp8lri7QIXpUAlmnkyaRS4MFEPi5qngv/F0J6843/lrAsS4SSsUBcQcDTI3njPDpiIrvYHPy+ySw2GDeVnNfAnHtribMRX2noJ3itaSd+Eq0dEmMWpT2aoe+4ilDiozHSXTyGRa6ihkQDNw/XsqPevKXM80sSe0+9EkI7PefTBv3TtSixbHJs5urji3Ie2IvRI3OVTHyO9vB4LW/PPJrm5pp5KgVZ1feTI1tGkjAoRpbW2xsS3QtDmBQlHwEd9DMo91VWfZ2YsXLZP4wWCwopdxV5rcMuVk2rZNHFiTlmHU3sPNkEkn0= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(136003)(376002)(396003)(346002)(39860400002)(451199021)(46966006)(36840700001)(41300700001)(70206006)(70586007)(2906002)(40480700001)(1076003)(186003)(44832011)(478600001)(6666004)(4326008)(7696005)(26005)(966005)(316002)(19627235002)(6916009)(5660300002)(54906003)(8936002)(8676002)(36860700001)(356005)(81166007)(36756003)(47076005)(2616005)(426003)(336012)(83380400001)(82310400005)(86362001)(82740400003)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5316 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT063.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: b9e0b904-e92c-4c63-4db6-08db5c5c30ec X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: u1z3qs3V/GfADAQLwtrj0rxe2z60746+27gPpaKgRDy9faCfEdELSrh8Fq1s4bNPxFTIsGNP5YuPAQlz5I1/324eZkDyZCke9FpKGyxLCv86rK741qwwqlg2l3a12+ACmfqr/0vTjDAayht5T1AWDglcPW9sLug0Q3gaG45Bbhi5MRouYwmS7xMq4ERuSlLn2LZflcHDGXENCbX8LCryCrXMr+ltzkgFbVsZPmj1T///7tutRlSZ4MpJWuvBptRj1I51vHCqWOsZWPc7ihVVY5Ysl0kaKMqXw8oeR0Lgdwb/eFNNOiyvN791/Y9/EUgg8sGFrnLAwf7ajTA6K/apIz8kCMupH28wkAU/8RcWazaF/1n0D7B0WBAaWuyY9Xb5bBoA3+mrrW9I66gpgQJIUtCnv3gEdm6jOi3mtRkSc4ltMIOcvPz8vfzRg2Z+XBHBLG6dkaT6ubyP/cDDuHo+ru+nUeScIoQNMdyGXK/s6Gs2m4m+2/mbUF6MUAVNnm+8cgFOQ0P+9SoEVsK09SMKNLTc5LGTStVCCJ2nK+AtZPN1AgfoNYiIGH69PQztJr7xd/OHKFTVVAHL1aMddqD2B5RkdeC+VQUO9KL3Wn4qqhWOgfJOu/Ig+I+2PEti22CVXtg9F3Ga3w6ubVAHtpQjDHMSeOutPNDAjUvShjmkuIZkEReFNBAQqVn4PgL/a10kN8r1d6Qeq/9UU/pw+HqFvTIYscS/serg3ZM1rkDrnDE= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230028)(4636009)(396003)(346002)(136003)(39860400002)(376002)(451199021)(46966006)(40470700004)(36840700001)(966005)(478600001)(6666004)(7696005)(19627235002)(54906003)(316002)(186003)(44832011)(2906002)(26005)(1076003)(82310400005)(4326008)(6916009)(8936002)(8676002)(5660300002)(41300700001)(70206006)(70586007)(82740400003)(81166007)(36756003)(86362001)(40460700003)(36860700001)(47076005)(40480700001)(426003)(336012)(2616005)(83380400001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2023 13:38:53.1452 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7e9be147-6e08-4aed-3e28-08db5c5c36ef X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT063.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5605 Content-Type: text/plain The data type used by variables representing the GicInterruptInterfaceBase has been inconsistently used in the ArmGic driver and the library. The PCD defined for the GIC Interrupt interface base address is UINT64. However, the data types for the variables used is UINTN, INTN, and at some places UINT32. Therefore, update the data types to use UINTN and add necessary typecasts when reading values from the PCD. This should then be consistent across AArch32 and AArch64 builds. Signed-off-by: Sami Mujawar Reviewed-by: Ard Biesheuvel --- Notes: v2: - Assert if PcdGicInterruptInterfaceBase <= UINTN [Pedro] - Updated to add copyright year and assert [Sami] - Ref: https://edk2.groups.io/g/devel/message/105191 ArmPkg/Drivers/ArmGic/ArmGicLib.c | 13 ++++++++++--- ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c | 3 ++- ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2NonSecLib.c | 6 +++--- ArmPkg/Include/Library/ArmGicLib.h | 18 +++++++++--------- 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/ArmPkg/Drivers/ArmGic/ArmGicLib.c b/ArmPkg/Drivers/ArmGic/ArmGicLib.c index e26035a90201a7cd3025537d9351cc30019090b6..2432715e43fa40ba6780909a83eaf7a6f8e791fc 100644 --- a/ArmPkg/Drivers/ArmGic/ArmGicLib.c +++ b/ArmPkg/Drivers/ArmGic/ArmGicLib.c @@ -104,10 +104,17 @@ GicGetCpuRedistributorBase ( return 0; } +/** + Return the GIC CPU Interrupt Interface ID. + + @param GicInterruptInterfaceBase Base address of the GIC Interrupt Interface. + + @retval CPU Interface Identification information. +**/ UINTN EFIAPI ArmGicGetInterfaceIdentification ( - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ) { // Read the GIC Identification Register @@ -400,7 +407,7 @@ ArmGicDisableDistributor ( VOID EFIAPI ArmGicEnableInterruptInterface ( - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ) { ARM_GIC_ARCH_REVISION Revision; @@ -418,7 +425,7 @@ ArmGicEnableInterruptInterface ( VOID EFIAPI ArmGicDisableInterruptInterface ( - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ) { ARM_GIC_ARCH_REVISION Revision; diff --git a/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c b/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c index 1c2061181e83bcf3f91d7bd13056f0413e212c37..a1670021c30f05707d7c37a789fdbacc4ffa9140 100644 --- a/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c +++ b/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c @@ -400,9 +400,10 @@ GicV2DxeInitialize ( // the system. ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gHardwareInterruptProtocolGuid); + ASSERT (PcdGet64 (PcdGicInterruptInterfaceBase) <= MAX_UINTN); ASSERT (PcdGet64 (PcdGicDistributorBase) <= MAX_UINTN); - mGicInterruptInterfaceBase = PcdGet64 (PcdGicInterruptInterfaceBase); + mGicInterruptInterfaceBase = (UINTN)PcdGet64 (PcdGicInterruptInterfaceBase); mGicDistributorBase = (UINTN)PcdGet64 (PcdGicDistributorBase); mGicNumInterrupts = ArmGicGetMaxNumInterrupts (mGicDistributorBase); diff --git a/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2NonSecLib.c b/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2NonSecLib.c index 85c2a920a54a1acaccb98a94b5591ce36d20697c..781645e8ea68dfcbf83edeb63823605ede2bc067 100644 --- a/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2NonSecLib.c +++ b/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2NonSecLib.c @@ -1,6 +1,6 @@ /** @file * -* Copyright (c) 2011-2014, ARM Limited. All rights reserved. +* Copyright (c) 2011-2023, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause-Patent * @@ -13,7 +13,7 @@ VOID EFIAPI ArmGicV2EnableInterruptInterface ( - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ) { /* @@ -26,7 +26,7 @@ ArmGicV2EnableInterruptInterface ( VOID EFIAPI ArmGicV2DisableInterruptInterface ( - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ) { // Disable Gic Interface diff --git a/ArmPkg/Include/Library/ArmGicLib.h b/ArmPkg/Include/Library/ArmGicLib.h index 928d1541d9d6bd603ea687a7814fb31c35e14a8d..7253cda5b8f01193d3439061ccd903868ed2e145 100644 --- a/ArmPkg/Include/Library/ArmGicLib.h +++ b/ArmPkg/Include/Library/ArmGicLib.h @@ -113,7 +113,7 @@ UINTN EFIAPI ArmGicGetInterfaceIdentification ( - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ); // GIC Secure interfaces @@ -122,7 +122,7 @@ EFIAPI ArmGicSetupNonSecure ( IN UINTN MpId, IN UINTN GicDistributorBase, - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ); VOID @@ -136,13 +136,13 @@ ArmGicSetSecureInterrupts ( VOID EFIAPI ArmGicEnableInterruptInterface ( - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ); VOID EFIAPI ArmGicDisableInterruptInterface ( - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ); VOID @@ -203,8 +203,8 @@ ArmGicEndOfInterrupt ( UINTN EFIAPI ArmGicSetPriorityMask ( - IN INTN GicInterruptInterfaceBase, - IN INTN PriorityMask + IN UINTN GicInterruptInterfaceBase, + IN INTN PriorityMask ); VOID @@ -252,19 +252,19 @@ EFIAPI ArmGicV2SetupNonSecure ( IN UINTN MpId, IN UINTN GicDistributorBase, - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ); VOID EFIAPI ArmGicV2EnableInterruptInterface ( - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ); VOID EFIAPI ArmGicV2DisableInterruptInterface ( - IN INTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase ); UINTN -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'