Re: [Xen-devel] [PATCH v4 06/27] x86: clean up PV emulation code

2017-06-23 Thread Andrew Cooper
On 08/06/17 18:11, Wei Liu wrote: > Replace bool_t with bool. Fix coding style issues. Add spaces around > binary ops. Use 1U for shifting. Eliminate TOGGLE_MODE. > > Signed-off-by: Wei Liu > Signed-off-by: Andrew Cooper Reviewed-by: Andrew Cooper , fwiw

[Xen-devel] [PATCH v4 06/27] x86: clean up PV emulation code

2017-06-08 Thread Wei Liu
Replace bool_t with bool. Fix coding style issues. Add spaces around binary ops. Use 1U for shifting. Eliminate TOGGLE_MODE. Signed-off-by: Wei Liu Signed-off-by: Andrew Cooper --- xen/arch/x86/pv/emul-gate-op.c | 5 ++- xen/arch/x86/pv/emul-priv-op.c | 82 ++---