Re: [Qemu-devel] [PATCH 1/8] memory.h: Move MemTxResult type to memattrs.h

2017-08-04 Thread Richard Henderson
On 08/04/2017 10:20 AM, Peter Maydell wrote: > 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 >

[Qemu-devel] [PATCH 1/8] memory.h: Move MemTxResult type to memattrs.h

2017-08-04 Thread Peter Maydell
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