This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Cache_inv in SYS/BIOS

Other Parts Discussed in Thread: SYSBIOS

Hello,

The declaration of BCACHE_inv in bcache.h reads "extern Void BCACHE_inv(Ptr blockPtr, size_t byteCnt, Bool wait);"

The declaration of Cache_inv in Cache.h reads "__extern xdc_Void ti_sysbios_hal_Cache_inv__E( xdc_Ptr blockPtr, xdc_SizeT byteCnt, xdc_Bits16 type, xdc_Bool wait );"

The number of arguments in the former is 3 where in the latter it is 4.  I went through SYS/BIOS User's guide (section 7.4.1).  Here, the number of arguments for Cache_inv is 3 -> Cache_inv(blockPtr, byteCnt, wait); 

Why is there a mismatch between the Users guide and the header file?

What is the significance of "xdc_Bits16 type"?

Thanks.

Divya