[Lguest] [patch] reorder struct lguest_regs on i386 for hcall

Jes Sorensen jes at sgi.com
Fri Aug 17 22:54:49 EST 2007


Hi,

In preperation for cleaning up the hypercall code and making it more
non-i386 friendly, I'd like to propose to move location of eax within
struct lguest_regs on i386. This way it will be possible to map the
portion of struct lguest_regs that contain eax/ebx/ecx/edx to a
struct hcall_entry and name the arguments in a sane way there.

I am not an i386 wiz, so I am not sure if there are any unexpected
side-effects to this move, but I tried to do make the changes I believe
are required to accommodate this.

Any comments would be appreciated.

Thanks,
Jes

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lg-i386-regs-reorder.diff
URL: <http://lists.ozlabs.org/pipermail/lguest/attachments/20070817/bd5a064b/attachment.txt>


More information about the Lguest mailing list