]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Drivers/TimerDxe/TimerDxe.c
ArmPkg: allow HYP timer interrupt to be omitted
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sat, 28 Feb 2015 20:24:57 +0000 (20:24 +0000)
committerlersek <lersek@Edk2>
Sat, 28 Feb 2015 20:24:57 +0000 (20:24 +0000)
commit967efdcdc3a3a22550563acb9ec77f565b3dbee0
treeb67681a12d7a2048a16d780518ae9505eafa37cc
parent9ff926d6d7c694c09f63008819b8930b9fa79d1a
ArmPkg: allow HYP timer interrupt to be omitted

The DT binding for the ARM generic timer describes the secure,
non-secure, virtual and hypervisor timer interrupts, respectively.
However, under virtualization, only the virtual timer is usable, and
the device tree may omit the hypervisor timer interrupt. (Other timer
interrupts cannot be omitted simply due to the fact that the virtual
timer is listed third)

Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16953 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Drivers/TimerDxe/TimerDxe.c
ArmPlatformPkg/ArmVirtualizationPkg/VirtFdtDxe/VirtFdtDxe.c