k3               1656 tools/finsig_dryos.c     int k3;
k3               1658 tools/finsig_dryos.c     for (k3=k2-1;k3>k2-3;k3--)
k3               1660 tools/finsig_dryos.c         uint32_t v1 = fwval(fw, k3);
k3               4274 tools/finsig_dryos.c                         int k3;
k3               4275 tools/finsig_dryos.c                         for (k3=k; k3<k+8; k3++)
k3               4277 tools/finsig_dryos.c                             if (isCMP(fw,k3) && (fwRn(fw,k3) == r2))
k3               4279 tools/finsig_dryos.c                                 int val = ALUop2(fw,k3);
k3               4280 tools/finsig_dryos.c                                 bprintf("//#define CAM_DATE_FOLDER_NAMING 0x%03x // Found @0x%08x (pass as 3rd param to GetImageFolder)\n",val,idx2adr(fw,k3));
k3               4442 tools/finsig_dryos.c                     int k3 = adr2idx(fw, a);
k3               4443 tools/finsig_dryos.c                     if (isSTMFD_LR(fw,k3))
k3               4445 tools/finsig_dryos.c                         k3 = find_inst(fw, isBLX, k3+1, 6);
k3               4446 tools/finsig_dryos.c                         if (k3 != -1)
k3               4451 tools/finsig_dryos.c                                 if (isSTR_cond(fw,k3+k4))
k3               4453 tools/finsig_dryos.c                                     reg = fwRn(fw,k3+k4);
k3               4454 tools/finsig_dryos.c                                     o = fwval(fw,k3+k4) & 0xff; // offset, should be around 4
k3               4455 tools/finsig_dryos.c                                     where = idx2adr(fw,k3+k4);
k3               4457 tools/finsig_dryos.c                                 if (reg>=0 && isLDR_cond(fw,k3+k4) && fwRd(fw,k3+k4)==reg)
k3               4459 tools/finsig_dryos.c                                     adr = LDR2val(fw,k3+k4);
k3               4948 tools/finsig_dryos.c                                 int k3;
k3               4949 tools/finsig_dryos.c                                 for (k3=idx; (k3<idx+16) && !found; k3++)
k3               4951 tools/finsig_dryos.c                                     if (isBL(fw,k3))
k3               4953 tools/finsig_dryos.c                                         if (match_palette_buffer_offset(fw,k3))
k3               5715 tools/finsig_dryos.c         int k3, k4 = 0;
k3               5716 tools/finsig_dryos.c         for (k3=k; k3>k-30; k3--)
k3               5718 tools/finsig_dryos.c             if ((fwval(fw,k3) & 0x0F0FF000) == 0x020D3000)       // Dest = R3, Src = SP = skip
k3               5720 tools/finsig_dryos.c             if ((fwval(fw,k3) & 0xFF0FF000) == 0xE2033000)       // ADD/SUB R3,R3,x
k3               5722 tools/finsig_dryos.c                 k4 = k3;
k3               5723 tools/finsig_dryos.c                 if ((fwval(fw,k3) & 0x00F00000) == 0x00400000)   // SUB
k3               5724 tools/finsig_dryos.c                     ofst1 -= (fwval(fw,k3) & 0x00000FFF);
k3               5726 tools/finsig_dryos.c                     ofst1 += (fwval(fw,k3) & 0x00000FFF);
k3               5728 tools/finsig_dryos.c             if (isLDR_PC(fw,k3) && (fwRd(fw,k3) == 3))
k3               5730 tools/finsig_dryos.c                 int ofst2 = LDR2val(fw,k3);
k3               5734 tools/finsig_dryos.c                     bprintf("DEF(_nrflag,0x%04x) // Found @ %08x (0x%04x)\n",ofst2,idx2adr(fw,k3),ofst2);
k3               5735 tools/finsig_dryos.c                     bprintf("//static long *nrflag = (long*)(0x%04x);       // Found @ %08x\n",ofst2,idx2adr(fw,k3));
k3               5739 tools/finsig_dryos.c                     bprintf("DEF(_nrflag,0x%04x) // Found @ %08x (0x%04x) & %08x (-0x%02x)\n",ofst2+ofst1,idx2adr(fw,k3),ofst2,idx2adr(fw,k),-ofst1);
k3               5740 tools/finsig_dryos.c                     bprintf("//static long *nrflag = (long*)(0x%04x-0x%02x);  // Found @ %08x & %08x\n",ofst2,-ofst1,idx2adr(fw,k3),idx2adr(fw,k4));
k3               5744 tools/finsig_dryos.c                     bprintf("DEF(_nrflag,0x%04x) // Found @ %08x (0x%04x) & %08x (+0x%02x)\n",ofst2+ofst1,idx2adr(fw,k3),ofst2,idx2adr(fw,k),ofst1);
k3               5745 tools/finsig_dryos.c                     bprintf("//static long *nrflag = (long*)(0x%04x+0x%02x);  // Found @ %08x & %08x\n",ofst2,ofst1,idx2adr(fw,k3),idx2adr(fw,k4));
k3               5756 tools/finsig_dryos.c     int k1, k2, k3;
k3               5761 tools/finsig_dryos.c         k3 = idx+2;
k3               5762 tools/finsig_dryos.c         int ofst2 = LDR2val(fw, k3);
k3               5764 tools/finsig_dryos.c         for (k1=k3+1; k1<k3+8; k1++)
k3               5787 tools/finsig_dryos.c             bprintf("DEF(_nrflag,0x%04x) // Found @ %08x (0x%04x) & %08x (+0x%02x)\n",ofst2+ofst1,idx2adr(fw,k3),ofst2,idx2adr(fw,k2),ofst1);
k3               5788 tools/finsig_dryos.c             bprintf("//static long *nrflag = (long*)(0x%04x+0x%02x);  // Found @ %08x & %08x\n",ofst2,ofst1,idx2adr(fw,k3),idx2adr(fw,k2));
k3               7269 tools/finsig_dryos.c                         int k3 = k;
k3               7270 tools/finsig_dryos.c                         while (k3 > k-4)
k3               7272 tools/finsig_dryos.c                             if ( ((fwval(fw,k3) & 0xfff00ff0) == 0xe0800180) && // add rx, ry, rz, lsl #3
k3               7273 tools/finsig_dryos.c                                ((fwval(fw,k3) & 0x000f0000)>>16) == (fwRd(fw,k1)) ) // check register match
k3               7284 tools/finsig_dryos.c                             k3--;
k3               7412 tools/finsig_dryos.c                             int k3 = adr2idx(fw, LDR2val(fw,k2) - fw->data_start + fw->data_init_start);
k3               7413 tools/finsig_dryos.c                             if (idx_valid(fw,k3))
k3               7415 tools/finsig_dryos.c                                 while (fwval(fw,k3) != 0)
k3               7417 tools/finsig_dryos.c                                     add_func_name2(fw, fwval(fw,k3), fwval(fw,k3+1), "_FW");
k3               7418 tools/finsig_dryos.c                                     k3 += 2;
k3               3814 tools/finsig_vxworks.c                     int k3 = adr2idx(fw, a);
k3               3815 tools/finsig_vxworks.c                     if (isSTMFD_LR(fw,k3))
k3               3817 tools/finsig_vxworks.c                         k3 = find_inst(fw, isMOVLRPC, k3+1, 6);
k3               3818 tools/finsig_vxworks.c                         if (k3 != -1)
k3               3823 tools/finsig_vxworks.c                                 if (isSTR_cond(fw,k3+k4))
k3               3825 tools/finsig_vxworks.c                                     reg = fwRn(fw,k3+k4);
k3               3826 tools/finsig_vxworks.c                                     o = fwval(fw,k3+k4) & 0xff; // offset, should be around 4
k3               3827 tools/finsig_vxworks.c                                     where = idx2adr(fw,k3+k4);
k3               3829 tools/finsig_vxworks.c                                 if (reg>=0 && isLDR_cond(fw,k3+k4) && fwRd(fw,k3+k4)==reg)
k3               3831 tools/finsig_vxworks.c                                     adr = LDR2val(fw,k3+k4);
k3               4303 tools/finsig_vxworks.c                                 int k3;
k3               4304 tools/finsig_vxworks.c                                 for (k3=idx; (k3<idx+16) && !found; k3++)
k3               4306 tools/finsig_vxworks.c                                     if (isBL(fw,k3))
k3               4308 tools/finsig_vxworks.c                                         if (match_palette_buffer_offset(fw,k3))
k3               5099 tools/finsig_vxworks.c         int k3, k4 = 0;
k3               5100 tools/finsig_vxworks.c         for (k3=k; k3>k-30; k3--)
k3               5102 tools/finsig_vxworks.c             if ((fwval(fw,k3) & 0x0F0FF000) == 0x020D3000)       // Dest = R3, Src = SP = skip
k3               5104 tools/finsig_vxworks.c             if ((fwval(fw,k3) & 0xFF0FF000) == 0xE2033000)       // ADD/SUB R3,R3,x
k3               5106 tools/finsig_vxworks.c                 k4 = k3;
k3               5107 tools/finsig_vxworks.c                 if ((fwval(fw,k3) & 0x00F00000) == 0x00400000)   // SUB
k3               5108 tools/finsig_vxworks.c                     ofst1 -= (fwval(fw,k3) & 0x00000FFF);
k3               5110 tools/finsig_vxworks.c                     ofst1 += (fwval(fw,k3) & 0x00000FFF);
k3               5112 tools/finsig_vxworks.c             if (isLDR_PC(fw,k3) && (fwRd(fw,k3) == 3))
k3               5114 tools/finsig_vxworks.c                 int ofst2 = LDR2val(fw,k3);
k3               5120 tools/finsig_vxworks.c                     bprintf("DEF(_nrflag,0x%04x) // Found @ %08x (0x%04x)\n",ofst2,idx2adr(fw,k3),ofst2);
k3               5121 tools/finsig_vxworks.c                     bprintf("//static long *nrflag = (long*)(0x%04x);       // Found @ %08x\n",ofst2,idx2adr(fw,k3));
k3               5125 tools/finsig_vxworks.c                     bprintf("DEF(_nrflag,0x%04x) // Found @ %08x (0x%04x) & %08x (-0x%02x)\n",ofst2+ofst1,idx2adr(fw,k3),ofst2,idx2adr(fw,k),-ofst1);
k3               5126 tools/finsig_vxworks.c                     bprintf("//static long *nrflag = (long*)(0x%04x-0x%02x);  // Found @ %08x & %08x\n",ofst2,-ofst1,idx2adr(fw,k3),idx2adr(fw,k4));
k3               5130 tools/finsig_vxworks.c                     bprintf("DEF(_nrflag,0x%04x) // Found @ %08x (0x%04x) & %08x (+0x%02x)\n",ofst2+ofst1,idx2adr(fw,k3),ofst2,idx2adr(fw,k),ofst1);
k3               5131 tools/finsig_vxworks.c                     bprintf("//static long *nrflag = (long*)(0x%04x+0x%02x);  // Found @ %08x & %08x\n",ofst2,ofst1,idx2adr(fw,k3),idx2adr(fw,k4));
k3               5142 tools/finsig_vxworks.c     int k1, k2, k3;
k3               5147 tools/finsig_vxworks.c         k3 = idx+2;
k3               5148 tools/finsig_vxworks.c         int ofst2 = LDR2val(fw, k3);
k3               5150 tools/finsig_vxworks.c         for (k1=k3+1; k1<k3+8; k1++)
k3               5173 tools/finsig_vxworks.c             bprintf("DEF(_nrflag,0x%04x) // Found @ %08x (0x%04x) & %08x (+0x%02x)\n",ofst2+ofst1,idx2adr(fw,k3),ofst2,idx2adr(fw,k2),ofst1);
k3               5174 tools/finsig_vxworks.c             bprintf("//static long *nrflag = (long*)(0x%04x+0x%02x);  // Found @ %08x & %08x\n",ofst2,ofst1,idx2adr(fw,k3),idx2adr(fw,k2));
k3               5686 tools/finsig_vxworks.c                             int k3 = k;
k3               5688 tools/finsig_vxworks.c                             while (k3 > k-4)
k3               5690 tools/finsig_vxworks.c                                 if ((fwval(fw,k3) & 0xfff0fff0) == 0xe7901000) // ldr r1, [ry, rz]
k3               5694 tools/finsig_vxworks.c                                 if ((fwval(fw,k3) & 0xfff0fff0) == 0xe7900000) // ldr r0, [ry, rz]
k3               5698 tools/finsig_vxworks.c                                 k3--;