]> git.proxmox.com Git - mirror_qemu.git/commit
memory.h: Move MemTxResult type to memattrs.h
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Sep 2017 14:21:54 +0000 (15:21 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Sep 2017 14:21:54 +0000 (15:21 +0100)
commit3114d092b1740f9db9aa559aeb48ee387011e1da
tree9410c5312e49524fb008657399d4c078f5b67d58
parent429789cc772514971e3d1190d1553f514054dd5c
memory.h: Move MemTxResult type to memattrs.h

Move the MemTxResult type to memattrs.h. We're going to want to
use it in cpu/qom.h, which doesn't want to include all of
memory.h. In practice MemTxResult and MemTxAttrs are pretty
closely linked since both are used for the new-style
read_with_attrs and write_with_attrs callbacks, so memattrs.h
is a reasonable home for this rather than creating a whole
new header file for it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
include/exec/memattrs.h
include/exec/memory.h