From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eu-smtp-delivery-143.mimecast.com (eu-smtp-delivery-143.mimecast.com [146.101.78.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 895331A1E10 for ; Mon, 17 Oct 2016 01:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HTjbdq2mbGUZs0leAgcdxEpocbuxMjbutDcUtyfN0Y8=; b=khml6dCWd1ECaRP13bYuvvNNk90ggwfdL9YxnLIqwRPtEaorI0aMNOy/UDbY+X+DHwKl9agXGz61irG+JmGw6w0QQDX4vgXg6xdwxBLyes1xTv7aHUkHF/x36FkcP+LK7yuQeRZVPx+XjyzD1NOWa06IWGDXS6fiNmuPeAYuips= Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01lp0181.outbound.protection.outlook.com [213.199.154.181]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-39-9GaET82_O2emkpjVSlE6AA-1; Mon, 17 Oct 2016 09:54:42 +0100 Received: from DB6PR0802CA0018.eurprd08.prod.outlook.com (10.172.224.28) by HE1PR08MB0442.eurprd08.prod.outlook.com (10.161.120.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.16; Mon, 17 Oct 2016 08:54:38 +0000 Received: from DB3FFO11FD024.protection.gbl (2a01:111:f400:7e04::167) by DB6PR0802CA0018.outlook.office365.com (2603:10a6:4:7e::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.659.11 via Frontend Transport; Mon, 17 Oct 2016 08:54:38 +0000 Received: from nebula.arm.com (217.140.96.140) by DB3FFO11FD024.mail.protection.outlook.com (10.47.217.55) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.669.7 via Frontend Transport; Mon, 17 Oct 2016 08:54:37 +0000 Received: from dennis-ws.asiapac.arm.com (10.1.2.79) by mail.arm.com (10.1.105.66) with Microsoft SMTP Server id 14.3.294.0; Mon, 17 Oct 2016 09:54:35 +0100 From: Dennis Chen To: CC: , Dennis Chen , Ard Biesheuvel , Leif Lindholm Date: Mon, 17 Oct 2016 16:54:20 +0800 Message-ID: <1476694460-29877-1-git-send-email-dennis.chen@arm.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:217.140.96.140; IPV:CAL; SCL:-1; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(356003)(77096005)(189998001)(6916009)(11100500001)(6666003)(7846002)(8676002)(50466002)(48376002)(19580395003)(19580405001)(47776003)(246002)(626004)(110136003)(586003)(87936001)(8936002)(5003940100001)(50226002)(4326007)(2906002)(5660300001)(86362001)(305945005)(92566002)(36756003)(33646002)(229853001)(106466001)(2351001)(26826002)(104016004)(50986999)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR08MB0442; H:nebula.arm.com; FPR:; SPF:Pass; PTR:fw-tnat.cambridge.arm.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD024; 1:vinXFB9lsCUVW1VwGuTMe0lUbdwi3pc+i3KKQgYydHYOtxvidcV6Zc8AJYWnK/s0sWg7z3kBs5Rh4yeVL6nJDH8cyPNSKOUvZ46mIW4G1mJ0iKC9OMKQLeexEaA1drxgpFOWf0CNZisZuiM6spjyxCM/2tQcISC+2P1bI+VIgRsncYsAVuW3n1A6zIsOWpxxVnB6uxLt7NK/DZLcr8pURfMtHmFGxiExiZy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PR08MB0442; X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0442; 25:q78TdUUFlFq4EYa4qKA1UKJfp1jyFYKoZXD6X6F35LU1NFmGss4DvlqEYr1GmyrM73khyLjzwUdNEMoZk8AqKlz0RYAx03Vn4fKuK7NCT+pF0AJCxTedpmAJmAyYjxkIPU5c1PFWznjR84uBEFTT6g0cSkqQMKqQgqmzrc2SiX7CmvI8+nD+iffgqaX8nb7dmeKwsoc1TYz34FhrGJILsF9PGDE9rDQrAFLBIUmjfYPmHFxygULW/onehudwdVNtxtbK5+TM9GaW2sEncrb1xsQshDVF6934KYFrHqNr7ZcsnUwU0ttMCA7YMaq4SxlioUWaIopqyQtVWExXzPj4rN1HVlvmPyBh8+w3HE3iUFzDnU/NLMXxDZWjsyPKoxs/dFtYM6LSF9RNgDRQECLEmNrLMVPDGtU/bA7IkuWyUDHP8odrS9QeSM3HG8xDY6muzwH/HmlKtLd3ThBQDi15IW++RtAq5xpb/YZTTcSqdRjHPynOU+mQ3mP+hwGdJBkiTHEBGKl2spoBBCu1IE/Nmv6ryLKyKHZ30ilnvOrYJOV1MVcK7zvmVYx5tYMPVzRHI8pzB0ZkvfBSH0kaYuYFaQb6GU/MdstvSGs5/9gfNvvjluwgerljJu+cqHIpni53AO9Yd9WMeiGopL0qGzFdpUHNwD0tgdTTGIJh9/z95wJzGnBNSLV2AxQFXujjmqwaNEOIkRXzMkSZQCiVfF/sc1UdCI6n222qqbN26gbuiwy+R8UdxPesbkOrp4nrFN13ptE0CaHnc5xPW9sVBbDb6g0+aR/+U6CoUO+5hiI74W4= X-LD-Processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0442; 31:F+etjpHWkA2A/CjI+ick5CGYq+igz9HXbhJvnwjtZLEMYurI8NT96BAON7/lDReaMIRrFjdJPZGqaLhQedu8+wzd87vhw/c72QQI8CDK+UiQtdIIggDQ5nn6EgxLSWzez9S/LB1BW5NHCHmhF3Ol1kQE5CMcp71GriRYkj4R81hu7/LCnMvaVY7O7L40TZjGoZNlCt+dibtKAaAYyxAqKeqHKdJz8BK1HWPrTj4I+aVpVIryvAgutgs3Cz75KDg8RjEkeDRUA4YkDMBvjO4koQ==; 20:sDadEpl1kWleyKZ7JH3B0McqgbH5LGS/deR86/n2VLOkrx5n7keM/SNNXZk4zBPL14cFifzGzRgwJvDq5k8hKD+AhajbvwlzhkqG3fny56FbRzPgmVOIRCAEcr1Lu4yKjXco6zHyUztY/yrjkainyxvvFET/lIxlpHVX4r2DQ6JGLkZYdFRWEdz9ZzUuqmTQ7dBSH1h0v7iBb6imudLG1dlLQUJvzV9B/1FHO/DupQL7vEetw0Wn82yBVRDCz5tY NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(13020025)(13024025)(13013025)(13023025)(5005006)(10201501046)(3002001)(6055026); SRVR:HE1PR08MB0442; BCL:0; PCL:0; RULEID:; SRVR:HE1PR08MB0442; X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0442; 4:gi1NbrQBGLa4xsVDmqCekjaZe1IFpTwKrorCNPnwZVkJVFha8xGvzNWgZP/qeAedhYttGyo/ButURLrMbDm+djH+MWRmx6RGLHiJ7JQrqFlByr/W5rDySdpESqHzvrE7nQhSUAvkbAFzw0zCXv/10yKF5G+tu4a7HzwaCu97smQPb/D8d5iscL3isSu0pf+3KeRBhhD9JTIFdBZ/P3bEMWHD9Z6RcjfJXC7tq+Vsj1xl2Bfu04a22hgoP33uVEAiowvZVyMVi5II2ZxgS5lBSobx1w60o2KbE9w8zZU7uAYUkH4nqkFV7VLn5bCHssNVtW7R0ujpOZ59C7hG8Xd3vmf9Wd1++uWDng6TUxAr/e8TirIlLd79fDPiuyBqVWvZ2RFSg9ixYK+cynXVNvQGi12wSj1DHzGAjGsI++fJfCJyCO9AkAeoEua6OFeVz0QrPUHbbYoz+iZmId9xTzxNXv76GJODKZqxI8rUXUQM8sIIfx/0G031Fa0bNg7ewXcsch9PAqMD6KaFsyp1/1pE0qKiXkj/h79DRnVA5jDda4M= X-Forefront-PRVS: 0098BA6C6C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR08MB0442; 23:LJ6owGkjM8WKIhNpiIG6Mp8qsWgMHUVLowP6AZol7?= =?us-ascii?Q?8kEFRS2G706XiMUrrN3u5MidbpQWL26RzSj7K1jSXMjwQT8irafAkxd7Gz6W?= =?us-ascii?Q?IDXMB5RTZLNH0F5CV5yTDVq+dYE3Ah4baBaTze29Cb2sg7ZNlQYeEEZ7Ng8s?= =?us-ascii?Q?HIvjeJAyuv+8OmcbxE8gX5F9qDK1rdrEfx4s65Z2mPgf2UZnNLdEZmQps+Sw?= =?us-ascii?Q?d1Kjhh0fI6352h4Ngl6IfwsgM73Vddqon7e720c4gn8lv34KMYdDveVj/ABB?= =?us-ascii?Q?trikvNv+sfpUOco1RNB4PHBkw0vsTxRsEO4CqamelAqStuWdADKDYQxiOnLN?= =?us-ascii?Q?17yWx0sbZFJggF0s1ElCVTyH+VXV5X+EtLzioIkApN6JixJ0MVhr99U/sXAh?= =?us-ascii?Q?kUsekdwKX65ethbBDD8pR6I2gJH8t5sJwMj7xj25Dtu0Lf0rewseilD4SWGa?= =?us-ascii?Q?pjxrr9wfOuTK6aoTAkA4hC7H9Vh+RL3rOq4FZBYzjmpu77e3On/C+0EkthkY?= =?us-ascii?Q?Z2Kpikd2I9vn8hqz2gKsH6rIDgJ1LpZdrtT8ONq9JwTFNkFNziS8TEiznwE5?= =?us-ascii?Q?L6LuNn6a079zY7rj0vdlbGQxLz1YpPuyQVPlfaRHqJKjvkN+sEBHxlx61D3I?= =?us-ascii?Q?yLLjH5gs6aI8MTCFhI42YWnvKgwbKQxU+ue+LtoGP6PQZsOKw9SCU2ikmwqT?= =?us-ascii?Q?hxDpDp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9102S5r2sOVRXBg3za1MkK31x9qvzlWhv/r1rC0feZrNfL1aeWhdPk8EdFRk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0442; 7:hdGPC5ddyuvxYkfBsUW8kn/M8KPtzCf+SQQ9ofS2ROC2kdO5Kxnf3okICDoCRX9n/Eyjtq9WGOUcKcxL/qQBaCTo8GLxZYPuSb+00n48A4RP0EhCFJv6DQXNmxBpkE29UUzvriiw3oYpkvsbihylaF1jEfTHqF0vAbbv6gnLXtLGgxPu6TuaMQF9I6lW64TgrRAI8IhqvDVV5uGwsAF8QKeFDJGEBDNXR663j2NXt3De5HQUAbeGanU6ZOMc8UgmRwATNzZrwZCra59I5cTDhfu2yzDe2dT7UgFwDgFbeuYdXkiMwyQQqIwSTSSKbfx0VmduaNr6uRPNMZefFWDGpyCfeGCNEqis0p7AzheCz54= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2016 08:54:37.7918 (UTC) X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[217.140.96.140]; Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB0442 X-MC-Unique: 9GaET82_O2emkpjVSlE6AA-1 Subject: [PATCH] ArmPkg: Fix the GIC base address variables as 64-bit 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: , X-List-Received-Date: Mon, 17 Oct 2016 08:54:46 -0000 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Since ACPI spec defines the GIC base addresses (CPU interface, Distributor and Redistributor*GICv3 only*) as 64-bit, so we should define these corresponding base address variables as 64-bit instead of 32-bit. This patch redefines them according to the ACPI spec. Contributed-under: TianoCore Contribution Agreement 1.0 Cc: Ard Biesheuvel Cc: Leif Lindholm Signed-off-by: Dennis Chen --- ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c b/ArmPkg/Drivers/Arm= Gic/GicV2/ArmGicV2Dxe.c index b9ecd55..c7c5af1 100644 --- a/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c +++ b/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c @@ -30,8 +30,8 @@ Abstract: =20 extern EFI_HARDWARE_INTERRUPT_PROTOCOL gHardwareInterruptV2Protocol; =20 -STATIC UINT32 mGicInterruptInterfaceBase; -STATIC UINT32 mGicDistributorBase; +STATIC UINT64 mGicInterruptInterfaceBase; +STATIC UINT64 mGicDistributorBase; =20 /** Enable interrupt source Source. --=20 2.7.4