fix the logical offset to set the correct buffer for the slave tlb entries,
the pointers are defined with gctPHYS_ADDR and gctUINT32_PTR, not void*.
Date: May 03, 2017
Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
gcmkASSERT(stlbLogical);
- stlb->logical = stlbLogical + stlb->size * stlbCount;
- stlb->physical = stlbPhysical + stlb->size * stlbCount;
+ stlb->logical = (gctUINT32_PTR)(((gctPOINTER)stlbLogical) + stlb->size * stlbCount);
+ stlb->physical = (gctPHYS_ADDR)(((gctPOINTER)stlbPhysical) + stlb->size * stlbCount);
if (pre == gcvNULL)
{