FreeCalypso > hg > fc-selenite
changeset 73:0f466af1eaf0
l1_trace.c: no memory copy checksum in the gcc-built version
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 20 Jul 2018 03:49:01 +0000 |
parents | 4484ab3f6ab3 |
children | d076885a0669 |
files | src/cs/layer1/cfile/l1_trace.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/layer1/cfile/l1_trace.c Fri Jul 20 03:35:25 2018 +0000 +++ b/src/cs/layer1/cfile/l1_trace.c Fri Jul 20 03:49:01 2018 +0000 @@ -198,8 +198,10 @@ //--------------------------------------------------- #if (( ((CHIPSET !=2 ) ) && ((LONG_JUMP != 0))) || (CHIPSET == 12) || (CHIPSET == 15)) +#ifndef __GNUC__ extern UWORD16 d_checksum1; extern UWORD16 d_checksum2; +#endif #endif //(( ((CHIPSET !=2 ) ) && ((LONG_JUMP != 0))) || (CHIPSET == 12)) // External variables for L1S CPU load peaks trace @@ -6128,12 +6130,14 @@ ((T_TST_TEST_HW_CON*)(msg->SigP))->dsp_checksum); #if ((((CHIPSET !=2 )) && ((LONG_JUMP != 0))) || (CHIPSET == 12) || (CHIPSET == 15)) + #ifndef __GNUC__ { sprintf(str2,"CHECKSUM before DWNL:%04x\n\r",d_checksum1); strcat(str,str2); sprintf(str2,"CHECKSUM after DWNL :%04x\n\r",d_checksum2); strcat(str,str2); } + #endif #endif //((((CHIPSET !=2 )) && ((LONG_JUMP != 0))) || (CHIPSET == 12)) #if (L1_DRP == 1) {