comparison rvinterf/lowlevel/tfc139.c @ 361:62f850da5d49

tfc139: log timestamp buglet
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 15 May 2014 11:44:36 +0000
parents f9d78057d766
children a9bf3e92a30c
comparison
equal deleted inserted replaced
360:f9d78057d766 361:62f850da5d49
111 exit(1); 111 exit(1);
112 } 112 }
113 setlinebuf(logF); 113 setlinebuf(logF);
114 fprintf(logF, "*** Log of TFC139 break-in session ***\n"); 114 fprintf(logF, "*** Log of TFC139 break-in session ***\n");
115 } 115 }
116 time(&logtime);
116 output_line("Sending IRAM payload"); 117 output_line("Sending IRAM payload");
117 send_compal_memwrite(iram_load_addr, iram_payload, sizeof iram_payload); 118 send_compal_memwrite(iram_load_addr, iram_payload, sizeof iram_payload);
118 stack_smash_payload[0] = iram_load_addr; 119 stack_smash_payload[0] = iram_load_addr;
119 stack_smash_payload[1] = iram_load_addr >> 8; 120 stack_smash_payload[1] = iram_load_addr >> 8;
120 stack_smash_payload[2] = iram_load_addr >> 16; 121 stack_smash_payload[2] = iram_load_addr >> 16;