Home
last modified time | relevance | path

Searched refs:swPrsPatch (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_prs.c123 static uint8_t swPrsPatch[] = SW_PRS_UDP_LITE_PATCH; variable
125 static uint8_t swPrsPatch[] = SW_PRS_OFFLOAD_PATCH; variable
137 ASSERT_COND(sizeof(swPrsPatch) <= (FM_PCD_PRS_SW_PATCHES_SIZE-FM_PCD_PRS_SW_TAIL_SIZE)); in PrsInit()
143 p_TmpCode = (uint32_t *)XX_MallocSmart(ROUND_UP(sizeof(swPrsPatch),4), 0, sizeof(uint32_t)); in PrsInit()
146 memset((uint8_t *)p_TmpCode, 0, ROUND_UP(sizeof(swPrsPatch),4)); in PrsInit()
147 memcpy((uint8_t *)p_TmpCode, (uint8_t *)swPrsPatch, sizeof(swPrsPatch)); in PrsInit()
164 for (i=0; i<DIV_CEIL(sizeof(swPrsPatch), 4); i++) in PrsInit()