modify function msg_queue_ul_setup in msg_transfer_queue.c
This commit is contained in:
parent
443ef23fef
commit
392ff31a23
@ -166,7 +166,7 @@ static inline void msg_queue_ul_setup(uint32_t instId, uint32_t qNo, uint8_t* bu
|
|||||||
chCommon->bufBase = (uint32_t)phy_addr;
|
chCommon->bufBase = (uint32_t)phy_addr;
|
||||||
chCommon->bufSize = bufSize;
|
chCommon->bufSize = bufSize;
|
||||||
|
|
||||||
osp_virt_to_phy(ECS_SM, (uint64_t)ch->bufIdxBase, (uint64_t *)&phy_addr);
|
osp_virt_to_phy(PET_SM, (uint64_t)ch->bufIdxBase, (uint64_t *)&phy_addr);
|
||||||
chCommon->bufIdxBase = (uint32_t)phy_addr;
|
chCommon->bufIdxBase = (uint32_t)phy_addr;
|
||||||
|
|
||||||
uint8_t *m = bufBase;
|
uint8_t *m = bufBase;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user