qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: blauwirbel@gmail.com
Subject: [Qemu-devel] [PATCH 0/4] introduce NEED_GLOBAL_ENV
Date: Mon, 28 Jun 2010 19:17:21 +0200	[thread overview]
Message-ID: <1277745445-30560-1-git-send-email-pbonzini@redhat.com> (raw)

Let's start the cleanups from the feature required by Blue Swirl.
I also include here a baby step towards removing eminently TCG-related
stuff from cpu.h.

After this series, only a bunch of files will include exec-all.h,
instead of getting it indirectly from cpu.h.

Note that (as sworn in the previous submission) exec.h is only included
by files that need the global register variable (i.e. cpu-exec.c and
target-*/op_helper.c), and this is the same subset that gets
NEED_GLOBAL_ENV in this patchset.

i386 and sparc have functions declared in cpu.h that are in op_helper.c.
I checked that these do not need the global variable, but it would be
nice to cleanup those too.

Paolo Bonzini (4):
  remove unused stuff from */exec.h
  move cpu_pc_from_tb to target-*/exec.h
  remove exec-all.h inclusion from cpu.h
  require #define NEED_GLOBAL_ENV for files that need the global
    register variable

 cpu-exec.c                    |    2 ++
 exec-all.h                    |    4 ++++
 gdbstub.c                     |    1 +
 hw/xen_domainbuild.c          |    1 +
 kvm-stub.c                    |    1 +
 monitor.c                     |    1 +
 target-alpha/cpu.h            |    6 ------
 target-alpha/exec.h           |    9 +++++----
 target-alpha/op_helper.c      |    1 +
 target-arm/cpu.h              |    6 ------
 target-arm/exec.h             |    8 ++++++--
 target-arm/op_helper.c        |    1 +
 target-cris/cpu.h             |    6 ------
 target-cris/exec.h            |   11 ++++++-----
 target-cris/op_helper.c       |    1 +
 target-i386/cpu.h             |    7 -------
 target-i386/exec.h            |   17 ++++++-----------
 target-i386/op_helper.c       |    3 ++-
 target-m68k/cpu.h             |    6 ------
 target-m68k/exec.h            |    8 ++++++--
 target-m68k/op_helper.c       |    2 ++
 target-microblaze/cpu.h       |    6 ------
 target-microblaze/exec.h      |   10 ++++++----
 target-microblaze/op_helper.c |    1 +
 target-mips/cpu.h             |    8 --------
 target-mips/exec.h            |   17 +++++++----------
 target-mips/op_helper.c       |    7 +++++++
 target-ppc/cpu.h              |    6 ------
 target-ppc/exec.h             |    7 +++++--
 target-ppc/op_helper.c        |    2 ++
 target-s390x/cpu.h            |    6 ------
 target-s390x/exec.h           |    8 ++++++--
 target-s390x/op_helper.c      |    1 +
 target-sh4/cpu.h              |    7 -------
 target-sh4/exec.h             |    8 ++++++--
 target-sh4/op_helper.c        |    2 ++
 target-sparc/cpu.h            |    7 -------
 target-sparc/exec.h           |    8 ++++++--
 target-sparc/op_helper.c      |    1 +
 39 files changed, 96 insertions(+), 118 deletions(-)

             reply	other threads:[~2010-06-28 17:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28 17:17 Paolo Bonzini [this message]
2010-06-28 17:17 ` [Qemu-devel] [PATCH 1/4] remove unused stuff from */exec.h Paolo Bonzini
2010-06-28 17:43   ` [Qemu-devel] " Blue Swirl
2010-06-29  7:48     ` Paolo Bonzini
2010-06-28 17:17 ` [Qemu-devel] [PATCH 2/4] move cpu_pc_from_tb to target-*/exec.h Paolo Bonzini
2010-06-28 17:17 ` [Qemu-devel] [PATCH 3/4] remove exec-all.h inclusion from cpu.h Paolo Bonzini
2010-06-28 17:17 ` [Qemu-devel] [PATCH 4/4] require #define NEED_GLOBAL_ENV for files that need the global register variable Paolo Bonzini
2010-06-28 20:29   ` Paul Brook
2010-06-29  7:44     ` [Qemu-devel] " Paolo Bonzini
2010-06-29 11:30       ` Paul Brook
2010-06-29 13:51         ` Paolo Bonzini
2010-06-29 14:24           ` Paolo Bonzini
2010-06-29 15:28             ` Paul Brook
2010-06-29 15:40               ` Paolo Bonzini
2010-06-30  0:34                 ` Paul Brook
2010-06-29 18:22       ` Blue Swirl
2010-06-28 17:54 ` [Qemu-devel] Re: [PATCH 0/4] introduce NEED_GLOBAL_ENV Blue Swirl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1277745445-30560-1-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).