unicorn/qemu/include/hw
Peter Maydell 2070ef1c37
boards.h: Define new flag ignore_memory_transaction_failures
Define a new MachineClass field ignore_memory_transaction_failures.
If this is flag is true then the CPU will ignore memory transaction
failures which should cause the CPU to take an exception due to an
access to an unassigned physical address; the transaction will
instead return zero (for a read) or be ignored (for a write). This
should be set only by legacy board models which rely on the old
RAZ/WI behaviour for handling devices that QEMU does not yet model.
New board models should instead use "unimplemented-device" for all
memory ranges where the guest will attempt to probe for a device that
QEMU doesn't implement and a stub device is required.

We need this for ARM boards, where we're about to implement support for
generating external aborts on memory transaction failures. Too many
of our legacy board models rely on the RAZ/WI behaviour and we
would break currently working guests when their "probe for device"
code provoked an external abort rather than a RAZ.

Backports commit ed860129acd3fcd0b1e47884e810212aaca4d21b from qemu
2018-03-04 21:27:15 -05:00
..
arm Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
cpu import 2015-08-21 15:04:50 +08:00
i386 Clean up decorations and whitespace around header guards 2018-02-25 04:26:02 -05:00
m68k more cleanup in qemu/include/hw/ 2017-01-19 15:20:06 +08:00
mips more cleanup in qemu/include/hw/ 2017-01-19 15:20:06 +08:00
sparc cleanup Sparc unused code 2017-01-23 12:34:00 +08:00
xen include: Add stubbed xen function 2018-02-20 08:29:58 -05:00
boards.h boards.h: Define new flag ignore_memory_transaction_failures 2018-03-04 21:27:15 -05:00
hw.h hw: clean up hw/hw.h includes 2018-02-24 02:46:41 -05:00
qdev-core.h target-i386: Add x86_cpu_unrealizefn() 2018-02-25 20:54:13 -05:00
qdev.h import 2015-08-21 15:04:50 +08:00
registerfields.h armv7m: Fix reads of CONTROL register bit 1 2018-03-02 13:26:38 -05:00