>>> On 03.07.17 at 11:03, <prosku...@sec.in.tum.de> wrote: > To prevent potential type width issues with ARMv7, I would reuse the > macro from xen/iommu.h at this point: > > PAGE_MASK_GRAN(sz) (~(u64)0 << PAGE_SHIFT_##sz)
Seems reasonable, except - no new use of u64 please (use uint64_t instead) - it's questionable whether a 64-bit type here is correct in the first place, especially when considering 32-bit architectures Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel