diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-04-23 16:47:18 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-04-26 08:31:12 +0200 |
commit | 5853e2e45092ee49a88971ef0c5f97ac808ed47d (patch) | |
tree | e881c28834f7edc8fd9ad08eed2d85af7cddf8e3 /ArmPkg/Include | |
parent | 1eb72acddd61ab30709076c5747204f3bf629178 (diff) | |
download | edk2-5853e2e45092ee49a88971ef0c5f97ac808ed47d.tar.gz |
ArmPkg: add reenable hook to ArmGenericTimerCounterLib
In preparation of selectively reinstating the timer enable quirk for Xen
that we removed in commit 411a373ed642 ("ArmPkg/TimerDxe: remove workaround
for KVM timer handling"), add a ArmGenericTimerReenableTimer() library
function to ArmGenericTimerCounterLib that we will populate for Xen only.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Julien Grall <julien.grall@arm.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Diffstat (limited to 'ArmPkg/Include')
-rw-r--r-- | ArmPkg/Include/Library/ArmGenericTimerCounterLib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ArmPkg/Include/Library/ArmGenericTimerCounterLib.h b/ArmPkg/Include/Library/ArmGenericTimerCounterLib.h index 805025baa1..47e28b79c0 100644 --- a/ArmPkg/Include/Library/ArmGenericTimerCounterLib.h +++ b/ArmPkg/Include/Library/ArmGenericTimerCounterLib.h @@ -24,6 +24,12 @@ ArmGenericTimerEnableTimer ( VOID
EFIAPI
+ArmGenericTimerReenableTimer (
+ VOID
+ );
+
+VOID
+EFIAPI
ArmGenericTimerDisableTimer (
VOID
);
|