All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: qemu-devel@nongnu.org
Cc: "Aleksandar Rikalo" <aleksandar.rikalo@syrmia.com>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Aurelien Jarno" <aurelien@aurel32.net>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: [PATCH 4/9] target/mips: Move translate.h to tcg/ sub directory
Date: Thu, 17 Jun 2021 19:43:18 +0200	[thread overview]
Message-ID: <20210617174323.2900831-5-f4bug@amsat.org> (raw)
In-Reply-To: <20210617174323.2900831-1-f4bug@amsat.org>

We moved various TCG source files in commit a2b0a27d33e
("target/mips: Move TCG source files under tcg/ sub directory")
but forgot to move the header declaring their prototypes.
Do it now, since all it declares is TCG specific.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 target/mips/{ => tcg}/translate.h      | 0
 target/mips/tcg/msa_translate.c        | 2 +-
 target/mips/tcg/mxu_translate.c        | 2 +-
 target/mips/tcg/rel6_translate.c       | 2 +-
 target/mips/tcg/translate.c            | 2 +-
 target/mips/tcg/translate_addr_const.c | 2 +-
 target/mips/tcg/tx79_translate.c       | 2 +-
 target/mips/tcg/txx9_translate.c       | 2 +-
 8 files changed, 7 insertions(+), 7 deletions(-)
 rename target/mips/{ => tcg}/translate.h (100%)

diff --git a/target/mips/translate.h b/target/mips/tcg/translate.h
similarity index 100%
rename from target/mips/translate.h
rename to target/mips/tcg/translate.h
diff --git a/target/mips/tcg/msa_translate.c b/target/mips/tcg/msa_translate.c
index ae6587edf69..b3b06352bf2 100644
--- a/target/mips/tcg/msa_translate.c
+++ b/target/mips/tcg/msa_translate.c
@@ -13,7 +13,7 @@
 #include "qemu/osdep.h"
 #include "tcg/tcg-op.h"
 #include "exec/helper-gen.h"
-#include "translate.h"
+#include "tcg/translate.h"
 #include "fpu_helper.h"
 #include "internal.h"
 
diff --git a/target/mips/tcg/mxu_translate.c b/target/mips/tcg/mxu_translate.c
index fb0a811af6c..f70a8ca59f4 100644
--- a/target/mips/tcg/mxu_translate.c
+++ b/target/mips/tcg/mxu_translate.c
@@ -18,7 +18,7 @@
 #include "qemu/osdep.h"
 #include "tcg/tcg-op.h"
 #include "exec/helper-gen.h"
-#include "translate.h"
+#include "tcg/translate.h"
 
 /*
  *
diff --git a/target/mips/tcg/rel6_translate.c b/target/mips/tcg/rel6_translate.c
index 0354370927d..8289263ada5 100644
--- a/target/mips/tcg/rel6_translate.c
+++ b/target/mips/tcg/rel6_translate.c
@@ -11,7 +11,7 @@
 #include "qemu/osdep.h"
 #include "tcg/tcg-op.h"
 #include "exec/helper-gen.h"
-#include "translate.h"
+#include "tcg/translate.h"
 
 /* Include the auto-generated decoder.  */
 #include "decode-mips32r6.c.inc"
diff --git a/target/mips/tcg/translate.c b/target/mips/tcg/translate.c
index a4cab66d338..f0738daa847 100644
--- a/target/mips/tcg/translate.c
+++ b/target/mips/tcg/translate.c
@@ -38,7 +38,7 @@
 #include "exec/log.h"
 #include "qemu/qemu-print.h"
 #include "fpu_helper.h"
-#include "translate.h"
+#include "tcg/translate.h"
 
 /*
  * Many sysemu-only helpers are not reachable for user-only.
diff --git a/target/mips/tcg/translate_addr_const.c b/target/mips/tcg/translate_addr_const.c
index 96f483418eb..3a54749e3bc 100644
--- a/target/mips/tcg/translate_addr_const.c
+++ b/target/mips/tcg/translate_addr_const.c
@@ -12,7 +12,7 @@
  */
 #include "qemu/osdep.h"
 #include "tcg/tcg-op.h"
-#include "translate.h"
+#include "tcg/translate.h"
 
 bool gen_lsa(DisasContext *ctx, int rd, int rt, int rs, int sa)
 {
diff --git a/target/mips/tcg/tx79_translate.c b/target/mips/tcg/tx79_translate.c
index ad83774b977..967969b141a 100644
--- a/target/mips/tcg/tx79_translate.c
+++ b/target/mips/tcg/tx79_translate.c
@@ -9,7 +9,7 @@
 #include "qemu/osdep.h"
 #include "tcg/tcg-op.h"
 #include "exec/helper-gen.h"
-#include "translate.h"
+#include "tcg/translate.h"
 
 /* Include the auto-generated decoder.  */
 #include "decode-tx79.c.inc"
diff --git a/target/mips/tcg/txx9_translate.c b/target/mips/tcg/txx9_translate.c
index 8a2c0b766bd..5f147b89eef 100644
--- a/target/mips/tcg/txx9_translate.c
+++ b/target/mips/tcg/txx9_translate.c
@@ -7,7 +7,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "translate.h"
+#include "tcg/translate.h"
 
 bool decode_ext_txx9(DisasContext *ctx, uint32_t insn)
 {
-- 
2.31.1



  parent reply	other threads:[~2021-06-17 17:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-17 17:43 [PATCH 0/9] target/mips: Various fixes & cleanups Philippe Mathieu-Daudé
2021-06-17 17:43 ` [PATCH 1/9] target/mips: Do not abort on invalid instruction Philippe Mathieu-Daudé
2021-06-18 22:30   ` Richard Henderson
2021-06-17 17:43 ` [PATCH 2/9] target/mips: Fix more TCG temporary leaks in gen_pool32a5_nanomips_insn Philippe Mathieu-Daudé
2021-06-18 22:32   ` Richard Henderson
2021-06-17 17:43 ` [PATCH 3/9] target/mips: Move TCG trace events to tcg/ sub directory Philippe Mathieu-Daudé
2021-06-18 22:32   ` Richard Henderson
2021-06-17 17:43 ` Philippe Mathieu-Daudé [this message]
2021-06-18 22:34   ` [PATCH 4/9] target/mips: Move translate.h " Richard Henderson
2021-06-17 17:43 ` [PATCH 5/9] target/mips: Restrict some system specific declarations to sysemu Philippe Mathieu-Daudé
2021-06-18 22:38   ` Richard Henderson
2021-06-19 14:44     ` Philippe Mathieu-Daudé
2021-06-17 17:43 ` [PATCH 6/9] target/mips: Remove SmartMIPS / MDMX unuseful comments Philippe Mathieu-Daudé
2021-06-18 22:39   ` Richard Henderson
2021-06-17 17:43 ` [PATCH 7/9] target/mips: Remove microMIPS BPOSGE32 / BPOSGE64 unuseful cases Philippe Mathieu-Daudé
2021-06-18  9:44   ` Philippe Mathieu-Daudé
2021-06-18 22:40   ` Richard Henderson
2021-06-17 17:43 ` [PATCH 8/9] target/mips: Constify host_to_mips_errno[] Philippe Mathieu-Daudé
2021-06-18 22:40   ` Richard Henderson
2021-06-17 17:43 ` [PATCH 9/9] target/mips: Optimize regnames[] arrays Philippe Mathieu-Daudé
2021-06-18 22:42   ` Richard Henderson
2021-06-19 18:05 ` [PATCH 0/9] target/mips: Various fixes & cleanups Philippe Mathieu-Daudé

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=20210617174323.2900831-5-f4bug@amsat.org \
    --to=f4bug@amsat.org \
    --cc=aleksandar.rikalo@syrmia.com \
    --cc=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.