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/Library/ArmGenericTimerVirtCounterLib | |
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/Library/ArmGenericTimerVirtCounterLib')
-rw-r--r-- | ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.c b/ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.c index c941895a35..4bb1e1cde5 100644 --- a/ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.c +++ b/ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.c @@ -31,6 +31,14 @@ ArmGenericTimerEnableTimer ( VOID
EFIAPI
+ArmGenericTimerReenableTimer (
+ VOID
+ )
+{
+}
+
+VOID
+EFIAPI
ArmGenericTimerDisableTimer (
VOID
)
|