From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (EUR01-DB5-obe.outbound.protection.outlook.com [40.107.15.82]) by mx.groups.io with SMTP id smtpd.web11.21718.1684847094242730204 for ; Tue, 23 May 2023 06:04:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=h5Zhx26e; spf=pass (domain: arm.com, ip: 40.107.15.82, 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=xdDo6pE9ycQJXBwRADwxZ5TnWDEkH/ZAaS8yX5QmdhU=; b=h5Zhx26eVlTWSXj71Q+wycJjm8FA6JsDm+lFqm7WVTGaDlZK6HCk4ZOfFvQHpzKkTFL38z7RyRisg3lNXCiGiX6BiQfPwScvBnaknd+OUhcDxCJDkRLsHr0dVZCTgUwemMf4T9+Zm8mC44tTvyvBFbBs6GB7hZ4Fm+SIYD1k9gw= Received: from AM6PR10CA0009.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:89::22) by DU0PR08MB8068.eurprd08.prod.outlook.com (2603:10a6:10:3eb::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.28; Tue, 23 May 2023 13:04:46 +0000 Received: from AM7EUR03FT059.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:89:cafe::1f) by AM6PR10CA0009.outlook.office365.com (2603:10a6:209:89::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.29 via Frontend Transport; Tue, 23 May 2023 13:04:46 +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 AM7EUR03FT059.mail.protection.outlook.com (100.127.140.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.14 via Frontend Transport; Tue, 23 May 2023 13:04:46 +0000 Received: ("Tessian outbound 3a01b65b5aad:v136"); Tue, 23 May 2023 13:04:45 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: babecd2de0491bd4 X-CR-MTA-TID: 64aa7808 Received: from 28f34d365321.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8117DAF3-DE75-4A39-8481-3C343138911D.1; Tue, 23 May 2023 13:04:33 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 28f34d365321.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 23 May 2023 13:04:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iNaB/26oESXSt8P+Xaoe4rBvxc7QFWYvOEprccUU5rLR/IM6/dsRFZemCOlhsh7bvlj9cm4lK9I9fDx5LH+UPx6p6pXsa3YXgPj2cnb4ggN+VscM4kDCjhVu/YX6xDYzd/OFAe5jBDanX1b0six5s8LEntBOFO9S3yTHS87jNAby0P9ArpZnT9I0hyQsg0xZxphsmWReM94oYDrX507X7auz+EScreF20qpkofrc/a4MWlzXTbacW4Zuy8QBhsL7/lVx2T+UXbCiTM1mj9VAGRthqdUHnmsIfaVgfoh4q4fxYCt2l4RMRwYEnys0a7PGJRY5kX3X6YkuoiUxZV113g== 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=xdDo6pE9ycQJXBwRADwxZ5TnWDEkH/ZAaS8yX5QmdhU=; b=eUCf+qd+yHs2D3X4a/4OHlwuOBfSV0zmhTDxkYVuH1/lAS6Gi4v2jO6IDO9bGpYD1ZALeUtOC2RO5/z1qfdkHvaq9b4viyxPlAlEx46+1a2qJ7UCQgeOGKgjDNB+M5LIYKjApOFzTVAVLVbtwxveUtXD8zdJrcY6ZXqxCTh/I/zWsI0RWHDgvB808g4cAaeEIBu0to4XglBW++x+z5T3IcLeK7J1WYxauEk8lRDb7+wtQ31v9nnVf9BPVFDjkyvqbCfBI86A3wRbJ1AemjOGq8G9POcWY7J3lqQmoOK824bdZ82CSNVE5k5jtd5bK7Av3K5W4p/Rp/1/O6rDemv1QQ== 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=xdDo6pE9ycQJXBwRADwxZ5TnWDEkH/ZAaS8yX5QmdhU=; b=h5Zhx26eVlTWSXj71Q+wycJjm8FA6JsDm+lFqm7WVTGaDlZK6HCk4ZOfFvQHpzKkTFL38z7RyRisg3lNXCiGiX6BiQfPwScvBnaknd+OUhcDxCJDkRLsHr0dVZCTgUwemMf4T9+Zm8mC44tTvyvBFbBs6GB7hZ4Fm+SIYD1k9gw= Received: from AS8P251CA0030.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:2f2::19) by PAWPR08MB9030.eurprd08.prod.outlook.com (2603:10a6:102:342::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.28; Tue, 23 May 2023 13:04:30 +0000 Received: from AM7EUR03FT033.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:2f2:cafe::2c) by AS8P251CA0030.outlook.office365.com (2603:10a6:20b:2f2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.29 via Frontend Transport; Tue, 23 May 2023 13:04:29 +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 AM7EUR03FT033.mail.protection.outlook.com (100.127.140.129) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6433.14 via Frontend Transport; Tue, 23 May 2023 13:04:29 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 23 May 2023 13:04:25 +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; Tue, 23 May 2023 13:04:25 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , Subject: [PATCH v1 05/12] ArmPkg: Fix return type for ArmGicGetInterfaceIdentification Date: Tue, 23 May 2023 14:04:14 +0100 Message-ID: <20230523130421.10804-6-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20230523130421.10804-1-sami.mujawar@arm.com> References: <20230523130421.10804-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT033:EE_|PAWPR08MB9030:EE_|AM7EUR03FT059:EE_|DU0PR08MB8068:EE_ X-MS-Office365-Filtering-Correlation-Id: dc77f297-8dd2-4cc6-34e0-08db5b8e4862 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: 9wP9j2KBIS6zgE00g9moY1w8kwbUuLwqtH3/OK7DQCIllm/qPnfVumSrtIUf6urquTPqZKYIFhRxUvcE6asr/aCfRJNMjJGLbaF/HulVPBCrx7by0/M2N0fkVDsKhe9dnPkXbTjFWoX3BV7NAx3jKV9bfrboDCwoL3xMx1CwomgvLuaoEYtY9kXlzr8a41XaogAHjk+LqbbxIPcTZH/nQTSPqJ8L88AIl6x0HBIQleYeVbIpJf8FechBs9/GYmlBxqhUTGXEGTskmQOGGH7JJ4nKcbPcE1X0vwCvJHDvQx9lewSXy3RkBmFI3l8A94182Ywj9meDbmgjZS/G97ljkIaACTgyalwhdSdR4KrPKNh/7plyj04zBm4wQpkoculT4FaHc072sPqhhxBg34EwYL4OPJ4jOGGuMX8xW6wk6s32pjYZl5p2LPrqson1vS4VFNRr4QIRJmO4Wi5oxrS/WzCl/oCaRCEa2h07jPMD92rxDo1sLPwAj9ffnh7MmNh5EOe0FOsaY03gMDfC2bsfDbQuQlDGz1/EWoa/6P4mJ/RmrALZZ8B148p1QIG4czOiVoOHdLVmP4M/H2v8NhccDK5qF0l5sMOCujtsz8FIp59EpnZXv6iGDMRkvkc7GoutO07Xv1jgj3LQquaursFJAI5r99EZh/cSn57HxUMbTqh7R39YTNRlgKhz71u/+nLdmlMNRCRBZBn8mvIFglfTploQz1vh4wcLIm4d8zAYNxpIPcB4dTMfrC9K2iEk2LHH34EI2PdXHsx0b586z9tAwzYlP3otWJXxyHi7/D05aUo= 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)(39860400002)(376002)(346002)(396003)(451199021)(40470700004)(46966006)(36840700001)(186003)(40460700003)(356005)(81166007)(26005)(1076003)(82740400003)(2906002)(44832011)(2616005)(36756003)(36860700001)(47076005)(83380400001)(336012)(426003)(40480700001)(316002)(6666004)(86362001)(70586007)(70206006)(4326008)(6916009)(41300700001)(7696005)(54906003)(82310400005)(478600001)(8676002)(8936002)(5660300002)(213903007)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB9030 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT059.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 9bf3f07d-5364-4804-aafa-08db5b8e3ec5 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: W/RXPB/PaaE/8Ew/+XkINdN+qgA+bsGnxB4CCIi6NBUKg7M4Jwj46W9qAdX909nsUun1SUewTxVtUsv3gq0B1kJlrOG8U78qt5+Gb/DqMqLx6BLYhwzaIV2obzZq8mZQGyEM5BnrBlNaDb5Z0QNZhScN2/kTeTjjkFue4RswSSOTdalmnSklh55HT1to9BXeMYtrNaiR6vA4fcNaUzu4lPF30YPuQGTXVxJas8opsHVmUk1VfSrTnjfonaxkvejF+pV2nco1QJgAIrkUOXpV/V5Lr8b1CC7mo2rqbFYDoKKfR1qj11oKlGR4QIhciajEn4J4mksOB+Mah74yXRZxMfqf2Hfi1PABm5nsa5ML8g3AOU+PoQdK8Uqhm9IAWMRZ9+L1Vdx9g81T8ScXx3kiTj4CcQQ2XZqZ7XqP/3icEzUjCt3bO6gFiVQ3g8MVrLmt6W13WpgBj43O+6Mo8Ynnuyi7no/ul+/yr9dpRrA4Iep+UBjKMWATVh37pN+v9GaOmUn5Mhf4PVwKFsjGFX5wbTRD5Z9YJONbyjh0ArRZErP8Zj7kJOdFFBm1GYgpIj8c1aO+LlmVJ1ar9fEQzc/YYcJz1oCFFNZU+H0UB8KuId3lsTTLFLU9ObkDEq38cjc+Es0sWw/7BQMRruIQmrd/Du4bo2nqc0haGdWVrKhis3WAszcStgNyP/coeF31qZztEBGIC2wLp/hFZfjZW8TEGyIta8urHiS1prj5tFjuVPx5jMrF7gE58bb9cG45d0rEQzi0YK21tq3QueTRAdRtSA== 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)(376002)(346002)(39860400002)(136003)(396003)(451199021)(36840700001)(40470700004)(46966006)(40460700003)(5660300002)(44832011)(8676002)(8936002)(83380400001)(36860700001)(47076005)(2906002)(36756003)(186003)(2616005)(426003)(336012)(82740400003)(81166007)(86362001)(82310400005)(40480700001)(1076003)(26005)(54906003)(316002)(6666004)(478600001)(6916009)(4326008)(70586007)(70206006)(7696005)(41300700001)(213903007);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2023 13:04:46.0311 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dc77f297-8dd2-4cc6-34e0-08db5b8e4862 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: AM7EUR03FT059.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB8068 Content-Type: text/plain The CPU Interface Identification Register (GICC_IIDR) is a 32-bit register. Since ArmGicGetInterfaceIdentification () returns the value read from the GICC_IIDR register, update the return type for this function to UINT32. Signed-off-by: Sami Mujawar --- ArmPkg/Drivers/ArmGic/ArmGicLib.c | 2 +- ArmPkg/Include/Library/ArmGicLib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmPkg/Drivers/ArmGic/ArmGicLib.c b/ArmPkg/Drivers/ArmGic/ArmGicLib.c index 2a5e22e7b68f7c44adbf8a3f26b2b7ec04849b96..df61e3aad4a7899eaa888cb248ad2a285c7f317d 100644 --- a/ArmPkg/Drivers/ArmGic/ArmGicLib.c +++ b/ArmPkg/Drivers/ArmGic/ArmGicLib.c @@ -111,7 +111,7 @@ GicGetCpuRedistributorBase ( @retval CPU Interface Identification information. **/ -UINTN +UINT32 EFIAPI ArmGicGetInterfaceIdentification ( IN UINTN GicInterruptInterfaceBase diff --git a/ArmPkg/Include/Library/ArmGicLib.h b/ArmPkg/Include/Library/ArmGicLib.h index 1b879708f84315035723d77c5301279c8130bd51..49ea3422270bec90fa161593c14c7095b7598c53 100644 --- a/ArmPkg/Include/Library/ArmGicLib.h +++ b/ArmPkg/Include/Library/ArmGicLib.h @@ -110,7 +110,7 @@ // Bit Mask for #define ARM_GIC_ICCIAR_ACKINTID 0x3FF -UINTN +UINT32 EFIAPI ArmGicGetInterfaceIdentification ( IN UINTN GicInterruptInterfaceBase -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'