tadr 7225 tools/finsig_dryos.c void print_kval(firmware *fw, uint32_t tadr, int tsiz, int tlen, uint32_t ev, const char *name, char *sfx) tadr 7227 tools/finsig_dryos.c int tidx = adr2idx(fw,tadr); tadr 7234 tools/finsig_dryos.c tadr = idx2adr(fw,tidx+k); tadr 7248 tools/finsig_dryos.c bprintf("//#define %-20s0x%08x // Found @0x%08x, levent 0x%x%s\n",fn,b,tadr,ev,i?" (non-inverted logic)":""); tadr 7253 tools/finsig_dryos.c void print_physw_raw_vals(firmware *fw, uint32_t tadr, int tsiz, int tlen) tadr 7255 tools/finsig_dryos.c int tidx = adr2idx(fw,tadr); tadr 7265 tools/finsig_dryos.c tadr = idx2adr(fw,tidx+k); tadr 7306 tools/finsig_dryos.c uint32_t add_kmval(firmware *fw, uint32_t tadr, int tsiz, int tlen, uint32_t ev, const char *name, uint32_t xtra) tadr 7308 tools/finsig_dryos.c int tidx = adr2idx(fw,tadr); tadr 7317 tools/finsig_dryos.c tadr = idx2adr(fw,tidx+k); tadr 7327 tools/finsig_dryos.c add_kinfo(r,b|xtra,name,tadr,ev,inv); tadr 7426 tools/finsig_dryos.c uint32_t tadr = search_saved_sig(fw, "GetSDProtect", match_GetSDProtect, 0, 1, 1); tadr 7427 tools/finsig_dryos.c if (tadr == 0) tadr 7440 tools/finsig_dryos.c tadr = LDR2val(fw,k2); tadr 7446 tools/finsig_dryos.c if (tadr != 0) tadr 7449 tools/finsig_dryos.c if (fw->buf[adr2idx(fw,tadr)+2] == 0) tsiz = 3; tadr 7452 tools/finsig_dryos.c for (k=0; k<(int)(tadr-fw->base)/4; k++) tadr 7457 tools/finsig_dryos.c if ((adr > tadr) && (adr < madr)) tadr 7463 tools/finsig_dryos.c uint32_t tlen = (madr - tadr) / 4; tadr 7466 tools/finsig_dryos.c k1 = adr2idx(fw,tadr); tadr 7480 tools/finsig_dryos.c print_physw_raw_vals(fw, tadr, tsiz, tlen); tadr 7486 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x30A,"SD_READONLY","_FLAG"); tadr 7487 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x302,"USB","_MASK"); tadr 7488 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x305,"BATTCOVER","_FLAG"); tadr 7489 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x304,"HOTSHOE","_FLAG"); tadr 7490 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x300,"ANALOG_AV","_FLAG"); tadr 7495 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x20A,"SD_READONLY","_FLAG"); tadr 7496 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x202,"USB","_MASK"); tadr 7497 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x205,"BATTCOVER","_FLAG"); tadr 7498 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x204,"HOTSHOE","_FLAG"); tadr 7499 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x200,"ANALOG_AV","_FLAG"); tadr 7503 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x90A,"SD_READONLY","_FLAG"); tadr 7504 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x902,"USB","_MASK"); tadr 7505 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x905,"BATTCOVER","_FLAG"); tadr 7506 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x904,"HOTSHOE","_FLAG"); tadr 7507 tools/finsig_dryos.c print_kval(fw,tadr,tsiz,tlen,0x900,"ANALOG_AV","_FLAG"); tadr 7510 tools/finsig_dryos.c uint32_t key_half = add_kmval(fw,tadr,tsiz,tlen,0,"KEY_SHOOT_HALF",0); tadr 7511 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL",key_half); tadr 7512 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL_ONLY",0); tadr 7516 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0); tadr 7517 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0); tadr 7518 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0); tadr 7519 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0); tadr 7520 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0); tadr 7521 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0); tadr 7522 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0); tadr 7523 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0xB,"KEY_MENU",0); tadr 7524 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0xC,"KEY_DISPLAY",0); tadr 7525 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0x12,"KEY_HELP",0); tadr 7526 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0x19,"KEY_ERASE",0); tadr 7527 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0); tadr 7531 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,2,"KEY_ZOOM_IN",0); tadr 7532 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_OUT",0); tadr 7533 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,4,"KEY_UP",0); tadr 7534 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,5,"KEY_DOWN",0); tadr 7535 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,6,"KEY_LEFT",0); tadr 7536 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,7,"KEY_RIGHT",0); tadr 7537 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,8,"KEY_SET",0); tadr 7538 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,9,"KEY_MENU",0); tadr 7539 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_DISPLAY",0); tadr 7543 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0); tadr 7544 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0); tadr 7545 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0); tadr 7546 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0); tadr 7547 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0); tadr 7548 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0); tadr 7549 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0); tadr 7550 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0xE,"KEY_MENU",0); tadr 7551 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0); tadr 7552 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0xD,"KEY_HELP",0); tadr 7557 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0); tadr 7558 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0); tadr 7559 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0); tadr 7560 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0); tadr 7561 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0); tadr 7562 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0); tadr 7563 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0); tadr 7564 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0x14,"KEY_MENU",0); tadr 7565 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0); tadr 7566 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0xD,"KEY_HELP",0); tadr 7571 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0x601,"KEY_PLAYBACK",0); tadr 7572 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0x600,"KEY_POWER",0); tadr 7573 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0x12,"KEY_VIDEO",0); tadr 7577 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0x101,"KEY_PLAYBACK",0); tadr 7578 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0x100,"KEY_POWER",0); tadr 7581 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0x19,"KEY_VIDEO",0); tadr 7585 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0x1A,"KEY_VIDEO",0); tadr 7586 tools/finsig_dryos.c add_kmval(fw,tadr,tsiz,tlen,0x14,"KEY_HELP",0); tadr 8110 tools/finsig_dryos.c void write_levent_table_dump(firmware *fw, uint32_t tadr) tadr 8115 tools/finsig_dryos.c if (!tadr) { tadr 8124 tools/finsig_dryos.c for(;;tadr += 12) { tadr 8125 tools/finsig_dryos.c val = *(uint32_t*)adr2ptr(fw, tadr); tadr 8126 tools/finsig_dryos.c if ((val == 0xffffffff) || (val == 0) || (*(uint32_t*)adr2ptr(fw, tadr+4) < lid)) { tadr 8129 tools/finsig_dryos.c lid = *(uint32_t*)adr2ptr(fw, tadr+4); tadr 8132 tools/finsig_dryos.c fprintf(f,"0x%08x 0x%04x 0x%08x %s\n",tadr,lid,*(uint32_t*)adr2ptr(fw, tadr+8),str); tadr 6608 tools/finsig_thumb2.c uint32_t find_physw_table_entry(firmware *fw, uint32_t tadr, int tcount, uint32_t ev) tadr 6611 tools/finsig_thumb2.c for(i=0; i<tcount; i++,tadr += 8) { tadr 6612 tools/finsig_thumb2.c if(fw_u32(fw,tadr+4) == ev) { tadr 6613 tools/finsig_thumb2.c return tadr; tadr 6619 tools/finsig_thumb2.c uint32_t find_physw_table_max(firmware *fw, uint32_t tadr, int max_count) tadr 6622 tools/finsig_thumb2.c for(i=0; i<max_count; i++,tadr += 8) { tadr 6624 tools/finsig_thumb2.c get_physw_table_entry(fw,tadr,&v); tadr 6632 tools/finsig_thumb2.c void write_physw_event_table_dump(firmware *fw, uint32_t tadr, int tcount) tadr 6643 tools/finsig_thumb2.c for(i=0; i<tcount; i++,tadr += 8) { tadr 6644 tools/finsig_thumb2.c get_physw_table_entry(fw,tadr,&v); tadr 6645 tools/finsig_thumb2.c fprintf(f,"0x%08x 0x%08x 0x%08x %-5d 0x%08x %d\n",tadr,v.raw_info,v.ev,v.reg,v.bit,v.no_invert); tadr 6649 tools/finsig_thumb2.c void print_kval(firmware *fw, uint32_t tadr, int tcount, uint32_t ev, const char *name, const char *sfx) tadr 6651 tools/finsig_thumb2.c uint32_t adr=find_physw_table_entry(fw,tadr,tcount,ev); tadr 6695 tools/finsig_thumb2.c uint32_t add_kmval(firmware *fw, uint32_t tadr, __attribute__ ((unused))int tsiz, int tlen, uint32_t ev, const char *name, uint32_t xtra) tadr 6697 tools/finsig_thumb2.c uint32_t adr=find_physw_table_entry(fw,tadr,tlen,ev); tadr 6779 tools/finsig_thumb2.c void do_km_vals(firmware *fw, uint32_t tadr,int tsiz,int tlen) tadr 6781 tools/finsig_thumb2.c uint32_t key_half = add_kmval(fw,tadr,tsiz,tlen,0,"KEY_SHOOT_HALF",0); tadr 6782 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL",key_half); tadr 6783 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL_ONLY",0); tadr 6785 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0x101,"KEY_PLAYBACK",0); tadr 6786 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0x100,"KEY_POWER",0); tadr 6791 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0); tadr 6792 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0); tadr 6793 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0); tadr 6794 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0); tadr 6795 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0); tadr 6796 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0); tadr 6797 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0); tadr 6798 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0xB,"KEY_MENU",0); tadr 6799 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0xC,"KEY_DISPLAY",0); tadr 6800 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0x12,"KEY_HELP",0); tadr 6801 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0x19,"KEY_ERASE",0); tadr 6802 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0); tadr 6807 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,2,"KEY_ZOOM_IN",0); tadr 6808 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_OUT",0); tadr 6809 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,4,"KEY_UP",0); tadr 6810 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,5,"KEY_DOWN",0); tadr 6811 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,6,"KEY_LEFT",0); tadr 6812 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,7,"KEY_RIGHT",0); tadr 6813 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,8,"KEY_SET",0); tadr 6814 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,9,"KEY_MENU",0); tadr 6815 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_DISPLAY",0); tadr 6819 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0); tadr 6820 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0); tadr 6821 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0); tadr 6822 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0); tadr 6823 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0); tadr 6824 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0); tadr 6825 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0); tadr 6826 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0xE,"KEY_MENU",0); tadr 6827 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0); tadr 6828 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0xD,"KEY_DISPLAY",0); tadr 6829 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0x103,"KEY_WIFI",0); tadr 6835 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0); tadr 6836 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0); tadr 6837 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0); tadr 6838 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0); tadr 6839 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0); tadr 6840 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0); tadr 6841 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0); tadr 6842 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0x14,"KEY_MENU",0); tadr 6843 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0); tadr 6844 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0xD,"KEY_DISPLAY",0); tadr 6845 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0x103,"KEY_WIFI",0); tadr 6851 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0); tadr 6852 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0); tadr 6853 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0); tadr 6854 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0); tadr 6855 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0); tadr 6856 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0); tadr 6857 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0); tadr 6858 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0x15,"KEY_MENU",0); tadr 6859 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0); tadr 6860 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0xB,"KEY_ERASE",0); // also framing assist etc tadr 6861 tools/finsig_thumb2.c add_kmval(fw,tadr,tsiz,tlen,0x103,"KEY_WIFI",0); tadr 5452 tools/finsig_vxworks.c void print_kval(firmware *fw, uint32_t tadr, int tsiz, int tlen, uint32_t ev, const char *name, char *sfx) tadr 5454 tools/finsig_vxworks.c int tidx = adr2idx(fw,tadr); tadr 5461 tools/finsig_vxworks.c tadr = idx2adr(fw,tidx+k); tadr 5474 tools/finsig_vxworks.c bprintf("//#define %-20s0x%08x // Found @0x%08x, levent 0x%x\n",fn,b,tadr,ev); tadr 5506 tools/finsig_vxworks.c uint32_t add_kmval(firmware *fw, uint32_t tadr, int tsiz, int tlen, uint32_t ev, const char *name, uint32_t xtra) tadr 5508 tools/finsig_vxworks.c int tidx = adr2idx(fw,tadr); tadr 5517 tools/finsig_vxworks.c tadr = idx2adr(fw,tidx+k); tadr 5527 tools/finsig_vxworks.c add_kinfo(r,b|xtra,name,tadr,ev,inv); tadr 5626 tools/finsig_vxworks.c uint32_t tadr = search_saved_sig(fw, "GetSDProtect", match_GetSDProtect, 0, 1, 1); tadr 5627 tools/finsig_vxworks.c if (tadr == 0) tadr 5640 tools/finsig_vxworks.c tadr = LDR2val(fw,k2); tadr 5646 tools/finsig_vxworks.c if (tadr != 0) tadr 5649 tools/finsig_vxworks.c if (fw->buf[adr2idx(fw,tadr)+2] == 0) tsiz = 3; tadr 5652 tools/finsig_vxworks.c for (k=0; k<(int)(tadr-fw->base)/4; k++) tadr 5657 tools/finsig_vxworks.c if ((adr > tadr) && (adr < madr)) tadr 5663 tools/finsig_vxworks.c uint32_t tlen = (madr - tadr) / 4; tadr 5666 tools/finsig_vxworks.c k1 = adr2idx(fw,tadr); tadr 5682 tools/finsig_vxworks.c print_kval(fw,tadr,tsiz,tlen,0x20A,"SD_READONLY","_FLAG"); tadr 5683 tools/finsig_vxworks.c print_kval(fw,tadr,tsiz,tlen,0x202,"USB","_MASK"); tadr 5687 tools/finsig_vxworks.c print_kval(fw,tadr,tsiz,tlen,0x90A,"SD_READONLY","_FLAG"); tadr 5688 tools/finsig_vxworks.c print_kval(fw,tadr,tsiz,tlen,0x902,"USB","_MASK"); tadr 5691 tools/finsig_vxworks.c uint32_t key_half = add_kmval(fw,tadr,tsiz,tlen,0,"KEY_SHOOT_HALF",0); tadr 5692 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL",key_half); tadr 5693 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL_ONLY",0); tadr 5694 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,2,"KEY_ZOOM_IN",0); tadr 5695 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_OUT",0); tadr 5696 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,4,"KEY_UP",0); tadr 5697 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,5,"KEY_DOWN",0); tadr 5698 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,6,"KEY_LEFT",0); tadr 5699 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,7,"KEY_RIGHT",0); tadr 5700 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,8,"KEY_SET",0); tadr 5701 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,9,"KEY_MENU",0); tadr 5702 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_DISPLAY",0); tadr 5705 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,0x601,"KEY_PLAYBACK",0); tadr 5706 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,0x600,"KEY_POWER",0); tadr 5707 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,0x12,"KEY_VIDEO",0); tadr 5711 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,0x101,"KEY_PLAYBACK",0); tadr 5712 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,0x100,"KEY_POWER",0); tadr 5715 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,0x19,"KEY_VIDEO",0); tadr 5719 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,0x1A,"KEY_VIDEO",0); tadr 5720 tools/finsig_vxworks.c add_kmval(fw,tadr,tsiz,tlen,0x14,"KEY_HELP",0); tadr 5983 tools/finsig_vxworks.c uint32_t tadr = LDR2val(fw,j1); tadr 5988 tools/finsig_vxworks.c if ((isalnum(s[0])&&isalnum(s[1])) && (idx_valid(fw,adr2idx(fw,tadr)))) tadr 5992 tools/finsig_vxworks.c add_func_name(nm, tadr, 0); tadr 6188 tools/finsig_vxworks.c void write_levent_table_dump(firmware *fw, uint32_t tadr) tadr 6193 tools/finsig_vxworks.c if (!tadr) { tadr 6202 tools/finsig_vxworks.c for(;;tadr += 12) { tadr 6203 tools/finsig_vxworks.c val = *(uint32_t*)adr2ptr(fw, tadr); tadr 6204 tools/finsig_vxworks.c if ((val == 0xffffffff) || (val == 0) || (*(uint32_t*)adr2ptr(fw, tadr+4) < lid)) { tadr 6207 tools/finsig_vxworks.c lid = *(uint32_t*)adr2ptr(fw, tadr+4); tadr 6210 tools/finsig_vxworks.c fprintf(f,"0x%08x 0x%04x 0x%08x %s\n",tadr,lid,*(uint32_t*)adr2ptr(fw, tadr+8),str);