diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-02-07 18:30:00 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-02-07 18:55:15 +0000 |
commit | f5095aa3805f8cf91c4df6e7e1dab0d914bc40bc (patch) | |
tree | df91fcc2a1ba0cf594a8cbafd59689623a0acc74 /hw/misc/Makefile.objs | |
parent | 394c8bbfb7aeaa788c2bc99ca972d359847a6459 (diff) |
hw/misc: New "unimplemented" sysbus device
Create a new "unimplemented" sysbus device, which simply accepts
all read and write accesses, and implements them as read-as-zero,
write-ignored, with logging of the access as LOG_UNIMP.
This is useful for stubbing out bits of an SoC or board model
which haven't been written yet.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1484247815-15279-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/misc/Makefile.objs')
-rw-r--r-- | hw/misc/Makefile.objs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/misc/Makefile.objs b/hw/misc/Makefile.objs index 1a89615a62..898e4ccfb1 100644 --- a/hw/misc/Makefile.objs +++ b/hw/misc/Makefile.objs @@ -6,6 +6,8 @@ common-obj-$(CONFIG_SGA) += sga.o common-obj-$(CONFIG_ISA_TESTDEV) += pc-testdev.o common-obj-$(CONFIG_PCI_TESTDEV) += pci-testdev.o +common-obj-y += unimp.o + obj-$(CONFIG_VMPORT) += vmport.o # ARM devices |