[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] macros for blkif frame_and_sectors
This patch adds two macros for construction of the frame_and_sectors field in blkif messages, to eliminate the "magic shifts" in the blkif code. It also increases the number of bits representing the sector number within a page, from 3 to 5, to allow page sizes up to 16K (needed for IA64). Tested to still work on x86. Matt Signed-off-by: Matthew Chapman <matthewc@xxxxxx> Attachment:
blk1.diff _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |