- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Team,
we are facing an issue when reserved CSA for task are freed
uint32 pcxiaddr;
uint32 pcx;
uint32 Effectiveaddr;
/* Get the free CSA */
pcxiaddr = __mfcr(0xfe00);
/* get effective address */
Effectiveaddr = (((pcxiaddr) & 0x000F0000) << 12) | (((pcxiaddr) & 0x0000FFFF) << 6);
pcxiaddr = *(uint32*)Effectiveaddr;
/* get effective address */
Effectiveaddr = (((pcxiaddr) & 0x000F0000) << 12) | (((pcxiaddr) & 0x0000FFFF) << 6)
/* update FCX after reserving two CSAs */
__mfcr(0xfe38, *(uint32 *)Effectiveaddr);
with what CSA " *(uint32 *)Effectiveaddr " has to be updated with, since it contains the next CSA in FCX.
This is creating a problem because when the TASK is executed using the above two reserved CSAs, PCX is updating with address " *(uint32 *)Effectiveaddr "
Because of this there is no proper link established.
Can you please tell us how to do it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the IFX_SSW_INIT_CONTEXT implementation in the iLLD.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the IFX_SSW_INIT_CONTEXT implementation in the iLLD.
Thanks.