Skip to content

Commit

Permalink
target-microblaze: Clean includes
Browse files Browse the repository at this point in the history
The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Feb 28, 2012
1 parent 3aef481 commit 94598c1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
3 changes: 3 additions & 0 deletions target-microblaze/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions target-microblaze/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 0 additions & 4 deletions target-microblaze/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 0 additions & 8 deletions target-microblaze/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 94598c1

Please sign in to comment.