summaryrefslogtreecommitdiffstats
path: root/disas/microblaze.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:05:30 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:29:55 -0600
commit11cc2cc0628d7d70f0b88764fccb79c2ac412c15 (patch)
tree696192ced8a18e2444b7a4f535e7646e687366db /disas/microblaze.c
parentc703b4afe3741da99ec3f648bd94bee6c33f60bc (diff)
downloadhqemu-11cc2cc0628d7d70f0b88764fccb79c2ac412c15.zip
hqemu-11cc2cc0628d7d70f0b88764fccb79c2ac412c15.tar.gz
disas/microblaze.c: Don't define TRUE or FALSE
Don't define TRUE and FALSE locally or manually include stdio.h; instead use osdep.h which provides them. This is a necessary prerequisite for moving to "everywhere includes osdep.h", because otherwise there is a compile error due to the redefinition of TRUE and FALSE. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com> Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 1453831531-667-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'disas/microblaze.c')
-rw-r--r--disas/microblaze.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/disas/microblaze.c b/disas/microblaze.c
index 5d15907..91b30ac 100644
--- a/disas/microblaze.c
+++ b/disas/microblaze.c
@@ -33,13 +33,10 @@ along with this program; if not, see <http://www.gnu.org/licenses/>. */
*/
-#include <stdio.h>
+#include "qemu/osdep.h"
#define STATIC_TABLE
#define DEFINE_TABLE
-#define TRUE 1
-#define FALSE 0
-
#ifndef MICROBLAZE_OPC
#define MICROBLAZE_OPC
/* Assembler instructions for Xilinx's microblaze processor
OpenPOWER on IntegriCloud