qemu-devel@nongnu.org
[Top] [All Lists]

[Qemu-devel] [PATCH] x86: use globals for CPU registers (rev 2)

Subject: [Qemu-devel] [PATCH] x86: use globals for CPU registers rev 2
From: Laurent Desnogues
Date: Tue, 29 Sep 2009 11:58:04 +0200
Hello,

this is a revision of my proposal to use globals for the 8 or 16 CPU
registers on i386 and x86_64.

The changes with my previous patch are:

   - take into account Aurélien's comments
   - get rid of USE_REGS define (thus the old way of accessing x86
     is no more)
   - respect the original order of functions
   - simplify code in some places.

It would probably be good if someone could give this a test for
system mode, as I only tested user mode i386/x86_64 on a
x86_64 host and i386 on i386.


Laurent

Attachment: i386-reg-v2.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • [Qemu-devel] [PATCH] x86: use globals for CPU registers (rev 2), Laurent Desnogues <=