On Tue, Mar 06, 2012 at 11:04:12PM +0530, Ashish Chavan wrote: > place to put this. BTW do you have any recommendation in terms of a good > way to achieve this. e.g. will it be useful and generic enough if we > introduce two more fields like read/write_flag_mask to indicate shifting > and use those fields before applying read/write_flag_masks? That sounds like a sensible approach.