Messages in this thread | | | Date | Thu, 29 Nov 2018 12:21:56 -0500 | From | Steven Rostedt <> | Subject | Re: [PATCH v2 4/4] x86/static_call: Add inline static call implementation for x86-64 |
| |
On Thu, 29 Nov 2018 12:20:00 -0500 Steven Rostedt <rostedt@goodmis.org> wrote:
> r8 = return address > r9 = function to call >
Bad example, r8 and r9 are args, but r10 and r11 are available.
-- Steve
> push r8 > jmp *r9 > > Then have the regs->ip point to that trampoline. > > -- Steve
| |