IMR_ALIGN
#define IMR_MASK (IMR_ALIGN - 1)
return size - IMR_ALIGN;
base += size - IMR_ALIGN;
base -= size + IMR_ALIGN * 2;
ret = imr_add_range(0, IMR_ALIGN, IMR_READ_ACCESS_ALL,
ret = imr_add_range(0, IMR_ALIGN, IMR_CPU, IMR_CPU);
ret = imr_remove_range(0, IMR_ALIGN);
size = IMR_ALIGN * 2;