Displaying 1 result from an estimated 1 matches for "f42e4e9".
Did you mean:
f42e4591
2012 Dec 19
6
[PATCH V2] xen: arm: fix guest register access.
...+++++++++++++++++-
xen/arch/arm/vgic.c | 4 +-
xen/arch/arm/vpl011.c | 4 +-
xen/arch/arm/vtimer.c | 7 +++--
xen/include/asm-arm/regs.h | 6 ++++
5 files changed, 74 insertions(+), 9 deletions(-)
diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c
index bddd7d4..f42e4e9 100644
--- a/xen/arch/arm/traps.c
+++ b/xen/arch/arm/traps.c
@@ -73,6 +73,64 @@ static void print_xen_info(void)
debug, print_tainted(taint_str));
}
+uint32_t *select_user_reg(struct cpu_user_regs *regs, int reg)
+{
+ BUG_ON( guest_mode(regs) );
+
+ /*
+ * We rely heavily o...