Lines Matching refs:addr

1197  *      | Trace Profile Counter addr |  -> 4 bytes (PROF_COUNTER_ADDR_SIZE)
2040 * space to store the addr/line mapping. Since this is a debugging feature
2385 static int selfVerificationLoad(int addr, int size)
2392 int maskedAddr = addr & 0xFFFFFFFC;
2393 int alignment = addr & 0x3;
2397 if (heapSpacePtr->addr == maskedAddr) {
2398 addr = ((unsigned int) &(heapSpacePtr->data)) | alignment;
2405 data = *((u1*) addr);
2408 data = *((s1*) addr);
2411 data = *((u2*) addr);
2414 data = *((s2*) addr);
2417 data = *((u4*) addr);
2425 //ALOGD("*** HEAP LOAD: Addr: %#x Data: %#x Size: %d", addr, data, size);
2430 static s8 selfVerificationLoadDoubleword(int addr)
2436 int addr2 = addr+4;
2437 unsigned int data = *((unsigned int*) addr);
2442 if (heapSpacePtr->addr == addr) {
2444 } else if (heapSpacePtr->addr == addr2) {
2450 // addr, data, data2);
2456 * This gets logged as an addr/data pair in heapSpace instead of modifying
2460 static void selfVerificationStore(int addr, int data, int size)
2466 int maskedAddr = addr & 0xFFFFFFFC;
2467 int alignment = addr & 0x3;
2469 //ALOGD("*** HEAP STORE: Addr: %#x Data: %#x Size: %d", addr, data, size);
2473 if (heapSpacePtr->addr == maskedAddr) break;
2477 heapSpacePtr->addr = maskedAddr;
2482 addr = ((unsigned int) &(heapSpacePtr->data)) | alignment;
2485 *((u1*) addr) = data;
2488 *((s1*) addr) = data;
2491 *((u2*) addr) = data;
2494 *((s2*) addr) = data;
2497 *((u4*) addr) = data;
2506 static void selfVerificationStoreDoubleword(int addr, s8 double_data)
2512 int addr2 = addr+4;
2518 // addr, data, data2);
2522 if (heapSpacePtr->addr == addr) {
2525 } else if (heapSpacePtr->addr == addr2) {
2532 shadowSpace->heapSpaceTail->addr = addr;
2537 shadowSpace->heapSpaceTail->addr = addr2;
2618 int addr, offset, data;
2698 addr = selfVerificationMemRegLoad(sp, rn);
2761 selfVerificationStore(addr, data, kSVWord);
2762 addr += 4;
2766 if (wBack) selfVerificationMemRegStore(sp, addr, rn);
2769 selfVerificationStoreDoubleword(addr+offset, double_data);
2772 selfVerificationStore(addr+offset, data, size);
2781 data = selfVerificationLoad(addr, kSVWord);
2783 addr += 4;
2787 if (wBack) selfVerificationMemRegStore(sp, addr, rn);
2789 double_data = selfVerificationLoadDoubleword(addr+offset);
2792 data = selfVerificationLoad(addr+offset, size);
2864 addr = selfVerificationMemRegLoad(sp, 4);
2866 addr = selfVerificationMemRegLoad(sp, rd);
2868 addr = selfVerificationMemRegLoad(sp, rn);
2910 selfVerificationStore(addr, data, kSVWord);
2911 addr += 4;
2915 selfVerificationMemRegStore(sp, addr, rd);
2918 selfVerificationStore(addr+offset, data, size);
2928 data = selfVerificationLoad(addr, kSVWord);
2930 addr += 4;
2934 if (wBack) selfVerificationMemRegStore(sp, addr, rd);
2936 data = selfVerificationLoad(addr+offset, size);