Trivial patches pull request 20210503

-----BEGIN PGP SIGNATURE-----
 
 iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmCPtbASHGxhdXJlbnRA
 dml2aWVyLmV1AAoJEPMMOL0/L748I3wP/Al7yi77BMpts1t3lGMm7EBjKgkppnpr
 wZYEM68bJonvvGiEKQjexn1CUfnDcq7f5SZkzcUNLI4oP57pyywb4/gshN0k/Zz8
 uCDveMfnhbio2sqlXiMsH9TOhcv/4wtXAek/ghP7EOjkBvyXrAFIQ7eEPEB9cp+X
 xxs9DxqfWmrGB6vt7Er78zjfUETSMa+UrheVLwbRMhJcc0Bg8hT2DCn9Lw6IjfOy
 usWdrLTGc6qg1zdZzi8QR7jZ+bNx0h+aJLlm8M4cVitXq9v2wb3+6KdsOAeYioAE
 AsnClw0m8j/xtMh3g4/hB4oCxMj0jRdZ9GIGs8Didw5ZwkXTRvFM1GK1PHxqX4pF
 8xMW6Qq0bSUr4II6bPOukBUMUAnPYdkh+iHXsYSZG0I3u6VZLgMK3AXmKRukAYqe
 kQ1lcRe3Lwsp2h+jMBBsbCWhwYdA3THFO4YO31cUaZ191A7z57905QMbqJG/H3HB
 7IUBYBNbrhgysPsNBvY6Lr7yUJIocMgcfP36UHYcBPsDdZgjNCQZneJlkaRlQb8+
 CtUSF8D614EguzGsWaIn3uBSm9THKKLd1rSXCyTSgrXDI285mXlKmEWZvm236ew0
 OEmIz/Ach/R4268j76enYGa1aubsxnrphUfC3aePu0Wzd3QW4RxnCSq7wc4ARPw7
 WTL7J00P578h
 =aCeG
 -----END PGP SIGNATURE-----

Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-for-6.1-pull-request' into staging

Trivial patches pull request 20210503

# gpg: Signature made Mon 03 May 2021 09:34:56 BST
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier2/tags/trivial-branch-for-6.1-pull-request: (23 commits)
  hw/rx/rx-gdbsim: Do not accept invalid memory size
  docs: More precisely describe memory-backend-*::id's user
  scripts: fix generation update-binfmts templates
  docs/system: Document the removal of "compat" property for POWER CPUs
  mc146818rtc: put it into the 'misc' category
  Do not include exec/address-spaces.h if it's not really necessary
  Do not include cpu.h if it's not really necessary
  Do not include hw/boards.h if it's not really necessary
  Do not include sysemu/sysemu.h if it's not really necessary
  hw: Do not include qemu/log.h if it is not necessary
  hw: Do not include hw/irq.h if it is not necessary
  hw: Do not include hw/sysbus.h if it is not necessary
  hw: Remove superfluous includes of hw/hw.h
  ui: Fix memory leak in qemu_xkeymap_mapping_table()
  hw/usb: Constify VMStateDescription
  hw/display/qxl: Constify VMStateDescription
  hw/arm: Constify VMStateDescription
  vmstate: Constify some VMStateDescriptions
  Fix typo in CFI build documentation
  hw/pcmcia: Do not register PCMCIA type if not required
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Peter Maydell 2021-05-05 13:52:00 +01:00
commit d45a5270d0
371 changed files with 53 additions and 507 deletions

View File

@ -30,11 +30,9 @@
#include "sysemu/kvm_int.h" #include "sysemu/kvm_int.h"
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "sysemu/cpus.h" #include "sysemu/cpus.h"
#include "sysemu/sysemu.h"
#include "qemu/bswap.h" #include "qemu/bswap.h"
#include "exec/memory.h" #include "exec/memory.h"
#include "exec/ram_addr.h" #include "exec/ram_addr.h"
#include "exec/address-spaces.h"
#include "qemu/event_notifier.h" #include "qemu/event_notifier.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "trace.h" #include "trace.h"
@ -2269,7 +2267,7 @@ static int kvm_handle_internal_error(CPUState *cpu, struct kvm_run *run)
int i; int i;
for (i = 0; i < run->internal.ndata; ++i) { for (i = 0; i < run->internal.ndata; ++i) {
fprintf(stderr, "extra data[%d]: %"PRIx64"\n", fprintf(stderr, "extra data[%d]: 0x%016"PRIx64"\n",
i, (uint64_t)run->internal.data[i]); i, (uint64_t)run->internal.data[i]);
} }
} }

View File

@ -11,7 +11,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "cpu.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"
#ifndef CONFIG_USER_ONLY #ifndef CONFIG_USER_ONLY

View File

@ -11,7 +11,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "cpu.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
void tb_flush(CPUState *cpu) void tb_flush(CPUState *cpu)

View File

@ -18,7 +18,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "cpu.h"
#include "sysemu/cpus.h" #include "sysemu/cpus.h"
#include "sysemu/tcg.h" #include "sysemu/tcg.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"

View File

@ -20,7 +20,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu-common.h" #include "qemu-common.h"
#include "qemu/qemu-print.h" #include "qemu/qemu-print.h"
#include "cpu.h"
#include "hw/core/tcg-cpu-ops.h" #include "hw/core/tcg-cpu-ops.h"
#include "trace.h" #include "trace.h"
#include "disas/disas.h" #include "disas/disas.h"

View File

@ -19,11 +19,9 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "cpu.h"
#include "hw/core/tcg-cpu-ops.h" #include "hw/core/tcg-cpu-ops.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "exec/memory.h" #include "exec/memory.h"
#include "exec/address-spaces.h"
#include "exec/cpu_ldst.h" #include "exec/cpu_ldst.h"
#include "exec/cputlb.h" #include "exec/cputlb.h"
#include "exec/tb-hash.h" #include "exec/tb-hash.h"

View File

@ -43,7 +43,6 @@
* CPU's index into a TCG temp, since the first callback did it already. * CPU's index into a TCG temp, since the first callback did it already.
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "cpu.h"
#include "tcg/tcg.h" #include "tcg/tcg.h"
#include "tcg/tcg-op.h" #include "tcg/tcg-op.h"
#include "trace/mem.h" #include "trace/mem.h"

View File

@ -30,7 +30,6 @@
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/guest-random.h" #include "qemu/guest-random.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "hw/boards.h"
#include "tcg-accel-ops.h" #include "tcg-accel-ops.h"
#include "tcg-accel-ops-icount.h" #include "tcg-accel-ops-icount.h"

View File

@ -30,7 +30,6 @@
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/guest-random.h" #include "qemu/guest-random.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "hw/boards.h"
#include "tcg-accel-ops.h" #include "tcg-accel-ops.h"
#include "tcg-accel-ops-rr.h" #include "tcg-accel-ops-rr.h"

View File

@ -32,7 +32,6 @@
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/guest-random.h" #include "qemu/guest-random.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "hw/boards.h"
#include "tcg-accel-ops.h" #include "tcg-accel-ops.h"
#include "tcg-accel-ops-mttcg.h" #include "tcg-accel-ops-mttcg.h"

View File

@ -22,7 +22,6 @@
#include "qemu-common.h" #include "qemu-common.h"
#define NO_CPU_IO_DEFS #define NO_CPU_IO_DEFS
#include "cpu.h"
#include "trace.h" #include "trace.h"
#include "disas/disas.h" #include "disas/disas.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"

View File

@ -9,7 +9,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "cpu.h"
#include "tcg/tcg.h" #include "tcg/tcg.h"
#include "tcg/tcg-op.h" #include "tcg/tcg-op.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"

View File

@ -1,7 +1,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/core/cpu.h" #include "hw/core/cpu.h"
#include "sysemu/replay.h" #include "sysemu/replay.h"
#include "sysemu/sysemu.h"
bool enable_cpu_pm = false; bool enable_cpu_pm = false;

View File

@ -17,7 +17,6 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "cpu.h"
#include "hw/core/tcg-cpu-ops.h" #include "hw/core/tcg-cpu-ops.h"
#include "disas/disas.h" #include "disas/disas.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"

View File

@ -15,7 +15,6 @@
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "sysemu/hostmem.h" #include "sysemu/hostmem.h"
#include "sysemu/sysemu.h"
#include "qom/object_interfaces.h" #include "qom/object_interfaces.h"
#include "qom/object.h" #include "qom/object.h"

View File

@ -12,7 +12,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/hostmem.h" #include "sysemu/hostmem.h"
#include "sysemu/sysemu.h"
#include "qom/object_interfaces.h" #include "qom/object_interfaces.h"
#include "qemu/memfd.h" #include "qemu/memfd.h"
#include "qemu/module.h" #include "qemu/module.h"

View File

@ -12,7 +12,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/hostmem.h" #include "sysemu/hostmem.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/qapi-builtin-visit.h" #include "qapi/qapi-builtin-visit.h"

View File

@ -42,7 +42,6 @@
#include "qapi/qobject-output-visitor.h" #include "qapi/qobject-output-visitor.h"
#include "qapi/qapi-visit-block-core.h" #include "qapi/qapi-visit-block-core.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "sysemu/sysemu.h"
#include "qemu/notify.h" #include "qemu/notify.h"
#include "qemu/option.h" #include "qemu/option.h"
#include "qemu/coroutine.h" #include "qemu/coroutine.h"

View File

@ -18,7 +18,6 @@
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "sysemu/sysemu.h"
#include "sysemu/replay.h" #include "sysemu/replay.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/qapi-events-block.h" #include "qapi/qapi-events-block.h"

View File

@ -39,7 +39,6 @@
#include "qemu/option.h" #include "qemu/option.h"
#include "qemu/uri.h" #include "qemu/uri.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "sysemu/sysemu.h"
#include "sysemu/replay.h" #include "sysemu/replay.h"
#include "qapi/qapi-visit-block-core.h" #include "qapi/qapi-visit-block-core.h"
#include "qapi/qmp/qdict.h" #include "qapi/qmp/qdict.h"

View File

@ -32,7 +32,6 @@
#include "qemu/path.h" #include "qemu/path.h"
#include "qemu/help_option.h" #include "qemu/help_option.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "cpu.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "tcg/tcg.h" #include "tcg/tcg.h"
#include "qemu/timer.h" #include "qemu/timer.h"

View File

@ -28,7 +28,6 @@
#include "qemu/option.h" #include "qemu/option.h"
#include "chardev/char.h" #include "chardev/char.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "sysemu/sysemu.h"
#include "chardev-internal.h" #include "chardev-internal.h"
/* MUX driver for serial I/O splitting */ /* MUX driver for serial I/O splitting */

View File

@ -25,7 +25,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "sysemu/sysemu.h"
#include "qemu/config-file.h" #include "qemu/config-file.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/qemu-print.h" #include "qemu/qemu-print.h"

View File

@ -4,7 +4,6 @@
#include "elf.h" #include "elf.h"
#include "qemu/qemu-print.h" #include "qemu/qemu-print.h"
#include "cpu.h"
#include "disas/disas.h" #include "disas/disas.h"
#include "disas/capstone.h" #include "disas/capstone.h"

View File

@ -39,7 +39,7 @@ later).
Given the use of LTO, a version of AR that supports LLVM IR is required. Given the use of LTO, a version of AR that supports LLVM IR is required.
The easies way of doing this is by selecting the AR provided by LLVM:: The easies way of doing this is by selecting the AR provided by LLVM::
AR=llvm-ar-9 CC=clang-9 CXX=lang++-9 /path/to/configure --enable-cfi AR=llvm-ar-9 CC=clang-9 CXX=clang++-9 /path/to/configure --enable-cfi
CFI is enabled on every binary produced. CFI is enabled on every binary produced.
@ -131,7 +131,7 @@ lld with version 11+.
In other words, to compile with fuzzing and CFI, clang 11+ is required, and In other words, to compile with fuzzing and CFI, clang 11+ is required, and
lld needs to be used as a linker:: lld needs to be used as a linker::
AR=llvm-ar-11 CC=clang-11 CXX=lang++-11 /path/to/configure --enable-cfi \ AR=llvm-ar-11 CC=clang-11 CXX=clang++-11 /path/to/configure --enable-cfi \
-enable-fuzzing --extra-ldflags="-fuse-ld=lld" -enable-fuzzing --extra-ldflags="-fuse-ld=lld"
and then, compile the fuzzers as usual. and then, compile the fuzzers as usual.

View File

@ -285,6 +285,12 @@ The RISC-V no MMU cpus have been removed. The two CPUs: ``rv32imacu-nommu`` and
``rv64imacu-nommu`` can no longer be used. Instead the MMU status can be specified ``rv64imacu-nommu`` can no longer be used. Instead the MMU status can be specified
via the CPU ``mmu`` option when using the ``rv32`` or ``rv64`` CPUs. via the CPU ``mmu`` option when using the ``rv32`` or ``rv64`` CPUs.
``compat`` property of server class POWER CPUs (removed in 6.0)
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
The ``max-cpu-compat`` property of the ``pseries`` machine type should be used
instead.
System emulator machines System emulator machines
------------------------ ------------------------

View File

@ -15,7 +15,6 @@
#include "qemu-common.h" #include "qemu-common.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "elf.h" #include "elf.h"
#include "cpu.h"
#include "exec/hwaddr.h" #include "exec/hwaddr.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"

View File

@ -12,7 +12,6 @@
#include "qemu-common.h" #include "qemu-common.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "elf.h" #include "elf.h"
#include "cpu.h"
#include "exec/hwaddr.h" #include "exec/hwaddr.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"

View File

@ -37,7 +37,6 @@
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "chardev/char.h" #include "chardev/char.h"
#include "chardev/char-fe.h" #include "chardev/char-fe.h"
#include "sysemu/sysemu.h"
#include "exec/gdbstub.h" #include "exec/gdbstub.h"
#include "hw/cpu/cluster.h" #include "hw/cpu/cluster.h"
#include "hw/boards.h" #include "hw/boards.h"

View File

@ -1,5 +1,4 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/boards.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "hw/acpi/cpu.h" #include "hw/acpi/cpu.h"
#include "qapi/error.h" #include "qapi/error.h"

View File

@ -11,7 +11,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "exec/address-spaces.h"
#include "hw/acpi/acpi.h" #include "hw/acpi/acpi.h"
#include "hw/acpi/generic_event_device.h" #include "hw/acpi/generic_event_device.h"
#include "hw/irq.h" #include "hw/irq.h"

View File

@ -35,7 +35,6 @@
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "hw/acpi/acpi.h" #include "hw/acpi/acpi.h"
#include "hw/acpi/tco.h" #include "hw/acpi/tco.h"
#include "exec/address-spaces.h"
#include "hw/i386/ich9.h" #include "hw/i386/ich9.h"
#include "hw/mem/pc-dimm.h" #include "hw/mem/pc-dimm.h"

View File

@ -2,7 +2,6 @@
#include "hw/acpi/memory_hotplug.h" #include "hw/acpi/memory_hotplug.h"
#include "hw/acpi/pc-hotplug.h" #include "hw/acpi/pc-hotplug.h"
#include "hw/mem/pc-dimm.h" #include "hw/mem/pc-dimm.h"
#include "hw/boards.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "trace.h" #include "trace.h"

View File

@ -31,7 +31,6 @@
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "hw/pci/pci_bridge.h" #include "hw/pci/pci_bridge.h"
#include "hw/acpi/acpi.h" #include "hw/acpi/acpi.h"
#include "exec/address-spaces.h"
#include "hw/pci/pci_bus.h" #include "hw/pci/pci_bus.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "qapi/error.h" #include "qapi/error.h"

View File

@ -33,7 +33,6 @@
#include "sysemu/xen.h" #include "sysemu/xen.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/range.h" #include "qemu/range.h"
#include "exec/address-spaces.h"
#include "hw/acpi/pcihp.h" #include "hw/acpi/pcihp.h"
#include "hw/acpi/cpu_hotplug.h" #include "hw/acpi/cpu_hotplug.h"
#include "hw/acpi/cpu.h" #include "hw/acpi/cpu.h"

View File

@ -13,7 +13,6 @@
#include "hw/loader.h" #include "hw/loader.h"
#include "alpha_sys.h" #include "alpha_sys.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "sysemu/sysemu.h"
#include "hw/rtc/mc146818rtc.h" #include "hw/rtc/mc146818rtc.h"
#include "hw/ide/pci.h" #include "hw/ide/pci.h"
#include "hw/timer/i8254.h" #include "hw/timer/i8254.h"

View File

@ -11,10 +11,8 @@
#include "qemu/units.h" #include "qemu/units.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h" #include "cpu.h"
#include "hw/boards.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "alpha_sys.h" #include "alpha_sys.h"
#include "exec/address-spaces.h"
#include "qom/object.h" #include "qom/object.h"

View File

@ -142,6 +142,7 @@ config PXA2XX
select SD select SD
select SSI select SSI
select USB_OHCI select USB_OHCI
select PCMCIA
config GUMSTIX config GUMSTIX
bool bool

View File

@ -16,10 +16,8 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "exec/address-spaces.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "cpu.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/arm/allwinner-a10.h" #include "hw/arm/allwinner-a10.h"
#include "hw/misc/unimp.h" #include "hw/misc/unimp.h"

View File

@ -18,13 +18,11 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "exec/address-spaces.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/units.h" #include "qemu/units.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "cpu.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/char/serial.h" #include "hw/char/serial.h"
#include "hw/misc/unimp.h" #include "hw/misc/unimp.h"

View File

@ -10,7 +10,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/arm/armv7m.h" #include "hw/arm/armv7m.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/arm/boot.h" #include "hw/arm/boot.h"
#include "hw/loader.h" #include "hw/loader.h"
@ -19,7 +18,6 @@
#include "sysemu/reset.h" #include "sysemu/reset.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "exec/address-spaces.h"
#include "target/arm/idau.h" #include "target/arm/idau.h"
/* Bitbanded IO. Each word corresponds to a single bit. */ /* Bitbanded IO. Each word corresponds to a single bit. */

View File

@ -11,20 +11,15 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "exec/address-spaces.h"
#include "hw/arm/boot.h" #include "hw/arm/boot.h"
#include "hw/arm/aspeed.h" #include "hw/arm/aspeed.h"
#include "hw/arm/aspeed_soc.h" #include "hw/arm/aspeed_soc.h"
#include "hw/boards.h"
#include "hw/i2c/smbus_eeprom.h" #include "hw/i2c/smbus_eeprom.h"
#include "hw/misc/pca9552.h" #include "hw/misc/pca9552.h"
#include "hw/misc/tmp105.h" #include "hw/misc/tmp105.h"
#include "hw/misc/led.h" #include "hw/misc/led.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "qemu/log.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "sysemu/sysemu.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/units.h" #include "qemu/units.h"

View File

@ -9,12 +9,9 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "exec/address-spaces.h"
#include "hw/misc/unimp.h" #include "hw/misc/unimp.h"
#include "hw/arm/aspeed_soc.h" #include "hw/arm/aspeed_soc.h"
#include "hw/char/serial.h" #include "hw/char/serial.h"
#include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "hw/i2c/aspeed_i2c.h" #include "hw/i2c/aspeed_i2c.h"

View File

@ -12,12 +12,9 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "exec/address-spaces.h"
#include "hw/misc/unimp.h" #include "hw/misc/unimp.h"
#include "hw/arm/aspeed_soc.h" #include "hw/arm/aspeed_soc.h"
#include "hw/char/serial.h" #include "hw/char/serial.h"
#include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "hw/i2c/aspeed_i2c.h" #include "hw/i2c/aspeed_i2c.h"

View File

@ -12,7 +12,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "cpu.h"
#include "hw/arm/bcm2836.h" #include "hw/arm/bcm2836.h"
#include "hw/arm/raspi_platform.h" #include "hw/arm/raspi_platform.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View File

@ -25,7 +25,6 @@
#include "sysemu/device_tree.h" #include "sysemu/device_tree.h"
#include "qemu/config-file.h" #include "qemu/config-file.h"
#include "qemu/option.h" #include "qemu/option.h"
#include "exec/address-spaces.h"
#include "qemu/units.h" #include "qemu/units.h"
/* Kernel boot protocol is specified in the kernel docs /* Kernel boot protocol is specified in the kernel docs

View File

@ -16,11 +16,7 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "exec/address-spaces.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "sysemu/sysemu.h"
#include "hw/sysbus.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/arm/allwinner-a10.h" #include "hw/arm/allwinner-a10.h"

View File

@ -27,14 +27,11 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu-common.h" #include "qemu-common.h"
#include "qemu/datadir.h" #include "qemu/datadir.h"
#include "cpu.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "exec/address-spaces.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "hw/arm/digic.h" #include "hw/arm/digic.h"
#include "hw/block/flash.h" #include "hw/block/flash.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "sysemu/sysemu.h"
#include "sysemu/qtest.h" #include "sysemu/qtest.h"
#include "qemu/units.h" #include "qemu/units.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"

View File

@ -23,7 +23,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/log.h"
#include "cpu.h" #include "cpu.h"
#include "hw/cpu/a9mpcore.h" #include "hw/cpu/a9mpcore.h"
#include "hw/irq.h" #include "hw/irq.h"

View File

@ -25,8 +25,6 @@
#include "qemu/units.h" #include "qemu/units.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "cpu.h"
#include "sysemu/sysemu.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "net/net.h" #include "net/net.h"
#include "hw/arm/boot.h" #include "hw/arm/boot.h"

View File

@ -24,10 +24,8 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "hw/arm/fsl-imx25.h" #include "hw/arm/fsl-imx25.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "exec/address-spaces.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "chardev/char.h" #include "chardev/char.h"

View File

@ -21,7 +21,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "hw/arm/fsl-imx31.h" #include "hw/arm/fsl-imx31.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"

View File

@ -29,7 +29,6 @@
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "exec/address-spaces.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "hw/char/pl011.h" #include "hw/char/pl011.h"
#include "hw/ide/ahci.h" #include "hw/ide/ahci.h"
@ -170,7 +169,7 @@ struct HighbankRegsState {
uint32_t regs[NUM_REGS]; uint32_t regs[NUM_REGS];
}; };
static VMStateDescription vmstate_highbank_regs = { static const VMStateDescription vmstate_highbank_regs = {
.name = "highbank-regs", .name = "highbank-regs",
.version_id = 0, .version_id = 0,
.minimum_version_id = 0, .minimum_version_id = 0,

View File

@ -25,12 +25,10 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/arm/fsl-imx25.h" #include "hw/arm/fsl-imx25.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "exec/address-spaces.h"
#include "sysemu/qtest.h" #include "sysemu/qtest.h"
#include "hw/i2c/i2c.h" #include "hw/i2c/i2c.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"

View File

@ -15,7 +15,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "hw/arm/fsl-imx31.h" #include "hw/arm/fsl-imx31.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"

View File

@ -15,7 +15,6 @@
#include "hw/arm/fsl-imx6ul.h" #include "hw/arm/fsl-imx6ul.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "sysemu/sysemu.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "sysemu/qtest.h" #include "sysemu/qtest.h"

View File

@ -17,7 +17,6 @@
#include "hw/arm/fsl-imx7.h" #include "hw/arm/fsl-imx7.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "sysemu/sysemu.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "sysemu/qtest.h" #include "sysemu/qtest.h"

View File

@ -27,7 +27,6 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "hw/char/serial.h" #include "hw/char/serial.h"
#include "hw/irq.h"
#include "hw/arm/msf2-soc.h" #include "hw/arm/msf2-soc.h"
#include "hw/misc/unimp.h" #include "hw/misc/unimp.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"

View File

@ -31,7 +31,6 @@
#include "hw/arm/boot.h" #include "hw/arm/boot.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "hw/arm/msf2-soc.h" #include "hw/arm/msf2-soc.h"
#include "cpu.h"
#define DDR_BASE_ADDRESS 0xA0000000 #define DDR_BASE_ADDRESS 0xA0000000
#define DDR_SIZE (64 * MiB) #define DDR_SIZE (64 * MiB)

View File

@ -19,7 +19,6 @@
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/char/serial.h" #include "hw/char/serial.h"
#include "hw/hw.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "hw/ptimer.h" #include "hw/ptimer.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
@ -32,7 +31,6 @@
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
#include "exec/address-spaces.h"
#include "ui/pixel_ops.h" #include "ui/pixel_ops.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qom/object.h" #include "qom/object.h"

View File

@ -16,7 +16,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "exec/address-spaces.h"
#include "hw/arm/boot.h" #include "hw/arm/boot.h"
#include "hw/arm/npcm7xx.h" #include "hw/arm/npcm7xx.h"
#include "hw/char/serial.h" #include "hw/char/serial.h"

View File

@ -16,7 +16,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "exec/address-spaces.h"
#include "hw/arm/npcm7xx.h" #include "hw/arm/npcm7xx.h"
#include "hw/core/cpu.h" #include "hw/core/cpu.h"
#include "hw/i2c/smbus_eeprom.h" #include "hw/i2c/smbus_eeprom.h"
@ -27,7 +26,6 @@
#include "qemu-common.h" #include "qemu-common.h"
#include "qemu/datadir.h" #include "qemu/datadir.h"
#include "qemu/units.h" #include "qemu/units.h"
#include "sysemu/sysemu.h"
#define NPCM750_EVB_POWER_ON_STRAPS 0x00001ff7 #define NPCM750_EVB_POWER_ON_STRAPS 0x00001ff7
#define QUANTA_GSJ_POWER_ON_STRAPS 0x00001fff #define QUANTA_GSJ_POWER_ON_STRAPS 0x00001fff

View File

@ -13,9 +13,7 @@
#include "hw/arm/boot.h" #include "hw/arm/boot.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/misc/unimp.h" #include "hw/misc/unimp.h"
#include "exec/address-spaces.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "cpu.h"
#include "hw/arm/nrf51.h" #include "hw/arm/nrf51.h"
#include "hw/arm/nrf51_soc.h" #include "hw/arm/nrf51_soc.h"

View File

@ -43,7 +43,6 @@
#include "hw/loader.h" #include "hw/loader.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "exec/address-spaces.h"
/* Nokia N8x0 support */ /* Nokia N8x0 support */
struct n800_s { struct n800_s {

View File

@ -24,7 +24,6 @@
#include "qemu-common.h" #include "qemu-common.h"
#include "cpu.h" #include "cpu.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "hw/boards.h"
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"

View File

@ -27,7 +27,6 @@
#include "sysemu/qtest.h" #include "sysemu/qtest.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "hw/boards.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/arm/boot.h" #include "hw/arm/boot.h"

View File

@ -21,12 +21,9 @@
#include "qemu/units.h" #include "qemu/units.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "hw/sysbus.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/arm/allwinner-h3.h" #include "hw/arm/allwinner-h3.h"
#include "sysemu/sysemu.h"
static struct arm_boot_info orangepi_binfo = { static struct arm_boot_info orangepi_binfo = {
.nb_cpus = AW_H3_NUM_CPUS, .nb_cpus = AW_H3_NUM_CPUS,

View File

@ -29,7 +29,6 @@
#include "hw/input/tsc2xxx.h" #include "hw/input/tsc2xxx.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "exec/address-spaces.h"
#include "cpu.h" #include "cpu.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qom/object.h" #include "qom/object.h"

View File

@ -301,7 +301,7 @@ DeviceState *pxa2xx_pic_init(hwaddr base, ARMCPU *cpu)
return dev; return dev;
} }
static VMStateDescription vmstate_pxa2xx_pic_regs = { static const VMStateDescription vmstate_pxa2xx_pic_regs = {
.name = "pxa2xx_pic", .name = "pxa2xx_pic",
.version_id = 0, .version_id = 0,
.minimum_version_id = 0, .minimum_version_id = 0,

View File

@ -16,14 +16,12 @@
#include "qemu/units.h" #include "qemu/units.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "hw/arm/bcm2836.h" #include "hw/arm/bcm2836.h"
#include "hw/registerfields.h" #include "hw/registerfields.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "hw/arm/boot.h" #include "hw/arm/boot.h"
#include "sysemu/sysemu.h"
#include "qom/object.h" #include "qom/object.h"
#define SMPBOOT_ADDR 0x300 /* this should leave enough space for ATAGS */ #define SMPBOOT_ADDR 0x300 /* this should leave enough space for ATAGS */

View File

@ -20,7 +20,6 @@
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/i2c/i2c.h" #include "hw/i2c/i2c.h"
#include "exec/address-spaces.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "hw/char/pl011.h" #include "hw/char/pl011.h"
#include "hw/cpu/a9mpcore.h" #include "hw/cpu/a9mpcore.h"

View File

@ -15,7 +15,6 @@
#include "hw/arm/fsl-imx6.h" #include "hw/arm/fsl-imx6.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "sysemu/sysemu.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "sysemu/qtest.h" #include "sysemu/qtest.h"

View File

@ -27,7 +27,6 @@
#include "sysemu/numa.h" #include "sysemu/numa.h"
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "exec/address-spaces.h"
#include "exec/hwaddr.h" #include "exec/hwaddr.h"
#include "kvm_arm.h" #include "kvm_arm.h"
#include "hw/arm/boot.h" #include "hw/arm/boot.h"

View File

@ -17,7 +17,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "exec/address-spaces.h"
#include "trace.h" #include "trace.h"
#include "exec/target_page.h" #include "exec/target_page.h"
#include "hw/core/cpu.h" #include "hw/core/cpu.h"

View File

@ -23,7 +23,6 @@
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "exec/address-spaces.h"
#include "cpu.h" #include "cpu.h"
#include "trace.h" #include "trace.h"
#include "qemu/log.h" #include "qemu/log.h"

View File

@ -1134,7 +1134,7 @@ static bool is_version_0(void *opaque, int version_id)
return version_id == 0; return version_id == 0;
} }
static VMStateDescription vmstate_sl_nand_info = { static const VMStateDescription vmstate_sl_nand_info = {
.name = "sl-nand", .name = "sl-nand",
.version_id = 0, .version_id = 0,
.minimum_version_id = 0, .minimum_version_id = 0,
@ -1170,7 +1170,7 @@ static const TypeInfo sl_nand_info = {
.class_init = sl_nand_class_init, .class_init = sl_nand_class_init,
}; };
static VMStateDescription vmstate_spitz_kbd = { static const VMStateDescription vmstate_spitz_kbd = {
.name = "spitz-keyboard", .name = "spitz-keyboard",
.version_id = 1, .version_id = 1,
.minimum_version_id = 0, .minimum_version_id = 0,

View File

@ -27,7 +27,6 @@
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "hw/misc/unimp.h" #include "hw/misc/unimp.h"
#include "hw/qdev-clock.h" #include "hw/qdev-clock.h"
#include "cpu.h"
#include "qom/object.h" #include "qom/object.h"
#define GPIO_A 0 #define GPIO_A 0

View File

@ -30,7 +30,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu-common.h" #include "qemu-common.h"
#include "cpu.h" #include "cpu.h"
#include "hw/boards.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/qdev-properties-system.h" #include "hw/qdev-properties-system.h"
@ -207,7 +206,7 @@ static int strongarm_pic_post_load(void *opaque, int version_id)
return 0; return 0;
} }
static VMStateDescription vmstate_strongarm_pic_regs = { static const VMStateDescription vmstate_strongarm_pic_regs = {
.name = "strongarm_pic", .name = "strongarm_pic",
.version_id = 0, .version_id = 0,
.minimum_version_id = 0, .minimum_version_id = 0,

View File

@ -21,7 +21,6 @@
#include "hw/i2c/arm_sbcon_i2c.h" #include "hw/i2c/arm_sbcon_i2c.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "exec/address-spaces.h"
#include "hw/block/flash.h" #include "hw/block/flash.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "hw/char/pl011.h" #include "hw/char/pl011.h"

View File

@ -35,7 +35,6 @@
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "exec/address-spaces.h"
#include "hw/block/flash.h" #include "hw/block/flash.h"
#include "sysemu/device_tree.h" #include "sysemu/device_tree.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"

View File

@ -36,7 +36,6 @@
#include "monitor/qdev.h" #include "monitor/qdev.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/boards.h"
#include "hw/arm/boot.h" #include "hw/arm/boot.h"
#include "hw/arm/primecell.h" #include "hw/arm/primecell.h"
#include "hw/arm/virt.h" #include "hw/arm/virt.h"
@ -48,11 +47,9 @@
#include "sysemu/device_tree.h" #include "sysemu/device_tree.h"
#include "sysemu/numa.h" #include "sysemu/numa.h"
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "sysemu/sysemu.h"
#include "sysemu/tpm.h" #include "sysemu/tpm.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "exec/address-spaces.h"
#include "qemu/bitops.h" #include "qemu/bitops.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/module.h" #include "qemu/module.h"

View File

@ -22,7 +22,6 @@
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/arm/boot.h" #include "hw/arm/boot.h"
#include "net/net.h" #include "net/net.h"
#include "exec/address-spaces.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/block/flash.h" #include "hw/block/flash.h"

View File

@ -10,11 +10,9 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/log.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "sysemu/device_tree.h" #include "sysemu/device_tree.h"
#include "exec/address-spaces.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/arm/sysbus-fdt.h" #include "hw/arm/sysbus-fdt.h"

View File

@ -12,7 +12,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/units.h" #include "qemu/units.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "net/net.h" #include "net/net.h"

View File

@ -17,7 +17,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "hw/arm/xlnx-zynqmp.h" #include "hw/arm/xlnx-zynqmp.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"

View File

@ -18,11 +18,9 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "cpu.h"
#include "hw/arm/xlnx-zynqmp.h" #include "hw/arm/xlnx-zynqmp.h"
#include "hw/intc/arm_gic_common.h" #include "hw/intc/arm_gic_common.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "exec/address-spaces.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "kvm_arm.h" #include "kvm_arm.h"

View File

@ -162,7 +162,7 @@ static void zipit_lcd_realize(SSIPeripheral *dev, Error **errp)
z->pos = 0; z->pos = 0;
} }
static VMStateDescription vmstate_zipit_lcd_state = { static const VMStateDescription vmstate_zipit_lcd_state = {
.name = "zipit-lcd", .name = "zipit-lcd",
.version_id = 2, .version_id = 2,
.minimum_version_id = 2, .minimum_version_id = 2,
@ -268,7 +268,7 @@ static uint8_t aer915_recv(I2CSlave *slave)
return retval; return retval;
} }
static VMStateDescription vmstate_aer915_state = { static const VMStateDescription vmstate_aer915_state = {
.name = "aer915", .name = "aer915",
.version_id = 1, .version_id = 1,
.minimum_version_id = 1, .minimum_version_id = 1,

View File

@ -12,7 +12,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "hw/boards.h"
#include "atmega.h" #include "atmega.h"
#include "boot.h" #include "boot.h"
#include "qom/object.h" #include "qom/object.h"

View File

@ -18,7 +18,6 @@
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "qom/object.h" #include "qom/object.h"
#include "hw/boards.h" /* FIXME memory_region_allocate_system_memory for sram */
#include "hw/misc/unimp.h" #include "hw/misc/unimp.h"
#include "atmega.h" #include "atmega.h"

View File

@ -78,7 +78,7 @@ void ecc_reset(ECCState *s)
} }
/* Save/restore */ /* Save/restore */
VMStateDescription vmstate_ecc_state = { const VMStateDescription vmstate_ecc_state = {
.name = "ecc-state", .name = "ecc-state",
.version_id = 0, .version_id = 0,
.minimum_version_id = 0, .minimum_version_id = 0,

View File

@ -17,7 +17,6 @@
#include "hw/block/block.h" #include "hw/block/block.h"
#include "block/aio.h" #include "block/aio.h"
#include "block/accounting.h" #include "block/accounting.h"
#include "sysemu/sysemu.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "nvme.h" #include "nvme.h"
#include "nvme-subsys.h" #include "nvme-subsys.h"

View File

@ -23,7 +23,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "chardev/char.h" #include "chardev/char.h"
#include "exec/address-spaces.h"
#include "hw/char/mchp_pfsoc_mmuart.h" #include "hw/char/mchp_pfsoc_mmuart.h"
static uint64_t mchp_pfsoc_mmuart_read(void *opaque, hwaddr addr, unsigned size) static uint64_t mchp_pfsoc_mmuart_read(void *opaque, hwaddr addr, unsigned size)

View File

@ -23,7 +23,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "hw/sysbus.h"
#include "hw/char/riscv_htif.h" #include "hw/char/riscv_htif.h"
#include "hw/char/serial.h" #include "hw/char/serial.h"
#include "chardev/char.h" #include "chardev/char.h"

View File

@ -19,10 +19,8 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "hw/sysbus.h"
#include "chardev/char.h" #include "chardev/char.h"
#include "chardev/char-fe.h" #include "chardev/char-fe.h"
#include "hw/hw.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/char/sifive_uart.h" #include "hw/char/sifive_uart.h"

View File

@ -2,7 +2,6 @@
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "chardev/char-fe.h" #include "chardev/char-fe.h"
#include "hw/ppc/spapr.h" #include "hw/ppc/spapr.h"

View File

@ -28,7 +28,6 @@
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/queue.h" #include "qemu/queue.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/sysbus.h"
#include "trace.h" #include "trace.h"
#include "hw/virtio/virtio-serial.h" #include "hw/virtio/virtio-serial.h"
#include "hw/virtio/virtio-access.h" #include "hw/virtio/virtio-access.h"

View File

@ -32,7 +32,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/core/cpu.h" #include "hw/core/cpu.h"
#include "hw/sysbus.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"
#include "hw/boards.h" #include "hw/boards.h"

View File

@ -26,7 +26,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/core/cpu.h" #include "hw/core/cpu.h"
#include "hw/sysbus.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"

View File

@ -57,7 +57,6 @@
#include "hw/loader.h" #include "hw/loader.h"
#include "hw/nvram/fw_cfg.h" #include "hw/nvram/fw_cfg.h"
#include "exec/memory.h" #include "exec/memory.h"
#include "exec/address-spaces.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "sysemu/runstate.h" #include "sysemu/runstate.h"

View File

@ -8,7 +8,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "cpu.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/qapi-builtin-visit.h" #include "qapi/qapi-builtin-visit.h"
@ -22,7 +21,6 @@
#include "sysemu/hw_accel.h" #include "sysemu/hw_accel.h"
#include "sysemu/numa.h" #include "sysemu/numa.h"
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "sysemu/sysemu.h"
static void cpustate_to_cpuinfo_s390(CpuInfoS390 *info, const CPUState *cpu) static void cpustate_to_cpuinfo_s390(CpuInfoS390 *info, const CPUState *cpu)
{ {

Some files were not shown because too many files have changed in this diff Show More