preparation for removal of PA_ALLOC in portalmem
use PA_DMA_ADDRESSES to get numEntries