On 8/7/19 1:29 AM, [email protected] wrote: > Convert memory_region_dispatch_{read|write} operand "unsigned size" > into a "MemOp op". > > Signed-off-by: Tony Nguyen <[email protected]> > --- > include/exec/memop.h | 18 +++++++++++++----- > include/exec/memory.h | 9 +++++---- > memory.c | 7 +++++-- > 3 files changed, 23 insertions(+), 11 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> > +/* MemOp to size in bytes. */ > +static inline unsigned memop_size(MemOp op) > +{ > + return 1 << ((op) & MO_SIZE); > +} s/(op)/op/ This is no longer a macro requiring such things. r~ _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
