Browse Source

arm: Remove unnecessary includes of hw/arm/arm.h

The hw/arm/arm.h header now only includes declarations relating
to boot.c code, so it is only needed by Arm board or SoC code.
Remove some unnecessary inclusions of it from target/arm files
and from hw/intc/armv7m_nvic.c.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190516163857.6430-3-peter.maydell@linaro.org
tags/v4.1.0-rc0
Peter Maydell 3 months ago
parent
commit
55bb1a55c7
7 changed files with 0 additions and 7 deletions
  1. 0
    1
      hw/intc/armv7m_nvic.c
  2. 0
    1
      target/arm/arm-semi.c
  3. 0
    1
      target/arm/cpu.c
  4. 0
    1
      target/arm/cpu64.c
  5. 0
    1
      target/arm/kvm.c
  6. 0
    1
      target/arm/kvm32.c
  7. 0
    1
      target/arm/kvm64.c

+ 0
- 1
hw/intc/armv7m_nvic.c View File

@@ -16,7 +16,6 @@
#include "cpu.h"
#include "hw/sysbus.h"
#include "qemu/timer.h"
#include "hw/arm/arm.h"
#include "hw/intc/armv7m_nvic.h"
#include "target/arm/cpu.h"
#include "exec/exec-all.h"

+ 0
- 1
target/arm/arm-semi.c View File

@@ -29,7 +29,6 @@
#else
#include "qemu-common.h"
#include "exec/gdbstub.h"
#include "hw/arm/arm.h"
#include "qemu/cutils.h"
#endif


+ 0
- 1
target/arm/cpu.c View File

@@ -30,7 +30,6 @@
#if !defined(CONFIG_USER_ONLY)
#include "hw/loader.h"
#endif
#include "hw/arm/arm.h"
#include "sysemu/sysemu.h"
#include "sysemu/hw_accel.h"
#include "kvm_arm.h"

+ 0
- 1
target/arm/cpu64.c View File

@@ -25,7 +25,6 @@
#if !defined(CONFIG_USER_ONLY)
#include "hw/loader.h"
#endif
#include "hw/arm/arm.h"
#include "sysemu/sysemu.h"
#include "sysemu/kvm.h"
#include "kvm_arm.h"

+ 0
- 1
target/arm/kvm.c View File

@@ -23,7 +23,6 @@
#include "cpu.h"
#include "trace.h"
#include "internals.h"
#include "hw/arm/arm.h"
#include "hw/pci/pci.h"
#include "exec/memattrs.h"
#include "exec/address-spaces.h"

+ 0
- 1
target/arm/kvm32.c View File

@@ -20,7 +20,6 @@
#include "sysemu/kvm.h"
#include "kvm_arm.h"
#include "internals.h"
#include "hw/arm/arm.h"
#include "qemu/log.h"

static inline void set_feature(uint64_t *features, int feature)

+ 0
- 1
target/arm/kvm64.c View File

@@ -26,7 +26,6 @@
#include "sysemu/kvm.h"
#include "kvm_arm.h"
#include "internals.h"
#include "hw/arm/arm.h"

static bool have_guest_debug;


Loading…
Cancel
Save