/*allocating buffer and assigning it to FVID_Frame structure*/
static Int _allocAssignBuffer(_VPORT_ChanObj *chan, FVID_Frame *newFrame)
{
/* allocate frame buffer */
if (PAL_SOK == PAL_osMemAlloc(chan->segId,
chan->bufSz,
chan->alignment,
(Ptr *)&curAddr))
{
/* field 1 */
newFrame->frame.iFrm.y1 = curAddr;
PAL_osCacheFlushAndInvalidate(PAL_osCache_NOT_DEFINED,
(Uint32)newFrame->frame.iFrm.y1,
chan->bufSz);
..........
} 红蓝处均打断点, 断点断在红色处后,继续往下走,蓝色断不住,程序飞掉,无解,求解~~~~~
|