summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0107d1b)
raw | patch | inline | side by side (parent: 0107d1b)
author | Frank Livingston <frank-livingston@ti.com> | |
Fri, 27 Jan 2017 23:26:46 +0000 (17:26 -0600) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Fri, 27 Jan 2017 23:27:43 +0000 (17:27 -0600) |
pasdk/test_dsp/mib/mib.c | patch | blob | history |
index 43327b34661badfbe9151895e6ede5ccd29617e3..7d45ac306c960a4c0be5d2a0a6a8f65a388f55d1 100644 (file)
--- a/pasdk/test_dsp/mib/mib.c
+++ b/pasdk/test_dsp/mib/mib.c
typedef xdc_Char SmInt;
typedef xdc_UChar SmUns;
-#define SW_BREAKPOINT asm( " SWBP 0" );
extern const ti_sysbios_heaps_HeapMem_Handle heapMemDdr3;
#define HEAPMALLOC (IHeap_Handle)heapMemDdr3
@@ -1117,10 +1116,8 @@ Int DIB_issueChild (DEV2_Handle device, PAF_InpBufConfig *pBufConfig, int size,
// the buffer is a multiple of 8 and so, by using this single statement, we
// ensure all requests are a mulitple 8 even if they need to be split across
// the buffer wrap point.
-
- /* GJ: The below is dMAX specific & unnecessary now w/ EDMA*/
- //if (pBufConfig->stride == 8)
- //size = (size + 7) & ~0x7;
+ if (pBufConfig->stride == 8)
+ size = (size + 7) & ~0x7;
// convert to bytes
size *= pBufConfig->sizeofElement;