lkml.org 
[lkml]   [2009]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC WIP] x86/paravirt: add register-saving thunks to reduce caller register pressure
Zachary Amsden wrote:
>> Standard calling convention is:
>> arguments return scratch
>> x86-32 eax edx ecx eax ?
>>
>
> ecx, edx
>

OK, no scratch beyond the arg regs.

>> XXX Deal with VMI. What's their calling convention?
>>
>
> Enable/Disable have no clobbers at all.
> Save clobbers only return value, %eax
> Restore also clobbers nothing.
>

OK, they can be plugged in directly then. Use __PV_IS_CALLEE_SAVE(func)
to wrap it up in the right type.

> The patching code has gotten quite complex with the 32/64 union; let me
> apply it first and see before I comment on the patch.
>

OK. I just posted updated versions of this series, so make sure you
comment on that one.

J


\
 
 \ /
  Last update: 2009-01-29 00:19    [W:2.086 / U:1.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site