author | Frank Livingston <frank-livingston@ti.com> | |
Wed, 18 Jan 2017 23:39:21 +0000 (17:39 -0600) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Wed, 18 Jan 2017 23:39:21 +0000 (17:39 -0600) |
1 | 2 | |||
---|---|---|---|---|
pasdk/test_dsp/framework/audioStreamInpProc.c | patch | | diff1 | | diff2 | | blob | history |
pasdk/test_dsp/sap/sap.c | patch | | diff1 | | diff2 | | blob | history |
Simple merge
diff --cc pasdk/test_dsp/sap/sap.c
index 0b68afa1a342ca1af495e46f5973ea356be0f93d,0e2bf79962fe9361975a1f7928344a37718ddcc7..f31f1c6043f6c3381bbf9388545c5d777f1d71bb
+++ b/pasdk/test_dsp/sap/sap.c
{
Cache_inv (pFrame->addr, pFrame->size, Cache_Type_ALL, 0);
Cache_wait();
- //note: size here is in # of bytes, so incrementing by 4X32b words ( or 8X16b)
- //for(i=0; i<(pFrame->size)/(4*4); i+=16)
- //{
- // Hwi_disable commented since it used to affect other interrupts
- // max HWI disable duration ~1ms observed
- //oldMask = Hwi_disable ();
- swapHdmi(pFrame->addr, pFrame->size);
- //Hwi_restore(oldMask);
-
- Cache_wb (pFrame->addr, pFrame->size, Cache_Type_ALL, 0);
- Cache_wait();
- //}
+
- //unsigned int key = Hwi_disable (); // GJ: Revisit, along with other context protections here.
- swapHdmi(pFrame->addr, pFrame->size);
- //Hwi_restore(key);
- //}
++ // max HWI disable duration ~1ms observed
++ //unsigned int key = Hwi_disable(); // GJ: Revisit, along with other context protections here.
++ swapHdmi(pFrame->addr, pFrame->size);
++ //Hwi_restore(key);
}
}
return;
}
-
++ // GJ: Revisit, along with other context protections here.
++ // GJ: Is this architecture ok?
// protect context
Task_disable (); // needed since we may call SEM_post
- oldMask = Hwi_disable ();
+ // Hwi_disable commented since it used to affect other interrupts
+ // max HWI disable duration ~4ms observed
+ //oldMask = Hwi_disable ();
+
//TRACE_VERBOSE((&TR_MOD, "%s.%d: devices loop, numDevices = %d", __FUNCTION__, __LINE__, dapDrv.numDevices));
for (i=0; i < sapDrv.numDevices; i++) {