On 5/17/19 3:44 PM, Jan Bobek wrote: > risu_i386.c is expected to implement the following functions: > > - advance_pc > - get_reginfo_paramreg, set_ucontext_paramreg > - get_risuop > - get_pc > > This patch adds the necessary code. We use EAX as the parameter > register and opcode "UD1 %xxx,%eax" for triggering RISU actions. > > Suggested-by: Richard Henderson <richard.hender...@linaro.org> > Signed-off-by: Jan Bobek <jan.bo...@gmail.com> > --- > risu_i386.c | 35 ++++++++++++++++++++++++++++++----- > 1 file changed, 30 insertions(+), 5 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~