[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 25/39] xen/riscv: add guest load emulation for trapped MMIO accesses



@@ -179,8 +178,7 @@ static void resolve_faulting_gpa(struct guest_fault *gf)
   * Relies on x0..x31 being laid out at the start of struct cpu_user_regs in
   * architectural register-number order; see the comment there.
   */
-static __maybe_unused unsigned long *guest_gpr(struct cpu_user_regs *regs,
-                                               unsigned int reg)
Could we unified this function with regs_get_gpr()?


I think it could. I will try to do in the unified way.

Thanks!

~ Oleksii



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.