mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 22:54:51 +02:00
ArmPkg/PL390Gic: Removed duplicated line of codes disabling the interrupts
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13040 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ac7362c985
commit
1bccfbe5ab
@ -1,7 +1,8 @@
|
|||||||
/*++
|
/*++
|
||||||
|
|
||||||
Copyright (c) 2009, Hewlett-Packard Company. All rights reserved.<BR>
|
Copyright (c) 2009, Hewlett-Packard Company. All rights reserved.<BR>
|
||||||
Portions copyright (c) 2010, Apple Inc. All rights reserved.<BR>
|
Portions copyright (c) 2010, Apple Inc. All rights reserved.<BR>
|
||||||
|
Portions copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -309,10 +310,6 @@ ExitBootServicesEvent (
|
|||||||
{
|
{
|
||||||
UINTN Index;
|
UINTN Index;
|
||||||
|
|
||||||
for (Index = 0; Index < PcdGet32(PcdGicNumInterrupts); Index++) {
|
|
||||||
DisableInterruptSource (&gHardwareInterruptProtocol, Index);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Acknowledge all pending interrupts
|
// Acknowledge all pending interrupts
|
||||||
for (Index = 0; Index < PcdGet32(PcdGicNumInterrupts); Index++) {
|
for (Index = 0; Index < PcdGet32(PcdGicNumInterrupts); Index++) {
|
||||||
DisableInterruptSource (&gHardwareInterruptProtocol, Index);
|
DisableInterruptSource (&gHardwareInterruptProtocol, Index);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user