ArmPkg/ArmLib: VBAR_ELx not written correctly when handler above 4GB

The function ArmWriteVBar had a UINT32 parameter.
Need to change it to UINT.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15208 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Olivier Martin 2014-02-05 12:53:09 +00:00 committed by oliviermartin
parent 2818c158de
commit 4e57d6d70b
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
Copyright (c) 2011 - 2012, ARM Ltd. All rights reserved.<BR> Copyright (c) 2011 - 2014, 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
@ -477,10 +477,10 @@ ArmInstructionSynchronizationBarrier (
VOID VOID
EFIAPI EFIAPI
ArmWriteVBar ( ArmWriteVBar (
IN UINT32 VectorBase IN UINTN VectorBase
); );
UINT32 UINTN
EFIAPI EFIAPI
ArmReadVBar ( ArmReadVBar (
VOID VOID

View File

@ -1,7 +1,7 @@
/** @file /** @file
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
Copyright (c) 2011, ARM Limited. All rights reserved. Copyright (c) 2011 - 2014, ARM Limited. All rights reserved.
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
@ -22,7 +22,7 @@
VOID VOID
EFIAPI EFIAPI
ArmWriteVBar ( ArmWriteVBar (
IN UINT32 VectorBase IN UINTN VectorBase
) )
{ {
ASSERT(FeaturePcdGet (PcdRelocateVectorTable) == TRUE); ASSERT(FeaturePcdGet (PcdRelocateVectorTable) == TRUE);
@ -37,7 +37,7 @@ ArmWriteVBar (
} }
} }
UINT32 UINTN
EFIAPI EFIAPI
ArmReadVBar ( ArmReadVBar (
VOID VOID