[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 08/15] target-microblaze: Clean includes
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH 08/15] target-microblaze: Clean includes |
Date: |
Tue, 28 Feb 2012 22:47:10 +0100 |
The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h.
Signed-off-by: Stefan Weil <address@hidden>
---
target-microblaze/cpu.h | 3 +++
target-microblaze/helper.c | 5 -----
target-microblaze/mmu.c | 4 ----
target-microblaze/translate.c | 8 --------
4 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index 3ecaeee..4092506 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -19,6 +19,9 @@
#ifndef CPU_MICROBLAZE_H
#define CPU_MICROBLAZE_H
+#include "config.h"
+#include "qemu-common.h"
+
#define TARGET_LONG_BITS 32
#define CPUState struct CPUMBState
diff --git a/target-microblaze/helper.c b/target-microblaze/helper.c
index 2cf2802..e1355ff 100644
--- a/target-microblaze/helper.c
+++ b/target-microblaze/helper.c
@@ -17,11 +17,6 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <string.h>
-#include <assert.h>
-
-#include "config.h"
#include "cpu.h"
#include "host-utils.h"
diff --git a/target-microblaze/mmu.c b/target-microblaze/mmu.c
index 281fc8d..7c34ac0 100644
--- a/target-microblaze/mmu.c
+++ b/target-microblaze/mmu.c
@@ -16,11 +16,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-#include "config.h"
#include "cpu.h"
#define D(x)
diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c
index 96ce2ec..725c2dd 100644
--- a/target-microblaze/translate.c
+++ b/target-microblaze/translate.c
@@ -17,19 +17,11 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdarg.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <inttypes.h>
-#include <assert.h>
-
#include "cpu.h"
#include "disas.h"
#include "tcg-op.h"
#include "helper.h"
#include "microblaze-decode.h"
-#include "qemu-common.h"
#define GEN_HELPER 1
#include "helper.h"
--
1.7.9
- [Qemu-devel] [PULL] Patch queue, Stefan Weil, 2012/02/28
- [Qemu-devel] [PATCH 10/15] target-ppc: Clean includes, Stefan Weil, 2012/02/28
- [Qemu-devel] [PATCH 07/15] target-m68k: Clean includes, Stefan Weil, 2012/02/28
- [Qemu-devel] [PATCH 08/15] target-microblaze: Clean includes,
Stefan Weil <=
- [Qemu-devel] [PATCH 13/15] target-unicore32: Clean includes, Stefan Weil, 2012/02/28
- [Qemu-devel] [PATCH 14/15] target-xtensa: Clean includes, Stefan Weil, 2012/02/28
- [Qemu-devel] [PATCH 12/15] target-sh4: Clean includes, Stefan Weil, 2012/02/28
- [Qemu-devel] [PATCH 01/15] Remove macro HOST_LONG_SIZE, Stefan Weil, 2012/02/28
- [Qemu-devel] [PATCH 06/15] target-lm32: Clean includes, Stefan Weil, 2012/02/28
- [Qemu-devel] [PATCH 03/15] target-arm: Clean includes, Stefan Weil, 2012/02/28
- [Qemu-devel] [PATCH 09/15] target-mips: Clean includes, Stefan Weil, 2012/02/28
- [Qemu-devel] [PATCH 05/15] target-i386: Clean includes, Stefan Weil, 2012/02/28