mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
ArmPkg/TimerDxe: Register the virt and hyp timer interrupts at init time.
Change-Id: I1162dc60140278c0b3da837bf325e3789ababf54 Contributed-under: TianoCore Contribution Agreement 1.0 Acked-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-By: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16077 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
bcf37cf600
commit
2785509b57
@ -390,6 +390,12 @@ TimerInitialize (
|
|||||||
// Note: Because it is not possible to determine the security state of the
|
// Note: Because it is not possible to determine the security state of the
|
||||||
// CPU dynamically, we just install interrupt handler for both sec and non-sec
|
// CPU dynamically, we just install interrupt handler for both sec and non-sec
|
||||||
// timer PPI
|
// timer PPI
|
||||||
|
Status = gInterrupt->RegisterInterruptSource (gInterrupt, PcdGet32 (PcdArmArchTimerVirtIntrNum), TimerInterruptHandler);
|
||||||
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
|
Status = gInterrupt->RegisterInterruptSource (gInterrupt, PcdGet32 (PcdArmArchTimerHypIntrNum), TimerInterruptHandler);
|
||||||
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
Status = gInterrupt->RegisterInterruptSource (gInterrupt, PcdGet32 (PcdArmArchTimerSecIntrNum), TimerInterruptHandler);
|
Status = gInterrupt->RegisterInterruptSource (gInterrupt, PcdGet32 (PcdArmArchTimerSecIntrNum), TimerInterruptHandler);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
|
@ -52,6 +52,8 @@
|
|||||||
gEmbeddedTokenSpaceGuid.PcdTimerPeriod
|
gEmbeddedTokenSpaceGuid.PcdTimerPeriod
|
||||||
gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum
|
gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum
|
||||||
gArmTokenSpaceGuid.PcdArmArchTimerIntrNum
|
gArmTokenSpaceGuid.PcdArmArchTimerIntrNum
|
||||||
|
gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum
|
||||||
|
gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum
|
||||||
gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz
|
gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz
|
||||||
|
|
||||||
[Depex]
|
[Depex]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user