xen: arm: handle 64-bit system register access traps

Enterprise / Virtualization / Xen - Ian Campbell [citrix.com] - 29 July 2013 10:54 UTC

Wire up the vtimer handling to it.

Use a simplified version of the 32-bit cp-register macros to have convenient decoding of HSR register values. (simplified because we don't need them for passing to the assembler on 64-bit)

1d9866b xen: arm: handle 64-bit system register access traps.
xen/arch/arm/traps.c | 39 ++++++++++++
xen/arch/arm/vtimer.c | 130 ++++++++++++++++++++++++++-------------
xen/include/asm-arm/processor.h | 32 ++++++++++
xen/include/asm-arm/sysregs.h | 56 +++++++++++++++++
4 files changed, 213 insertions(+), 44 deletions(-)

Upstream: xenbits.xen.org


  • Share