gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:readMem from tkernel_2/monitor/cmdsvc/src/armv6/break.c (0.00 seconds)
tkernel_2
monitor/cmdsvc/src/armv6/break.c - 19.0KB - 560 lines
216:                 //check for read and and write access rights
217:                 if (readMem(addr, &code, sz, 2) != sz) return E_BPBAD;
218:                 if (writeMem(addr, &sbpCode.b[sz], sz, 2) != sz) return E_BPROM;
317: n = stepPt.sz; 318: readMem(stepPt.addr, &code, n, 2); 319: if (memcmp(&code, &sbpCode.b[n], n) == 0) {
347: } else { 348: readMem(p->addr, &code, n = p->sz, 2); 349: if (memcmp(&code, &sbpCode.b[n], n) == 0) {
380: // modify instruction (ARM instruction only) 381: readMem(stepPt.pc = pc, &stepPt.inst, 4, 2); 382: writeMem(pc, &inst, 4, 2);
390: stepPt.sz = (n &= 0x0F); 391: readMem(stepPt.addr, &stepPt.code, n, 2); 392: writeMem(stepPt.addr, &sbpCode.b[n], n, 2);
459: } else if (p->atr & BA_SET) { 460: readMem(p->addr, &p->code, p->sz, 2); 461: writeMem(p->addr, &sbpCode.b[p->sz], p->sz, 2);