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: 2019051616.6430-3-peter.maydell@linaro.org
master
Peter Maydell 3 weeks 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 @@
16 16
 #include "cpu.h"
17 17
 #include "hw/sysbus.h"
18 18
 #include "qemu/timer.h"
19
-#include "hw/arm/arm.h"
20 19
 #include "hw/intc/armv7m_nvic.h"
21 20
 #include "target/arm/cpu.h"
22 21
 #include "exec/exec-all.h"

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

@@ -29,7 +29,6 @@
29 29
 #else
30 30
 #include "qemu-common.h"
31 31
 #include "exec/gdbstub.h"
32
-#include "hw/arm/arm.h"
33 32
 #include "qemu/cutils.h"
34 33
 #endif
35 34
 

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

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

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

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

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

@@ -23,7 +23,6 @@
23 23
 #include "cpu.h"
24 24
 #include "trace.h"
25 25
 #include "internals.h"
26
-#include "hw/arm/arm.h"
27 26
 #include "hw/pci/pci.h"
28 27
 #include "exec/memattrs.h"
29 28
 #include "exec/address-spaces.h"

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

@@ -20,7 +20,6 @@
20 20
 #include "sysemu/kvm.h"
21 21
 #include "kvm_arm.h"
22 22
 #include "internals.h"
23
-#include "hw/arm/arm.h"
24 23
 #include "qemu/log.h"
25 24
 
26 25
 static inline void set_feature(uint64_t *features, int feature)

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

@@ -26,7 +26,6 @@
26 26
 #include "sysemu/kvm.h"
27 27
 #include "kvm_arm.h"
28 28
 #include "internals.h"
29
-#include "hw/arm/arm.h"
30 29
 
31 30
 static bool have_guest_debug;
32 31
 

Loading…
Cancel
Save