Changeset 957
- Timestamp:
- 10/17/10 05:42:36 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 121 edited
-
buildconf.inc (modified) (1 diff)
-
core/Makefile (modified) (1 diff)
-
core/kbd.c (modified) (3 diffs)
-
core/luascript.c (modified) (3 diffs)
-
core/main.c (modified) (1 diff)
-
core/ptp.c (added)
-
core/ptp.h (added)
-
include/camera.h (modified) (5 diffs)
-
include/lolevel.h (modified) (1 diff)
-
include/platform.h (modified) (2 diffs)
-
include/script.h (modified) (1 diff)
-
lib/armutil/reboot.c (modified) (2 diffs)
-
makefile.inc (modified) (1 diff)
-
platform/a2000/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/a450/sub/100d/stubs_entry.S (modified) (1 diff)
-
platform/a460/sub/100d/stubs_entry.S (modified) (1 diff)
-
platform/a470/sub/100e/stubs_entry.S (modified) (2 diffs)
-
platform/a470/sub/101b/stubs_entry.S (modified) (2 diffs)
-
platform/a470/sub/102c/stubs_entry.S (modified) (2 diffs)
-
platform/a480/sub/100b/stubs_entry.S (modified) (2 diffs)
-
platform/a530/sub/100a/stubs_entry.S (modified) (1 diff)
-
platform/a540/sub/100b/stubs_entry.S (modified) (1 diff)
-
platform/a550/sub/100c/stubs_entry.S (modified) (1 diff)
-
platform/a560/sub/100a/stubs_entry.S (modified) (1 diff)
-
platform/a570/sub/100e/stubs_entry.S (modified) (1 diff)
-
platform/a570/sub/101a/stubs_entry.S (modified) (1 diff)
-
platform/a590/sub/100e/stubs_entry.S (modified) (2 diffs)
-
platform/a590/sub/101b/stubs_entry.S (modified) (2 diffs)
-
platform/a610/sub/100e/stubs_entry.S (modified) (1 diff)
-
platform/a610/sub/100f/stubs_entry.S (modified) (1 diff)
-
platform/a620/sub/100f/stubs_entry.S (modified) (1 diff)
-
platform/a630/sub/100c/stubs_entry.S (modified) (1 diff)
-
platform/a640/sub/100b/stubs_entry.S (modified) (1 diff)
-
platform/a650/sub/100d/stubs_entry.S (modified) (2 diffs)
-
platform/a700/sub/100b/stubs_entry.S (modified) (1 diff)
-
platform/a710/sub/100a/stubs_entry.S (modified) (1 diff)
-
platform/a720/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/d10/sub/100a/stubs_entry.S (modified) (2 diffs)
-
platform/g11/sub/100f/stubs_entry.S (modified) (2 diffs)
-
platform/g11/sub/100j/stubs_entry.S (modified) (2 diffs)
-
platform/g11/sub/100l/stubs_entry.S (modified) (2 diffs)
-
platform/g7/sub/100e/stubs_entry.S (modified) (1 diff)
-
platform/g7/sub/100g/stubs_entry.S (modified) (1 diff)
-
platform/g7/sub/100i/stubs_entry.S (modified) (1 diff)
-
platform/g7/sub/100j/stubs_entry.S (modified) (1 diff)
-
platform/g9/sub/100d/stubs_entry.S (modified) (2 diffs)
-
platform/g9/sub/100g/stubs_entry.S (modified) (2 diffs)
-
platform/g9/sub/100i/stubs_entry.S (modified) (2 diffs)
-
platform/generic/wrappers.c (modified) (1 diff)
-
platform/ixus100_sd780/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/ixus40_sd300/sub/100j/stubs_entry.S (modified) (1 diff)
-
platform/ixus40_sd300/sub/100k/stubs_entry.S (modified) (1 diff)
-
platform/ixus50_sd400/sub/101a/stubs_entry.S (modified) (1 diff)
-
platform/ixus50_sd400/sub/101b/stubs_entry.S (modified) (1 diff)
-
platform/ixus55_sd450/sub/100b/stubs_entry.S (modified) (1 diff)
-
platform/ixus55_sd450/sub/100c/stubs_entry.S (modified) (1 diff)
-
platform/ixus55_sd450/sub/100d/stubs_entry.S (modified) (1 diff)
-
platform/ixus60_sd600/sub/100a/stubs_entry.S (modified) (1 diff)
-
platform/ixus60_sd600/sub/100d/stubs_entry.S (modified) (1 diff)
-
platform/ixus65_sd630/sub/100a/stubs_entry.S (modified) (1 diff)
-
platform/ixus700_sd500/sub/101a/stubs_entry.S (modified) (1 diff)
-
platform/ixus700_sd500/sub/101b/stubs_entry.S (modified) (1 diff)
-
platform/ixus70_sd1000/sub/100c/stubs_entry.S (modified) (1 diff)
-
platform/ixus70_sd1000/sub/101b/stubs_entry.S (modified) (1 diff)
-
platform/ixus70_sd1000/sub/102a/stubs_entry.S (modified) (1 diff)
-
platform/ixus750_sd550/sub/100f/stubs_entry.S (modified) (1 diff)
-
platform/ixus750_sd550/sub/100g/stubs_entry.S (modified) (1 diff)
-
platform/ixus75_sd750/sub/100b/stubs_entry.S (modified) (1 diff)
-
platform/ixus75_sd750/sub/101a/stubs_entry.S (modified) (1 diff)
-
platform/ixus75_sd750/sub/102a/stubs_entry.S (modified) (1 diff)
-
platform/ixus800_sd700/sub/100b/stubs_entry.S (modified) (1 diff)
-
platform/ixus800_sd700/sub/101b/stubs_entry.S (modified) (1 diff)
-
platform/ixus80_sd1100/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/ixus80_sd1100/sub/101a/stubs_entry.S (modified) (2 diffs)
-
platform/ixus850_sd800/sub/100e/stubs_entry.S (modified) (1 diff)
-
platform/ixus85_sd770/sub/100a/stubs_entry.S (modified) (2 diffs)
-
platform/ixus860_sd870/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/ixus870_sd880/lib.c (modified) (1 diff)
-
platform/ixus870_sd880/sub/100e/stubs_entry.S (modified) (2 diffs)
-
platform/ixus870_sd880/sub/100e/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus870_sd880/sub/101a/stubs_entry.S (modified) (2 diffs)
-
platform/ixus870_sd880/sub/101a/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus870_sd880/sub/102b/stubs_entry.S (modified) (2 diffs)
-
platform/ixus870_sd880/sub/102b/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus90_sd790/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/ixus90_sd790/sub/100d/stubs_entry.S (modified) (2 diffs)
-
platform/ixus950_sd850/sub/100c/stubs_entry.S (modified) (1 diff)
-
platform/ixus960_sd950/sub/100d/stubs_entry.S (modified) (2 diffs)
-
platform/ixus970_sd890/sub/100b/stubs_entry.S (modified) (2 diffs)
-
platform/ixus970_sd890/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/ixus970_sd890/sub/100f/stubs_entry.S (modified) (2 diffs)
-
platform/ixus980_sd990/sub/100e/stubs_entry.S (modified) (2 diffs)
-
platform/ixus980_sd990/sub/101b/stubs_entry.S (modified) (2 diffs)
-
platform/ixusizoom_sd30/sub/100g/stubs_entry.S (modified) (1 diff)
-
platform/s2is/sub/100e/stubs_entry.S (modified) (1 diff)
-
platform/s2is/sub/100f/stubs_entry.S (modified) (1 diff)
-
platform/s2is/sub/100g/stubs_entry.S (modified) (1 diff)
-
platform/s3is/sub/100a/stubs_entry.S (modified) (1 diff)
-
platform/s5is/sub/101a/stubs_entry.S (modified) (2 diffs)
-
platform/s5is/sub/101b/stubs_entry.S (modified) (2 diffs)
-
platform/s90/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/s90/sub/101a/stubs_entry.S (modified) (2 diffs)
-
platform/s90/sub/101c/stubs_entry.S (modified) (2 diffs)
-
platform/sx1/sub/200h/stubs_entry.S (modified) (2 diffs)
-
platform/sx1/sub/201a/stubs_entry.S (modified) (2 diffs)
-
platform/sx10/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/sx10/sub/101a/stubs_entry.S (modified) (2 diffs)
-
platform/sx10/sub/101b/stubs_entry.S (modified) (2 diffs)
-
platform/sx10/sub/102b/stubs_entry.S (modified) (2 diffs)
-
platform/sx10/sub/103a/stubs_entry.S (modified) (2 diffs)
-
platform/sx100is/sub/100b/stubs_entry.S (modified) (2 diffs)
-
platform/sx100is/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/sx110is/sub/100b/stubs_entry.S (modified) (2 diffs)
-
platform/sx20/sub/102b/stubs_entry.S (modified) (2 diffs)
-
platform/sx20/sub/102d/stubs_entry.S (modified) (2 diffs)
-
platform/sx200is/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/tx1/sub/100g/stubs_entry.S (modified) (1 diff)
-
platform/tx1/sub/101b/stubs_entry.S (modified) (1 diff)
-
tools/sig_ref_dryos_1.txt (modified) (1 diff)
-
tools/sig_ref_dryos_3.txt (modified) (1 diff)
-
tools/sig_ref_vxworks_1.txt (modified) (1 diff)
-
tools/signatures_dryos.h (modified) (4 diffs)
-
tools/signatures_vxworks.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/buildconf.inc
r864 r957 12 12 OPT_EDGEOVERLAY=1 13 13 OPT_LUA_STRLIB=1 14 # experimental PTP/USB interface 15 #OPT_PTP=1 14 16 #allow Lua to call arbitrary ROM functions and eventprocs 15 17 # WARNING: This is DANGEROUS. e.g. call_event_proc("EraseSectorOfRom",...) -
trunk/core/Makefile
r928 r957 56 56 CFLAGS+=-DOPT_LUA_CALL_NATIVE 57 57 endif 58 ifdef OPT_PTP 59 # in top level 60 #CFLAGS+=-DOPT_PTP 61 OPT_OBJS+=ptp.o 62 endif 58 63 59 64 OBJS=entry.o nothumb.o main.o gui_draw.o gui_menu.o gui_palette.o gui_mbox.o \ -
trunk/core/kbd.c
r925 r957 219 219 220 220 static lua_State* L, *Lt; 221 static int lua_keep_result; 221 222 222 223 static int is_lua() … … 240 241 void lua_script_reset() 241 242 { 243 if ( !lua_keep_result ) 244 { 242 245 lua_close( L ); 243 246 L = 0; 244 Lt = 0; 247 } 248 Lt = 0; 245 249 } 246 250 247 251 static int lua_script_start( char const* script ) 248 252 { 253 lua_keep_result = 0; 249 254 L = lua_open(); 250 255 luaL_openlibs( L ); … … 261 266 return 1; 262 267 } 268 269 void lua_script_exec( char *script , int keep_result ) 270 { 271 lua_script_start(script); 272 lua_keep_result = keep_result; 273 state_lua_kbd_first_call_to_resume = 1; 274 state_kbd_script_run = 1; 275 kbd_blocked = 1; 276 auto_started = 0; 277 } 278 279 void lua_script_wait() 280 { 281 while ( state_kbd_script_run ) 282 { 283 msleep(100); 284 } 285 } 286 287 void *lua_get_result() 288 { 289 lua_State* r = L; 290 L = 0; 291 return r; 292 } 293 263 294 264 295 static void wait_and_end(void) -
trunk/core/luascript.c
r944 r957 554 554 } 555 555 556 // optional parameter is 0 for soft shutdown (default) or 1 for hard/immediate 556 557 static int luaCB_shut_down( lua_State* L ) 557 558 { 559 if ( luaL_optnumber(L,1,0) == 1 ) 560 { 561 shutdown(); 562 } else { 558 563 camera_shutdown_in_a_second(); 564 } 559 565 return 0; 560 566 } … … 1171 1177 } 1172 1178 return 0; 1179 } 1180 1181 // switch mode (0 = playback, 1 = record) 1182 // only for when USB is connected 1183 static int luaCB_switch_mode_usb( lua_State* L ) 1184 { 1185 int mode = luaL_checknumber(L,1); 1186 1187 if ( mode != 0 && mode != 1 ) 1188 { 1189 return 0; 1190 } 1191 1192 return switch_mode_usb(mode); 1173 1193 } 1174 1194 … … 1466 1486 FUNC(set_record); 1467 1487 1488 FUNC(switch_mode_usb); 1489 1468 1490 #ifdef OPT_LUA_CALL_NATIVE 1469 1491 FUNC(call_event_proc); -
trunk/core/main.c
r852 r957 79 79 spytask_can_start=0; 80 80 81 #ifdef CAM_CHDK_PTP 82 init_chdk_ptp_task(); 83 #endif 84 81 85 while((i++<400) && !spytask_can_start) msleep(10); 82 86 -
trunk/include/camera.h
r954 r957 56 56 #undef CAM_BRACKETING // Cameras that have bracketing (focus & ev) in original firmware already, most likely s- & g-series (propcase for digic III not found yet!) 57 57 #undef CAM_EXT_TV_RANGE // CHDK can make exposure time longer than 64s 58 #undef CAM_CHDK_PTP // include CHDK PTP support 58 59 59 60 #define CAM_UNCACHED_BIT 0x10000000 // bit indicating the uncached memory … … 462 463 463 464 #define CAM_EXT_TV_RANGE 1 465 466 #define CAM_CHDK_PTP 1 // include CHDK PTP support 467 464 468 //---------------------------------------------------------- 465 469 … … 1077 1081 1078 1082 #define CAM_ZEBRA_ASPECT_ADJUST 1 1083 1084 #define CAM_CHDK_PTP 1 // include CHDK PTP support 1079 1085 1080 1086 //---------------------------------------------------------- … … 1661 1667 #define CAM_MULTIPART 1 1662 1668 #define CAM_REMOTE 1 1663 #define CAM_SYNCH 1 // XXX 1669 #define CAM_SYNCH 1 1670 #define CAM_CHDK_PTP 1 1664 1671 #undef CAM_UNCACHED_BIT 1665 1672 #define CAM_UNCACHED_BIT 0x40000000 // 0xFF874198 (via ExMem.FreeCacheable … … 3014 3021 #endif 3015 3022 3023 #ifndef OPT_PTP 3024 #undef CAM_CHDK_PTP 3025 #endif 3026 3016 3027 #endif /* CAMERA_H */ -
trunk/include/lolevel.h
r944 r957 284 284 // 3 skips one function call on some cameras, but does restart 285 285 void _Restart(unsigned option); 286 #endif 286 287 // boot an fir/fi2 file 288 void _reboot_fw_update(const char* bootfile); 289 #ifdef CAM_CHDK_PTP 290 extern int _add_ptp_handler(int, void*, int); 291 #endif 292 293 #endif -
trunk/include/platform.h
r944 r957 486 486 487 487 /* 488 shut down the display and reboot the camera. 489 bootfile is the name of the file to boot. 490 Must be an unencoded ARM binary, will be loaded at 0x1900 491 For cameras which use encoded diskboot, loader/<camera>/main.bin may be used 492 For cameras which do not use encoded diskboot, DISKBOOT.BIN may be used 493 No sanity checking is performed on the binary, except that the size is >= 4 bytes 494 If bootfile is NULL, camera firmware is rebooted. DISKBOOT.BIN will be loaded or not according to normal rules 495 returns 0 on failure, does not return on success 496 does NOT save camera settings to flash 497 does NOT retract lens before rebooting 498 calling from playback mode is recommended 488 reboot, optionally loading a different binary 489 see lib/armutil/reboot.c for documentation 499 490 */ 500 491 int reboot(const char *bootfile); … … 503 494 #define finished() debug_led(0) 504 495 496 497 #ifdef CAM_CHDK_PTP 498 499 typedef struct { 500 int code; 501 int sess_id; 502 int trans_id; 503 int num_param; 504 int param1; 505 int param2; 506 int param3; 507 int param4; 508 int param5; 509 } PTPContainer; 510 511 typedef struct { 512 int handle; 513 int (*send_data)(int handle, const char *buf, int part_size, int total_size, int, int, int); // (0xFF9F525C), total_size should be 0 except for the first call 514 int (*recv_data)(int handle, char *buf, int size, int, int); // (0xFF9F5500) 515 int (*send_resp)(int handle, PTPContainer *resp); // (0xFF9F5688) 516 int (*get_data_size)(int handle); // (0xFF9F5830) 517 int (*send_err_resp)(int handle, PTPContainer *resp); // (0xFF9F5784) 518 int unknown1; // ??? 519 int (*f2)(); // ??? (0xFF8D5B24) 520 int (*f3)(); // ??? (0xFF8D5B5C) 521 // more?? 522 } ptp_data; 523 524 typedef int (*ptp_handler)(int, ptp_data*, int, int, int, int, int, int, int, int); 525 526 int add_ptp_handler(int opcode, ptp_handler handler, int unknown); 527 528 void init_chdk_ptp(); 529 void init_chdk_ptp_task(); 530 531 #endif // CAM_CHDK_PTP 532 533 int switch_mode_usb(int mode); // 0 = playback, 1 = record; return indicates success 534 // N.B.: switch_mode only supported when USB is connected 535 536 void ExitTask(); 537 505 538 #endif -
trunk/include/script.h
r899 r957 29 29 extern void script_console_redraw(); 30 30 //------------------------------------------------------------------- 31 32 extern void lua_script_exec(char *script, int keep_result); 33 extern void lua_script_wait(); 34 extern void *lua_get_result(); 31 35 #endif -
trunk/lib/armutil/reboot.c
r944 r957 6 6 shut down the display and reboot the camera. 7 7 bootfile is the name of the file to boot. 8 Must be an unencoded ARM binary, will be loaded at 0x1900 8 If the filename ends in .FI*, load with _reboot_fw_update if implemented 9 Otherwise must be an unencoded ARM binary, will be loaded at 0x1900 9 10 For cameras which use encoded diskboot, loader/<camera>/main.bin may be used 10 11 For cameras which do not use encoded diskboot, DISKBOOT.BIN may be used … … 25 26 } 26 27 _Restart(0); 28 } 29 30 int namelen=strlen(bootfile); 31 if(namelen > 3 && (strncmp(bootfile + namelen - 4,".FI",3) == 0)) { 32 _reboot_fw_update(bootfile); 33 // if _reboot_fw_update returns, it failed or is not implemented 34 return 0; 27 35 } 28 36 -
trunk/makefile.inc
r938 r957 395 395 endif 396 396 397 ifdef OPT_PTP 398 CFLAGS+=-DOPT_PTP 399 endif 400 397 401 ifdef OPT_WARNINGS 398 402 ifeq ($(GCC_VERSION_MAJOR),3) -
trunk/platform/a2000/sub/100c/stubs_entry.S
r944 r957 113 113 NSTUB(_pow, 0xffe72740) 114 114 NSTUB(_sqrt, 0xffe749f4) 115 NSTUB(add_ptp_handler, 0xffdac444) 115 116 NSTUB(close, 0xffc09f50) 116 117 NSTUB(closedir, 0xffddcf4c) … … 147 148 NSTUB(read, 0xffc0a138) 148 149 NSTUB(readfastdir, 0xffddce7c) 150 // Best match: 86% 151 NSTUB(reboot_fw_update, 0xffde1750) 149 152 NSTUB(rename, 0xffc13418) 150 153 // Best match: 95% -
trunk/platform/a450/sub/100d/stubs_entry.S
r944 r957 110 110 NSTUB(_sqrt, 0xffcbee54) 111 111 // ALT: NSTUB(_sqrt, 0xffcbee54) // 24/0 112 // Best match: 96% 113 NSTUB(add_ptp_handler, 0xffd7c07c) 112 114 NSTUB(chdir, 0xffcc9ddc) 113 115 // ALT: NSTUB(chdir, 0xffcc9ddc) // 27/0 -
trunk/platform/a460/sub/100d/stubs_entry.S
r944 r957 110 110 NSTUB(_sqrt, 0xffcbee4c) 111 111 // ALT: NSTUB(_sqrt, 0xffcbee4c) // 24/0 112 // Best match: 96% 113 NSTUB(add_ptp_handler, 0xffd7c06c) 112 114 NSTUB(chdir, 0xffcc9dd4) 113 115 // ALT: NSTUB(chdir, 0xffcc9dd4) // 27/0 -
trunk/platform/a470/sub/100e/stubs_entry.S
r944 r957 102 102 NSTUB(_pow, 0xffe4e5d4) 103 103 NSTUB(_sqrt, 0xffe50888) 104 NSTUB(add_ptp_handler, 0xffd960e4) 104 105 NSTUB(close, 0xffc09f74) 105 106 NSTUB(closedir, 0xffdc4230) … … 135 136 NSTUB(read, 0xffc0a15c) 136 137 NSTUB(readfastdir, 0xffdc4160) 138 // Best match: 93% 139 NSTUB(reboot_fw_update, 0xffdc8a34) 137 140 NSTUB(rename, 0xffc13c30) 138 141 // Best match: 95% -
trunk/platform/a470/sub/101b/stubs_entry.S
r944 r957 102 102 NSTUB(_pow, 0xffe4e5d0) 103 103 NSTUB(_sqrt, 0xffe50884) 104 NSTUB(add_ptp_handler, 0xffd960e0) 104 105 NSTUB(close, 0xffc09f74) 105 106 NSTUB(closedir, 0xffdc422c) … … 135 136 NSTUB(read, 0xffc0a15c) 136 137 NSTUB(readfastdir, 0xffdc415c) 138 // Best match: 93% 139 NSTUB(reboot_fw_update, 0xffdc8a30) 137 140 NSTUB(rename, 0xffc13c30) 138 141 // Best match: 95% -
trunk/platform/a470/sub/102c/stubs_entry.S
r944 r957 102 102 NSTUB(_pow, 0xffe4f010) 103 103 NSTUB(_sqrt, 0xffe512c4) 104 NSTUB(add_ptp_handler, 0xffd96b20) 104 105 NSTUB(close, 0xffc09f74) 105 106 NSTUB(closedir, 0xffdc4c6c) … … 135 136 NSTUB(read, 0xffc0a15c) 136 137 NSTUB(readfastdir, 0xffdc4b9c) 138 // Best match: 93% 139 NSTUB(reboot_fw_update, 0xffdc9470) 137 140 NSTUB(rename, 0xffc13c30) 138 141 // Best match: 95% -
trunk/platform/a480/sub/100b/stubs_entry.S
r944 r957 101 101 NSTUB(_pow, 0xffe31958) 102 102 NSTUB(_sqrt, 0xffe33c0c) 103 NSTUB(add_ptp_handler, 0xffd8a108) 103 104 NSTUB(close, 0xffc0a034) 104 105 NSTUB(closedir, 0xffdb0114) … … 134 135 NSTUB(read, 0xffc0a21c) 135 136 NSTUB(readfastdir, 0xffdb0044) 137 // Best match: 86% 138 NSTUB(reboot_fw_update, 0xffdb3b28) 136 139 NSTUB(rename, 0xffc13300) 137 140 // Best match: 95% -
trunk/platform/a530/sub/100a/stubs_entry.S
r944 r957 103 103 NSTUB(_sqrt, 0xffebbd30) 104 104 // ALT: NSTUB(_sqrt, 0xffebbd30) // 24/0 105 // Best match: 96% 106 NSTUB(add_ptp_handler, 0xffe35eac) 105 107 NSTUB(chdir, 0xffec8bb0) 106 108 // ALT: NSTUB(chdir, 0xffec8bb0) // 27/0 -
trunk/platform/a540/sub/100b/stubs_entry.S
r944 r957 108 108 NSTUB(_sqrt, 0xffed1718) 109 109 // ALT: NSTUB(_sqrt, 0xffed1718) // 24/0 110 // Best match: 96% 111 NSTUB(add_ptp_handler, 0xffe46ddc) 110 112 NSTUB(chdir, 0xffede5e4) 111 113 // ALT: NSTUB(chdir, 0xffede5e4) // 27/0 -
trunk/platform/a550/sub/100c/stubs_entry.S
r944 r957 111 111 NSTUB(_sqrt, 0xffcba840) 112 112 // ALT: NSTUB(_sqrt, 0xffcba840) // 24/0 113 // Best match: 96% 114 NSTUB(add_ptp_handler, 0xffd7dff8) 113 115 NSTUB(chdir, 0xffcc57c8) 114 116 // ALT: NSTUB(chdir, 0xffcc57c8) // 27/0 -
trunk/platform/a560/sub/100a/stubs_entry.S
r944 r957 109 109 NSTUB(_sqrt, 0xffcc3df0) 110 110 // ALT: NSTUB(_sqrt, 0xffcc3df0) // 24/0 111 // Best match: 96% 112 NSTUB(add_ptp_handler, 0xffd915d0) 111 113 NSTUB(chdir, 0xffcced78) 112 114 // ALT: NSTUB(chdir, 0xffcced78) // 27/0 -
trunk/platform/a570/sub/100e/stubs_entry.S
r944 r957 110 110 NSTUB(_sqrt, 0xffccc270) 111 111 // ALT: NSTUB(_sqrt, 0xffccc270) // 24/0 112 // Best match: 96% 113 NSTUB(add_ptp_handler, 0xffd9b9d8) 112 114 NSTUB(chdir, 0xffcd71f8) 113 115 // ALT: NSTUB(chdir, 0xffcd71f8) // 27/0 -
trunk/platform/a570/sub/101a/stubs_entry.S
r944 r957 110 110 NSTUB(_sqrt, 0xffccc270) 111 111 // ALT: NSTUB(_sqrt, 0xffccc270) // 24/0 112 // Best match: 96% 113 NSTUB(add_ptp_handler, 0xffd9ba4c) 112 114 NSTUB(chdir, 0xffcd71f8) 113 115 // ALT: NSTUB(chdir, 0xffcd71f8) // 27/0 -
trunk/platform/a590/sub/100e/stubs_entry.S
r944 r957 106 106 NSTUB(_pow, 0xffe66e90) 107 107 NSTUB(_sqrt, 0xffe69144) 108 NSTUB(add_ptp_handler, 0xffdaa4e8) 108 109 NSTUB(close, 0xffc09f74) 109 110 NSTUB(closedir, 0xffdd9790) … … 140 141 NSTUB(read, 0xffc0a15c) 141 142 NSTUB(readfastdir, 0xffdd96c0) 143 // Best match: 93% 144 NSTUB(reboot_fw_update, 0xffdddf94) 142 145 NSTUB(rename, 0xffc13c5c) 143 146 // Best match: 95% -
trunk/platform/a590/sub/101b/stubs_entry.S
r944 r957 106 106 NSTUB(_pow, 0xffe66e8c) 107 107 NSTUB(_sqrt, 0xffe69140) 108 NSTUB(add_ptp_handler, 0xffdaa4e4) 108 109 NSTUB(close, 0xffc09f74) 109 110 NSTUB(closedir, 0xffdd978c) … … 140 141 NSTUB(read, 0xffc0a15c) 141 142 NSTUB(readfastdir, 0xffdd96bc) 143 // Best match: 93% 144 NSTUB(reboot_fw_update, 0xffdddf90) 142 145 NSTUB(rename, 0xffc13c5c) 143 146 // Best match: 95% -
trunk/platform/a610/sub/100e/stubs_entry.S
r944 r957 79 79 NSTUB(_sqrt, 0xffead2c0) 80 80 // ALT: NSTUB(_sqrt, 0xffead2c0) // 24/0 81 NSTUB(add_ptp_handler, 0xffe222d0) 81 82 NSTUB(chdir, 0xffebc51c) 82 83 // ALT: NSTUB(chdir, 0xffebc51c) // 27/0 -
trunk/platform/a610/sub/100f/stubs_entry.S
r944 r957 79 79 NSTUB(_sqrt, 0xffead648) 80 80 // ALT: NSTUB(_sqrt, 0xffead648) // 24/0 81 NSTUB(add_ptp_handler, 0xffe22658) 81 82 NSTUB(chdir, 0xffebc8a4) 82 83 // ALT: NSTUB(chdir, 0xffebc8a4) // 27/0 -
trunk/platform/a620/sub/100f/stubs_entry.S
r944 r957 104 104 NSTUB(_sqrt, 0xffeb3fe4) 105 105 // ALT: NSTUB(_sqrt, 0xffeb3fe4) // 24/0 106 // Best match: 96% 107 NSTUB(add_ptp_handler, 0xffe24154) 106 108 NSTUB(chdir, 0xffec3240) 107 109 // ALT: NSTUB(chdir, 0xffec3240) // 27/0 -
trunk/platform/a630/sub/100c/stubs_entry.S
r944 r957 97 97 NSTUB(_sqrt, 0xffee40ec) 98 98 // ALT: NSTUB(_sqrt, 0xffee40ec) // 24/0 99 // Best match: 96% 100 NSTUB(add_ptp_handler, 0xffe5291c) 99 101 NSTUB(chdir, 0xffef08f8) 100 102 // ALT: NSTUB(chdir, 0xffef08f8) // 27/0 -
trunk/platform/a640/sub/100b/stubs_entry.S
r944 r957 98 98 NSTUB(_sqrt, 0xffeee014) 99 99 // ALT: NSTUB(_sqrt, 0xffeee014) // 24/0 100 // Best match: 96% 101 NSTUB(add_ptp_handler, 0xffe57464) 100 102 NSTUB(chdir, 0xffefa820) 101 103 // ALT: NSTUB(chdir, 0xffefa820) // 27/0 -
trunk/platform/a650/sub/100d/stubs_entry.S
r944 r957 89 89 NSTUB(_pow, 0xffe4aaf4) 90 90 NSTUB(_sqrt, 0xffe4cda8) 91 NSTUB(add_ptp_handler, 0xffcb0674) 91 92 NSTUB(close, 0xffc0a190) 92 93 NSTUB(closedir, 0xffdd0710) … … 118 119 NSTUB(read, 0xffc0a378) 119 120 NSTUB(readfastdir, 0xffdd0640) 121 NSTUB(reboot_fw_update, 0xffdd4fe0) 120 122 NSTUB(rename, 0xffc14ff4) 121 123 NSTUB(srand, 0xffc0e91c) -
trunk/platform/a700/sub/100b/stubs_entry.S
r944 r957 108 108 NSTUB(_sqrt, 0xffed92e4) 109 109 // ALT: NSTUB(_sqrt, 0xffed92e4) // 24/0 110 // Best match: 96% 111 NSTUB(add_ptp_handler, 0xffe4e284) 110 112 NSTUB(chdir, 0xffee5b3c) 111 113 // ALT: NSTUB(chdir, 0xffee5b3c) // 27/0 -
trunk/platform/a710/sub/100a/stubs_entry.S
r944 r957 82 82 NSTUB(_sqrt, 0xffef18e8) 83 83 // ALT: NSTUB(_sqrt, 0xffef18e8) // 24/0 84 // Best match: 96% 85 NSTUB(add_ptp_handler, 0xffe59fe4) 84 86 NSTUB(chdir, 0xffefe140) 85 87 // ALT: NSTUB(chdir, 0xffefe140) // 27/0 -
trunk/platform/a720/sub/100c/stubs_entry.S
r944 r957 78 78 NSTUB(_pow, 0xffe3b990) 79 79 NSTUB(_sqrt, 0xffe3dc44) 80 NSTUB(add_ptp_handler, 0xffcad7d0) 80 81 NSTUB(close, 0xffc0a260) 81 82 NSTUB(closedir, 0xffdc1c68) … … 104 105 NSTUB(read, 0xffc0a448) 105 106 NSTUB(readfastdir, 0xffdc1b98) 107 NSTUB(reboot_fw_update, 0xffdc6538) 106 108 NSTUB(rename, 0xffc15100) 107 109 NSTUB(srand, 0xffc0e9ec) -
trunk/platform/d10/sub/100a/stubs_entry.S
r944 r957 105 105 NSTUB(_pow, 0xffacc43c) 106 106 NSTUB(_sqrt, 0xffacf1e4) 107 NSTUB(add_ptp_handler, 0xff9f4f54) 107 108 NSTUB(close, 0xff8198fc) 108 109 NSTUB(closedir, 0xffa2a544) … … 137 138 NSTUB(read, 0xff819ae4) 138 139 NSTUB(readfastdir, 0xffa2a474) 140 // Best match: 86% 141 NSTUB(reboot_fw_update, 0xffa31b24) 139 142 NSTUB(rename, 0xff823d84) 140 143 // Best match: 95% -
trunk/platform/g11/sub/100f/stubs_entry.S
r944 r957 104 104 NSTUB(_pow, 0xffb3ce3c) 105 105 NSTUB(_sqrt, 0xffb3f0f0) 106 NSTUB(add_ptp_handler, 0xffa4dd8c) 106 107 NSTUB(close, 0xff81a990) 107 108 NSTUB(closedir, 0xffa83ff4) … … 139 140 NSTUB(read, 0xff81ab78) 140 141 // ERROR: readfastdir is not found! 142 // Best match: 82% 143 NSTUB(reboot_fw_update, 0xffa8967c) 141 144 // ERROR: rename is not found! 142 145 // Best match: 95% -
trunk/platform/g11/sub/100j/stubs_entry.S
r944 r957 104 104 NSTUB(_pow, 0xffb3cf40) 105 105 NSTUB(_sqrt, 0xffb3f1f4) 106 NSTUB(add_ptp_handler, 0xffa4de90) 106 107 NSTUB(close, 0xff81a990) 107 108 NSTUB(closedir, 0xffa840f8) … … 139 140 NSTUB(read, 0xff81ab78) 140 141 // ERROR: readfastdir is not found! 142 // Best match: 82% 143 NSTUB(reboot_fw_update, 0xffa89780) 141 144 // ERROR: rename is not found! 142 145 // Best match: 95% -
trunk/platform/g11/sub/100l/stubs_entry.S
r944 r957 104 104 NSTUB(_pow, 0xffb3d0fc) 105 105 NSTUB(_sqrt, 0xffb3f3b0) 106 NSTUB(add_ptp_handler, 0xffa4e04c) 106 107 NSTUB(close, 0xff81a990) 107 108 NSTUB(closedir, 0xffa842b4) … … 139 140 NSTUB(read, 0xff81ab78) 140 141 // ERROR: readfastdir is not found! 142 // Best match: 82% 143 NSTUB(reboot_fw_update, 0xffa8993c) 141 144 // ERROR: rename is not found! 142 145 // Best match: 95% -
trunk/platform/g7/sub/100e/stubs_entry.S
r944 r957 104 104 NSTUB(_sqrt, 0xffb8f098) 105 105 // ALT: NSTUB(_sqrt, 0xffb8f098) // 24/0 106 // Best match: 96% 107 NSTUB(add_ptp_handler, 0xffaef02c) 106 108 NSTUB(chdir, 0xffb9c0e0) 107 109 // ALT: NSTUB(chdir, 0xffb9c0e0) // 27/0 -
trunk/platform/g7/sub/100g/stubs_entry.S
r944 r957 104 104 NSTUB(_sqrt, 0xffb8f220) 105 105 // ALT: NSTUB(_sqrt, 0xffb8f220) // 24/0 106 // Best match: 96% 107 NSTUB(add_ptp_handler, 0xffaef0d4) 106 108 NSTUB(chdir, 0xffb9c268) 107 109 // ALT: NSTUB(chdir, 0xffb9c268) // 27/0 -
trunk/platform/g7/sub/100i/stubs_entry.S
r944 r957 104 104 NSTUB(_sqrt, 0xffb8f270) 105 105 // ALT: NSTUB(_sqrt, 0xffb8f270) // 24/0 106 // Best match: 96% 107 NSTUB(add_ptp_handler, 0xffaef0d4) 106 108 NSTUB(chdir, 0xffb9c2b8) 107 109 // ALT: NSTUB(chdir, 0xffb9c2b8) // 27/0 -
trunk/platform/g7/sub/100j/stubs_entry.S
r944 r957 104 104 NSTUB(_sqrt, 0xffb8f2f8) 105 105 // ALT: NSTUB(_sqrt, 0xffb8f2f8) // 24/0 106 // Best match: 96% 107 NSTUB(add_ptp_handler, 0xffaef0d4) 106 108 NSTUB(chdir, 0xffb9c340) 107 109 // ALT: NSTUB(chdir, 0xffb9c340) // 27/0 -
trunk/platform/g9/sub/100d/stubs_entry.S
r944 r957 90 90 NSTUB(_pow, 0xffabd6f8) 91 91 NSTUB(_sqrt, 0xffabf9ac) 92 NSTUB(add_ptp_handler, 0xff8d897c) 92 93 NSTUB(close, 0xff81a190) 93 94 NSTUB(closedir, 0xffa2cc0c) … … 123 124 NSTUB(read, 0xff81a378) 124 125 NSTUB(readfastdir, 0xffa2cb3c) 126 NSTUB(reboot_fw_update, 0xffa34500) 125 127 NSTUB(rename, 0xff825600) 126 128 NSTUB(srand, 0xff81e930) -
trunk/platform/g9/sub/100g/stubs_entry.S
r944 r957 90 90 NSTUB(_pow, 0xffabd768) 91 91 NSTUB(_sqrt, 0xffabfa1c) 92 NSTUB(add_ptp_handler, 0xff8d897c) 92 93 NSTUB(close, 0xff81a190) 93 94 NSTUB(closedir, 0xffa2cc7c) … … 123 124 NSTUB(read, 0xff81a378) 124 125 NSTUB(readfastdir, 0xffa2cbac) 126 NSTUB(reboot_fw_update, 0xffa34570) 125 127 NSTUB(rename, 0xff825600) 126 128 NSTUB(srand, 0xff81e930) -
trunk/platform/g9/sub/100i/stubs_entry.S
r944 r957 90 90 NSTUB(_pow, 0xffabd790) 91 91 NSTUB(_sqrt, 0xffabfa44) 92 NSTUB(add_ptp_handler, 0xff8d897c) 92 93 NSTUB(close, 0xff81a190) 93 94 NSTUB(closedir, 0xffa2cca4) … … 123 124 NSTUB(read, 0xff81a378) 124 125 NSTUB(readfastdir, 0xffa2cbd4) 126 NSTUB(reboot_fw_update, 0xffa34598) 125 127 NSTUB(rename, 0xff825600) 126 128 NSTUB(srand, 0xff81e930) -
trunk/platform/generic/wrappers.c
r944 r957 949 949 #endif 950 950 951 #ifdef CAM_CHDK_PTP 952 int add_ptp_handler(int opcode, ptp_handler handler, int unknown) 953 { 954 return _add_ptp_handler(opcode,handler,unknown); 955 } 956 957 // this would make more sense in generic/main.c but not all a cameras use it 958 void init_chdk_ptp_task() { 959 _CreateTask("InitCHDKPTP", 0x19, 0x2000, init_chdk_ptp, 0); 960 }; 961 962 #endif 963 964 void ExitTask() 965 { 966 _ExitTask(); 967 } 968 969 // TODO not in sigs for vx yet 970 #ifndef CAM_DRYOS 971 void __attribute__((weak)) _reboot_fw_update(const char *fw_update) 972 { 973 return; 974 } 975 #endif 976 977 int __attribute__((weak)) switch_mode_usb(int mode) 978 { 979 return 0; 980 } 951 981 /* 952 982 // this wrapper isn't currently needed -
trunk/platform/ixus100_sd780/sub/100c/stubs_entry.S
r944 r957 103 103 NSTUB(_pow, 0xffac837c) 104 104 NSTUB(_sqrt, 0xffacb124) 105 NSTUB(add_ptp_handler, 0xff9eabdc) 105 106 NSTUB(close, 0xff8198fc) 106 107 NSTUB(closedir, 0xffa1fe64) … … 135 136 NSTUB(read, 0xff819ae4) 136 137 NSTUB(readfastdir, 0xffa1fd94) 138 // Best match: 86% 139 NSTUB(reboot_fw_update, 0xffa27444) 137 140 NSTUB(rename, 0xff823d6c) 138 141 // Best match: 95% -
trunk/platform/ixus40_sd300/sub/100j/stubs_entry.S
r944 r957 136 136 // ALT: NSTUB(_sqrt, 0xfff45834) // 24/0 137 137 // ALT: NSTUB(_sqrt, 0xfff45834) // 24/0 138 // Best match: 96% 139 NSTUB(add_ptp_handler, 0xffa13b10) 138 140 NSTUB(chdir, 0xffac2f4c) 139 141 // ALT: NSTUB(chdir, 0xffac2f4c) // 27/0 -
trunk/platform/ixus40_sd300/sub/100k/stubs_entry.S
r944 r957 108 108 NSTUB(_sqrt, 0xffab3aec) 109 109 // ALT: NSTUB(_sqrt, 0xffab3aec) // 24/0 110 // Best match: 96% 111 NSTUB(add_ptp_handler, 0xffa13b10) 110 112 NSTUB(chdir, 0xffac2f74) 111 113 // ALT: NSTUB(chdir, 0xffac2f74) // 27/0 -
trunk/platform/ixus50_sd400/sub/101a/stubs_entry.S
r944 r957 111 111 NSTUB(_sqrt, 0xffaad004) 112 112 // ALT: NSTUB(_sqrt, 0xffaad004) // 24/0 113 // Best match: 96% 114 NSTUB(add_ptp_handler, 0xffa24f64) 113 115 NSTUB(chdir, 0xffabc260) 114 116 // ALT: NSTUB(chdir, 0xffabc260) // 27/0 -
trunk/platform/ixus50_sd400/sub/101b/stubs_entry.S
r944 r957 111 111 NSTUB(_sqrt, 0xffaad058) 112 112 // ALT: NSTUB(_sqrt, 0xffaad058) // 24/0 113 // Best match: 96% 114 NSTUB(add_ptp_handler, 0xffa24fb8) 113 115 NSTUB(chdir, 0xffabc2b4) 114 116 // ALT: NSTUB(chdir, 0xffabc2b4) // 27/0 -
trunk/platform/ixus55_sd450/sub/100b/stubs_entry.S
r944 r957 102 102 NSTUB(_sqrt, 0xffac4f90) 103 103 // ALT: NSTUB(_sqrt, 0xffac4f90) // 24/0 104 // Best match: 96% 105 NSTUB(add_ptp_handler, 0xffa3d270) 104 106 NSTUB(chdir, 0xffad41ec) 105 107 // ALT: NSTUB(chdir, 0xffad41ec) // 27/0 -
trunk/platform/ixus55_sd450/sub/100c/stubs_entry.S
r944 r957 102 102 NSTUB(_sqrt, 0xffac4ebc) 103 103 // ALT: NSTUB(_sqrt, 0xffac4ebc) // 24/0 104 // Best match: 96% 105 NSTUB(add_ptp_handler, 0xffa3d19c) 104 106 NSTUB(chdir, 0xffad4118) 105 107 // ALT: NSTUB(chdir, 0xffad4118) // 27/0 -
trunk/platform/ixus55_sd450/sub/100d/stubs_entry.S
r944 r957 102 102 NSTUB(_sqrt, 0xffac5244) 103 103 // ALT: NSTUB(_sqrt, 0xffac5244) // 24/0 104 // Best match: 96% 105 NSTUB(add_ptp_handler, 0xffa3d524) 104 106 NSTUB(chdir, 0xffad44a0) 105 107 // ALT: NSTUB(chdir, 0xffad44a0) // 27/0 -
trunk/platform/ixus60_sd600/sub/100a/stubs_entry.S
r944 r957 102 102 NSTUB(_sqrt, 0xffafc7a4) 103 103 // ALT: NSTUB(_sqrt, 0xffafc7a4) // 24/0 104 // Best match: 96% 105 NSTUB(add_ptp_handler, 0xffa7509c) 104 106 NSTUB(chdir, 0xffb08ecc) 105 107 // ALT: NSTUB(chdir, 0xffb08ecc) // 27/0 -
trunk/platform/ixus60_sd600/sub/100d/stubs_entry.S
r944 r957 102 102 NSTUB(_sqrt, 0xffafd384) 103 103 // ALT: NSTUB(_sqrt, 0xffafd384) // 24/0 104 // Best match: 96% 105 NSTUB(add_ptp_handler, 0xffa75b94) 104 106 NSTUB(chdir, 0xffb09aac) 105 107 // ALT: NSTUB(chdir, 0xffb09aac) // 27/0 -
trunk/platform/ixus65_sd630/sub/100a/stubs_entry.S
r944 r957 102 102 NSTUB(_sqrt, 0xffb05df4) 103 103 // ALT: NSTUB(_sqrt, 0xffb05df4) // 24/0 104 // Best match: 96% 105 NSTUB(add_ptp_handler, 0xffa7e780) 104 106 NSTUB(chdir, 0xffb12b90) 105 107 // ALT: NSTUB(chdir, 0xffb12b90) // 27/0 -
trunk/platform/ixus700_sd500/sub/101a/stubs_entry.S
r944 r957 112 112 NSTUB(_sqrt, 0xffaab040) 113 113 // ALT: NSTUB(_sqrt, 0xffaab040) // 24/0 114 // Best match: 96% 115 NSTUB(add_ptp_handler, 0xffa1918c) 114 116 NSTUB(chdir, 0xffaba29c) 115 117 // ALT: NSTUB(chdir, 0xffaba29c) // 27/0 -
trunk/platform/ixus700_sd500/sub/101b/stubs_entry.S
r944 r957 112 112 NSTUB(_sqrt, 0xffaab090) 113 113 // ALT: NSTUB(_sqrt, 0xffaab090) // 24/0 114 // Best match: 96% 115 NSTUB(add_ptp_handler, 0xffa191dc) 114 116 NSTUB(chdir, 0xffaba2ec) 115 117 // ALT: NSTUB(chdir, 0xffaba2ec) // 27/0 -
trunk/platform/ixus70_sd1000/sub/100c/stubs_entry.S
r944 r957 109 109 NSTUB(_sqrt, 0xff911b9c) 110 110 // ALT: NSTUB(_sqrt, 0xff911b9c) // 24/0 111 // Best match: 96% 112 NSTUB(add_ptp_handler, 0xff9e4628) 111 113 NSTUB(chdir, 0xff91d840) 112 114 // ALT: NSTUB(chdir, 0xff91d840) // 27/0 -
trunk/platform/ixus70_sd1000/sub/101b/stubs_entry.S
r944 r957 109 109 NSTUB(_sqrt, 0xff911b9c) 110 110 // ALT: NSTUB(_sqrt, 0xff911b9c) // 24/0 111 // Best match: 96% 112 NSTUB(add_ptp_handler, 0xff9e469c) 111 113 NSTUB(chdir, 0xff91d840) 112 114 // ALT: NSTUB(chdir, 0xff91d840) // 27/0 -
trunk/platform/ixus70_sd1000/sub/102a/stubs_entry.S
r944 r957 109 109 NSTUB(_sqrt, 0xff911b9c) 110 110 // ALT: NSTUB(_sqrt, 0xff911b9c) // 24/0 111 // Best match: 96% 112 NSTUB(add_ptp_handler, 0xff9e469c) 111 113 NSTUB(chdir, 0xff91d840) 112 114 // ALT: NSTUB(chdir, 0xff91d840) // 27/0 -
trunk/platform/ixus750_sd550/sub/100f/stubs_entry.S
r944 r957 105 105 NSTUB(_sqrt, 0xffac4a98) 106 106 // ALT: NSTUB(_sqrt, 0xffac4a98) // 24/0 107 // Best match: 96% 108 NSTUB(add_ptp_handler, 0xffa3d17c) 107 109 NSTUB(chdir, 0xffad3cf4) 108 110 // ALT: NSTUB(chdir, 0xffad3cf4) // 27/0 -
trunk/platform/ixus750_sd550/sub/100g/stubs_entry.S
r944 r957 105 105 NSTUB(_sqrt, 0xffac4a98) 106 106 // ALT: NSTUB(_sqrt, 0xffac4a98) // 24/0 107 // Best match: 96% 108 NSTUB(add_ptp_handler, 0xffa3d17c) 107 109 NSTUB(chdir, 0xffad3cf4) 108 110 // ALT: NSTUB(chdir, 0xffad3cf4) // 27/0 -
trunk/platform/ixus75_sd750/sub/100b/stubs_entry.S
r944 r957 109 109 NSTUB(_sqrt, 0xff91bf80) 110 110 // ALT: NSTUB(_sqrt, 0xff91bf80) // 24/0 111 // Best match: 96% 112 NSTUB(add_ptp_handler, 0xff9eea88) 111 113 NSTUB(chdir, 0xff927c24) 112 114 // ALT: NSTUB(chdir, 0xff927c24) // 27/0 -
trunk/platform/ixus75_sd750/sub/101a/stubs_entry.S
r944 r957 109 109 NSTUB(_sqrt, 0xff91bf80) 110 110 // ALT: NSTUB(_sqrt, 0xff91bf80) // 24/0 111 // Best match: 96% 112 NSTUB(add_ptp_handler, 0xff9eeafc) 111 113 NSTUB(chdir, 0xff927c24) 112 114 // ALT: NSTUB(chdir, 0xff927c24) // 27/0 -
trunk/platform/ixus75_sd750/sub/102a/stubs_entry.S
r944 r957 109 109 NSTUB(_sqrt, 0xff91bf80) 110 110 // ALT: NSTUB(_sqrt, 0xff91bf80) // 24/0 111 // Best match: 96% 112 NSTUB(add_ptp_handler, 0xff9eeafc) 111 113 NSTUB(chdir, 0xff927c24) 112 114 // ALT: NSTUB(chdir, 0xff927c24) // 27/0 -
trunk/platform/ixus800_sd700/sub/100b/stubs_entry.S
r944 r957 103 103 NSTUB(_sqrt, 0xffafff30) 104 104 // ALT: NSTUB(_sqrt, 0xffafff30) // 24/0 105 // Best match: 96% 106 NSTUB(add_ptp_handler, 0xffa74c74) 105 107 NSTUB(chdir, 0xffb0c658) 106 108 // ALT: NSTUB(chdir, 0xffb0c658) // 27/0 -
trunk/platform/ixus800_sd700/sub/101b/stubs_entry.S
r944 r957 103 103 NSTUB(_sqrt, 0xffafff28) 104 104 // ALT: NSTUB(_sqrt, 0xffafff28) // 24/0 105 // Best match: 96% 106 NSTUB(add_ptp_handler, 0xffa74c78) 105 107 NSTUB(chdir, 0xffb0c650) 106 108 // ALT: NSTUB(chdir, 0xffb0c650) // 27/0 -
trunk/platform/ixus80_sd1100/sub/100c/stubs_entry.S
r944 r957 97 97 NSTUB(_pow, 0xffaa50fc) 98 98 NSTUB(_sqrt, 0xffaa7468) 99 NSTUB(add_ptp_handler, 0xff9dab04) 99 100 NSTUB(close, 0xff819f74) 100 101 NSTUB(closedir, 0xffa0c20c) … … 129 130 NSTUB(read, 0xff81a15c) 130 131 NSTUB(readfastdir, 0xffa0c13c) 132 // Best match: 93% 133 NSTUB(reboot_fw_update, 0xffa13b3c) 131 134 NSTUB(rename, 0xff823f28) 132 135 // Best match: 95% -
trunk/platform/ixus80_sd1100/sub/101a/stubs_entry.S
r944 r957 97 97 NSTUB(_pow, 0xffaa50f8) 98 98 NSTUB(_sqrt, 0xffaa7464) 99 NSTUB(add_ptp_handler, 0xff9dab00) 99 100 NSTUB(close, 0xff819f74) 100 101 NSTUB(closedir, 0xffa0c208) … … 129 130 NSTUB(read, 0xff81a15c) 130 131 NSTUB(readfastdir, 0xffa0c138) 132 // Best match: 93% 133 NSTUB(reboot_fw_update, 0xffa13b38) 131 134 NSTUB(rename, 0xff823f28) 132 135 // Best match: 95% -
trunk/platform/ixus850_sd800/sub/100e/stubs_entry.S
r944 r957 102 102 NSTUB(_sqrt, 0xffb51f68) 103 103 // ALT: NSTUB(_sqrt, 0xffb51f68) // 24/0 104 // Best match: 96% 105 NSTUB(add_ptp_handler, 0xffabd06c) 104 106 NSTUB(chdir, 0xffb5ee34) 105 107 // ALT: NSTUB(chdir, 0xffb5ee34) // 27/0 -
trunk/platform/ixus85_sd770/sub/100a/stubs_entry.S
r944 r957 97 97 NSTUB(_pow, 0xffaa731c) 98 98 NSTUB(_sqrt, 0xffaa9688) 99 NSTUB(add_ptp_handler, 0xff9dc8cc) 99 100 NSTUB(close, 0xff819eac) 100 101 NSTUB(closedir, 0xffa0e370) … … 129 130 NSTUB(read, 0xff81a094) 130 131 NSTUB(readfastdir, 0xffa0e2a0) 132 // Best match: 93% 133 NSTUB(reboot_fw_update, 0xffa15ca0) 131 134 NSTUB(rename, 0xff823e60) 132 135 // Best match: 95% -
trunk/platform/ixus860_sd870/sub/100c/stubs_entry.S
r944 r957 88 88 NSTUB(_pow, 0xffa8c3cc) 89 89 NSTUB(_sqrt, 0xffa8e680) 90 NSTUB(add_ptp_handler, 0xff8caa9c) 90 91 NSTUB(close, 0xff81a258) 91 92 NSTUB(closedir, 0xffa041a4) … … 118 119 NSTUB(read, 0xff81a440) 119 120 NSTUB(readfastdir, 0xffa040d4) 121 NSTUB(reboot_fw_update, 0xffa0ba98) 120 122 NSTUB(rename, 0xff825100) 121 123 NSTUB(srand, 0xff81e9f0) -
trunk/platform/ixus870_sd880/lib.c
r769 r957 95 95 _RefreshPhysicalScreen(1); 96 96 } 97 98 extern void _set_control_event(int); 99 extern void _PB2Rec(); 100 extern void _Rec2PB(); 101 int switch_mode_usb(int mode) 102 { 103 if ( mode == 0 ) 104 { 105 _Rec2PB(); 106 _set_control_event(0x80000902); // 0x10A5 ConnectUSBCable 107 } else if ( mode == 1 ) 108 { 109 _set_control_event(0x902); // 0x10A6 DisconnectUSBCable 110 _PB2Rec(); 111 } else { 112 return 0; 113 } 114 115 return 1; 116 } -
trunk/platform/ixus870_sd880/sub/100e/stubs_entry.S
r944 r957 114 114 NSTUB(_pow, 0xffad1f44) 115 115 NSTUB(_sqrt, 0xffad4da4) 116 NSTUB(add_ptp_handler, 0xff9ef734) 116 117 NSTUB(close, 0xff819864) 117 118 NSTUB(closedir, 0xffa21d60) … … 147 148 NSTUB(read, 0xff819a4c) 148 149 NSTUB(readfastdir, 0xffa21c90) 150 // Best match: 86% 151 NSTUB(reboot_fw_update, 0xffa29690) 149 152 NSTUB(rename, 0xff823bc8) 150 153 // Best match: 95% -
trunk/platform/ixus870_sd880/sub/100e/stubs_entry_2.S
r944 r957 34 34 NHSTUB(MakeAFScan, 0xFF933E50) // via aSsprepareseqba (function with most uses) 35 35 NHSTUB(ExpCtrlTool_StartContiAE, 0xFF830D00) // via aStartcontiae 36 NHSTUB(set_control_event, 0xFF878894) // via eventproc_export_IsControlEventActive (last call) 37 NHSTUB(PB2Rec, 0xFF87BF0C) // via aAcPb2rec 38 NHSTUB(Rec2PB, 0xFF87A8A4) // via aAcRec2pb 36 39 37 40 -
trunk/platform/ixus870_sd880/sub/101a/stubs_entry.S
r944 r957 114 114 NSTUB(_pow, 0xffad1f54) 115 115 NSTUB(_sqrt, 0xffad4db4) 116 NSTUB(add_ptp_handler, 0xff9ef744) 116 117 NSTUB(close, 0xff819864) 117 118 NSTUB(closedir, 0xffa21d70) … … 147 148 NSTUB(read, 0xff819a4c) 148 149 NSTUB(readfastdir, 0xffa21ca0) 150 // Best match: 86% 151 NSTUB(reboot_fw_update, 0xffa296a0) 149 152 NSTUB(rename, 0xff823bc8) 150 153 // Best match: 95% -
trunk/platform/ixus870_sd880/sub/101a/stubs_entry_2.S
r944 r957 37 37 NHSTUB(MakeAFScan, 0xFF933E54) // via aSsprepareseqba (function with most uses) 38 38 NHSTUB(ExpCtrlTool_StartContiAE, 0xFF830D00) // via aStartcontiae 39 NHSTUB(set_control_event, 0xFF878894) // via eventproc_export_IsControlEventActive (last call) 40 NHSTUB(PB2Rec, 0xFF87BF0C) // via aAcPb2rec 41 NHSTUB(Rec2PB, 0xFF87A8A4) // via aAcRec2pb 39 42 40 43 -
trunk/platform/ixus870_sd880/sub/102b/stubs_entry.S
r944 r957 114 114 NSTUB(_pow, 0xffad1f84) 115 115 NSTUB(_sqrt, 0xffad4de4) 116 NSTUB(add_ptp_handler, 0xff9ef744) 116 117 NSTUB(close, 0xff819864) 117 118 NSTUB(closedir, 0xffa21d70) … … 147 148 NSTUB(read, 0xff819a4c) 148 149 NSTUB(readfastdir, 0xffa21ca0) 150 // Best match: 86% 151 NSTUB(reboot_fw_update, 0xffa296a0) 149 152 NSTUB(rename, 0xff823bc8) 150 153 // Best match: 95% -
trunk/platform/ixus870_sd880/sub/102b/stubs_entry_2.S
r944 r957 37 37 NHSTUB(MakeAFScan, 0xFF933E54) // via aSsprepareseqba (function with most uses) 38 38 NHSTUB(ExpCtrlTool_StartContiAE, 0xFF830D00) // via aStartcontiae 39 NHSTUB(set_control_event, 0xFF878894) // via eventproc_export_IsControlEventActive (last call) 40 NHSTUB(PB2Rec, 0xFF87BF0C) // via aAcPb2rec 41 NHSTUB(Rec2PB, 0xFF87A8A4) // via aAcRec2pb 39 42 40 43 -
trunk/platform/ixus90_sd790/sub/100c/stubs_entry.S
r944 r957 98 98 NSTUB(_pow, 0xffaacdcc) 99 99 NSTUB(_sqrt, 0xffaaf138) 100 NSTUB(add_ptp_handler, 0xff9e0928) 100 101 NSTUB(close, 0xff819eac) 101 102 NSTUB(closedir, 0xffa123bc) … … 130 131 NSTUB(read, 0xff81a094) 131 132 NSTUB(readfastdir, 0xffa122ec) 133 // Best match: 93% 134 NSTUB(reboot_fw_update, 0xffa19cec) 132 135 NSTUB(rename, 0xff823e74) 133 136 // Best match: 95% -
trunk/platform/ixus90_sd790/sub/100d/stubs_entry.S
r944 r957 98 98 NSTUB(_pow, 0xffaacdc8) 99 99 NSTUB(_sqrt, 0xffaaf134) 100 NSTUB(add_ptp_handler, 0xff9e0924) 100 101 NSTUB(close, 0xff819eac) 101 102 NSTUB(closedir, 0xffa123b8) … … 130 131 NSTUB(read, 0xff81a094) 131 132 NSTUB(readfastdir, 0xffa122e8) 133 // Best match: 93% 134 NSTUB(reboot_fw_update, 0xffa19ce8) 132 135 NSTUB(rename, 0xff823e74) 133 136 // Best match: 95% -
trunk/platform/ixus950_sd850/sub/100c/stubs_entry.S
r944 r957 111 111 NSTUB(_sqrt, 0xff91d3dc) 112 112 // ALT: NSTUB(_sqrt, 0xff91d3dc) // 24/0 113 // Best match: 96% 114 NSTUB(add_ptp_handler, 0xff9ec59c) 113 115 NSTUB(chdir, 0xff929080) 114 116 // ALT: NSTUB(chdir, 0xff929080) // 27/0 -
trunk/platform/ixus960_sd950/sub/100d/stubs_entry.S
r944 r957 87 87 NSTUB(_pow, 0xffa91f8c) 88 88 NSTUB(_sqrt, 0xffa94240) 89 NSTUB(add_ptp_handler, 0xff8cc2b0) 89 90 NSTUB(close, 0xff81a190) 90 91 NSTUB(closedir, 0xffa0a28c) … … 117 118 NSTUB(read, 0xff81a378) 118 119 NSTUB(readfastdir, 0xffa0a1bc) 120 NSTUB(reboot_fw_update, 0xffa11b80) 119 121 NSTUB(rename, 0xff82509c) 120 122 NSTUB(srand, 0xff81e928) -
trunk/platform/ixus970_sd890/sub/100b/stubs_entry.S
r944 r957 100 100 NSTUB(_pow, 0xffaadc6c) 101 101 NSTUB(_sqrt, 0xffaaffd8) 102 NSTUB(add_ptp_handler, 0xff9e1b24) 102 103 NSTUB(close, 0xff819eac) 103 104 NSTUB(closedir, 0xffa135d0) … … 132 133 NSTUB(read, 0xff81a094) 133 134 NSTUB(readfastdir, 0xffa13500) 135 // Best match: 93% 136 NSTUB(reboot_fw_update, 0xffa1af00) 134 137 NSTUB(rename, 0xff823e64) 135 138 // Best match: 95% -
trunk/platform/ixus970_sd890/sub/100c/stubs_entry.S
r944 r957 100 100 NSTUB(_pow, 0xffaadd40) 101 101 NSTUB(_sqrt, 0xffab00ac) 102 NSTUB(add_ptp_handler, 0xff9e1b24) 102 103 NSTUB(close, 0xff819eac) 103 104 NSTUB(closedir, 0xffa135d0) … … 132 133 NSTUB(read, 0xff81a094) 133 134 NSTUB(readfastdir, 0xffa13500) 135 // Best match: 93% 136 NSTUB(reboot_fw_update, 0xffa1af00) 134 137 NSTUB(rename, 0xff823e64) 135 138 // Best match: 95% -
trunk/platform/ixus970_sd890/sub/100f/stubs_entry.S
r944 r957 100 100 NSTUB(_pow, 0xffaadd24) 101 101 NSTUB(_sqrt, 0xffab0090) 102 NSTUB(add_ptp_handler, 0xff9e1a94) 102 103 NSTUB(close, 0xff819eac) 103 104 NSTUB(closedir, 0xffa13540) … … 132 133 NSTUB(read, 0xff81a094) 133 134 NSTUB(readfastdir, 0xffa13470) 135 // Best match: 93% 136 NSTUB(reboot_fw_update, 0xffa1ae70) 134 137 NSTUB(rename, 0xff823e64) 135 138 // Best match: 95% -
trunk/platform/ixus980_sd990/sub/100e/stubs_entry.S
r944 r957 114 114 NSTUB(_pow, 0xffade8b8) 115 115 NSTUB(_sqrt, 0xffae1718) 116 NSTUB(add_ptp_handler, 0xff9fbed8) 116 117 NSTUB(close, 0xff819864) 117 118 NSTUB(closedir, 0xffa2ec50) … … 147 148 NSTUB(read, 0xff819a4c) 148 149 NSTUB(readfastdir, 0xffa2eb80) 150 // Best match: 86% 151 NSTUB(reboot_fw_update, 0xffa36580) 149 152 NSTUB(rename, 0xff823c48) 150 153 // Best match: 95% -
trunk/platform/ixus980_sd990/sub/101b/stubs_entry.S
r944 r957 114 114 NSTUB(_pow, 0xffade8e8) 115 115 NSTUB(_sqrt, 0xffae1748) 116 NSTUB(add_ptp_handler, 0xff9fbed8) 116 117 NSTUB(close, 0xff819864) 117 118 NSTUB(closedir, 0xffa2ec50) … … 147 148 NSTUB(read, 0xff819a4c) 148 149 NSTUB(readfastdir, 0xffa2eb80) 150 // Best match: 86% 151 NSTUB(reboot_fw_update, 0xffa36580) 149 152 NSTUB(rename, 0xff823c48) 150 153 // Best match: 95% -
trunk/platform/ixusizoom_sd30/sub/100g/stubs_entry.S
r944 r957 108 108 NSTUB(_sqrt, 0xffac1a84) 109 109 // ALT: NSTUB(_sqrt, 0xffac1a84) // 24/0 110 // Best match: 96% 111 NSTUB(add_ptp_handler, 0xffa3990c) 110 112 NSTUB(chdir, 0xffad0ce0) 111 113 // ALT: NSTUB(chdir, 0xffad0ce0) // 27/0 -
trunk/platform/s2is/sub/100e/stubs_entry.S
r944 r957 105 105 NSTUB(_sqrt, 0xffae5924) 106 106 // ALT: NSTUB(_sqrt, 0xffae5924) // 24/0 107 // Best match: 96% 108 NSTUB(add_ptp_handler, 0xffa4bc48) 107 109 NSTUB(chdir, 0xffaf4b80) 108 110 // ALT: NSTUB(chdir, 0xffaf4b80) // 27/0 -
trunk/platform/s2is/sub/100f/stubs_entry.S
r944 r957 114 114 NSTUB(_sqrt, 0xffae59a4) 115 115 // ALT: NSTUB(_sqrt, 0xffae59a4) // 24/0 116 // Best match: 96% 117 NSTUB(add_ptp_handler, 0xffa4bc20) 116 118 NSTUB(chdir, 0xffaf4c00) 117 119 // ALT: NSTUB(chdir, 0xffaf4c00) // 27/0 -
trunk/platform/s2is/sub/100g/stubs_entry.S
r944 r957 114 114 NSTUB(_sqrt, 0xffae5730) 115 115 // ALT: NSTUB(_sqrt, 0xffae5730) // 24/0 116 // Best match: 96% 117 NSTUB(add_ptp_handler, 0xffa4b9ac) 116 118 NSTUB(chdir, 0xffaf498c) 117 119 // ALT: NSTUB(chdir, 0xffaf498c) // 27/0 -
trunk/platform/s3is/sub/100a/stubs_entry.S
r944 r957 106 106 NSTUB(_sqrt, 0xffb47abc) 107 107 // ALT: NSTUB(_sqrt, 0xffb47abc) // 24/0 108 // Best match: 96% 109 NSTUB(add_ptp_handler, 0xffab0098) 108 110 NSTUB(chdir, 0xffb54858) 109 111 // ALT: NSTUB(chdir, 0xffb54858) // 27/0 -
trunk/platform/s5is/sub/101a/stubs_entry.S
r944 r957 99 99 NSTUB(_pow, 0xffa93074) 100 100 NSTUB(_sqrt, 0xffa95328) 101 NSTUB(add_ptp_handler, 0xff8f048c) 101 102 NSTUB(close, 0xff81a0e0) 102 103 NSTUB(closedir, 0xffa27a98) … … 130 131 NSTUB(read, 0xff81a2c8) 131 132 NSTUB(readfastdir, 0xffa279c8) 133 NSTUB(reboot_fw_update, 0xffa2f824) 132 134 NSTUB(rename, 0xff825e60) 133 135 // Best match: 95% -
trunk/platform/s5is/sub/101b/stubs_entry.S
r944 r957 99 99 NSTUB(_pow, 0xffa92f80) 100 100 NSTUB(_sqrt, 0xffa95234) 101 NSTUB(add_ptp_handler, 0xff8f03c4) 101 102 NSTUB(close, 0xff81a018) 102 103 NSTUB(closedir, 0xffa279d0) … … 130 131 NSTUB(read, 0xff81a200) 131 132 NSTUB(readfastdir, 0xffa27900) 133 NSTUB(reboot_fw_update, 0xffa2f75c) 132 134 NSTUB(rename, 0xff825d98) 133 135 // Best match: 95% -
trunk/platform/s90/sub/100c/stubs_entry.S
r944 r957 103 103 NSTUB(_pow, 0xffb353f4) 104 104 NSTUB(_sqrt, 0xffb3819c) 105 NSTUB(add_ptp_handler, 0xffa46fc0) 105 106 NSTUB(close, 0xff81a990) 106 107 NSTUB(closedir, 0xffa7d5d0) … … 134 135 NSTUB(read, 0xff81ab78) 135 136 // ERROR: readfastdir is not found! 137 // Best match: 82% 138 NSTUB(reboot_fw_update, 0xffa82c58) 136 139 // ERROR: rename is not found! 137 140 // Best match: 95% -
trunk/platform/s90/sub/101a/stubs_entry.S
r944 r957 103 103 NSTUB(_pow, 0xffb35448) 104 104 NSTUB(_sqrt, 0xffb381f0) 105 NSTUB(add_ptp_handler, 0xffa47014) 105 106 NSTUB(close, 0xff81a990) 106 107 NSTUB(closedir, 0xffa7d624) … … 134 135 NSTUB(read, 0xff81ab78) 135 136 // ERROR: readfastdir is not found! 137 // Best match: 82% 138 NSTUB(reboot_fw_update, 0xffa82cac) 136 139 // ERROR: rename is not found! 137 140 // Best match: 95% -
trunk/platform/s90/sub/101c/stubs_entry.S
r944 r957 103 103 NSTUB(_pow, 0xffb35604) 104 104 NSTUB(_sqrt, 0xffb383ac) 105 NSTUB(add_ptp_handler, 0xffa471d0) 105 106 NSTUB(close, 0xff81a990) 106 107 NSTUB(closedir, 0xffa7d7e0) … … 134 135 NSTUB(read, 0xff81ab78) 135 136 // ERROR: readfastdir is not found! 137 // Best match: 82% 138 NSTUB(reboot_fw_update, 0xffa82e68) 136 139 // ERROR: rename is not found! 137 140 // Best match: 95% -
trunk/platform/sx1/sub/200h/stubs_entry.S
r944 r957 116 116 NSTUB(_pow, 0xffb27140) 117 117 NSTUB(_sqrt, 0xffb29fa0) 118 NSTUB(add_ptp_handler, 0xffa3afbc) 118 119 NSTUB(close, 0xff819864) 119 120 NSTUB(closedir, 0xffa6ff34) … … 148 149 NSTUB(read, 0xff819a4c) 149 150 NSTUB(readfastdir, 0xffa6fe64) 151 // Best match: 86% 152 NSTUB(reboot_fw_update, 0xffa77864) 150 153 NSTUB(rename, 0xff823b18) 151 154 // Best match: 95% -
trunk/platform/sx1/sub/201a/stubs_entry.S
r944 r957 116 116 NSTUB(_pow, 0xffb27154) 117 117 NSTUB(_sqrt, 0xffb29fb4) 118 NSTUB(add_ptp_handler, 0xffa3afd0) 118 119 NSTUB(close, 0xff819864) 119 120 NSTUB(closedir, 0xffa6ff48) … … 148 149 NSTUB(read, 0xff819a4c) 149 150 NSTUB(readfastdir, 0xffa6fe78) 151 // Best match: 86% 152 NSTUB(reboot_fw_update, 0xffa77878) 150 153 NSTUB(rename, 0xff823b18) 151 154 // Best match: 95% -
trunk/platform/sx10/sub/100c/stubs_entry.S
r944 r957 117 117 NSTUB(_pow, 0xffb006d0) 118 118 NSTUB(_sqrt, 0xffb03530) 119 NSTUB(add_ptp_handler, 0xffa1726c) 119 120 NSTUB(close, 0xff819864) 120 121 NSTUB(closedir, 0xffa491e4) … … 150 151 NSTUB(read, 0xff819a4c) 151 152 NSTUB(readfastdir, 0xffa49114) 153 // Best match: 86% 154 NSTUB(reboot_fw_update, 0xffa50b14) 152 155 NSTUB(rename, 0xff823b38) 153 156 // Best match: 95% -
trunk/platform/sx10/sub/101a/stubs_entry.S
r944 r957 117 117 NSTUB(_pow, 0xffb006e0) 118 118 NSTUB(_sqrt, 0xffb03540) 119 NSTUB(add_ptp_handler, 0xffa1727c) 119 120 NSTUB(close, 0xff819864) 120 121 NSTUB(closedir, 0xffa491f4) … … 150 151 NSTUB(read, 0xff819a4c) 151 152 NSTUB(readfastdir, 0xffa49124) 153 // Best match: 86% 154 NSTUB(reboot_fw_update, 0xffa50b24) 152 155 NSTUB(rename, 0xff823b38) 153 156 // Best match: 95% -
trunk/platform/sx10/sub/101b/stubs_entry.S
r944 r957 117 117 NSTUB(_pow, 0xffb0080c) 118 118 NSTUB(_sqrt, 0xffb0366c) 119 NSTUB(add_ptp_handler, 0xffa1731c) 119 120 NSTUB(close, 0xff819864) 120 121 NSTUB(closedir, 0xffa49294) … … 150 151 NSTUB(read, 0xff819a4c) 151 152 NSTUB(readfastdir, 0xffa491c4) 153 // Best match: 86% 154 NSTUB(reboot_fw_update, 0xffa50bc4) 152 155 NSTUB(rename, 0xff823b38) 153 156 // Best match: 95% -
trunk/platform/sx10/sub/102b/stubs_entry.S
r944 r957 117 117 NSTUB(_pow, 0xffb0083c) 118 118 NSTUB(_sqrt, 0xffb0369c) 119 NSTUB(add_ptp_handler, 0xffa1731c) 119 120 NSTUB(close, 0xff819864) 120 121 NSTUB(closedir, 0xffa49294) … … 150 151 NSTUB(read, 0xff819a4c) 151 152 NSTUB(readfastdir, 0xffa491c4) 153 // Best match: 86% 154 NSTUB(reboot_fw_update, 0xffa50bc4) 152 155 NSTUB(rename, 0xff823b38) 153 156 // Best match: 95% -
trunk/platform/sx10/sub/103a/stubs_entry.S
r944 r957 117 117 NSTUB(_pow, 0xffb00850) 118 118 NSTUB(_sqrt, 0xffb036b0) 119 NSTUB(add_ptp_handler, 0xffa17330) 119 120 NSTUB(close, 0xff819864) 120 121 NSTUB(closedir, 0xffa492a8) … … 150 151 NSTUB(read, 0xff819a4c) 151 152 NSTUB(readfastdir, 0xffa491d8) 153 // Best match: 86% 154 NSTUB(reboot_fw_update, 0xffa50bd8) 152 155 NSTUB(rename, 0xff823b38) 153 156 // Best match: 95% -
trunk/platform/sx100is/sub/100b/stubs_entry.S
r944 r957 88 88 NSTUB(_pow, 0xffe570a4) 89 89 NSTUB(_sqrt, 0xffe59358) 90 NSTUB(add_ptp_handler, 0xffcb53a4) 90 91 NSTUB(close, 0xffc0a258) 91 92 NSTUB(closedir, 0xffddc74c) … … 121 122 NSTUB(read, 0xffc0a440) 122 123 NSTUB(readfastdir, 0xffddc67c) 124 NSTUB(reboot_fw_update, 0xffde101c) 123 125 NSTUB(rename, 0xffc15120) 124 126 NSTUB(srand, 0xffc0e9ec) -
trunk/platform/sx100is/sub/100c/stubs_entry.S
r944 r957 88 88 NSTUB(_pow, 0xffe570d8) 89 89 NSTUB(_sqrt, 0xffe5938c) 90 NSTUB(add_ptp_handler, 0xffcb53d8) 90 91 NSTUB(close, 0xffc0a258) 91 92 NSTUB(closedir, 0xffddc780) … … 121 122 NSTUB(read, 0xffc0a440) 122 123 NSTUB(readfastdir, 0xffddc6b0) 124 NSTUB(reboot_fw_update, 0xffde1050) 123 125 NSTUB(rename, 0xffc15120) 124 126 NSTUB(srand, 0xffc0e9ec) -
trunk/platform/sx110is/sub/100b/stubs_entry.S
r944 r957 114 114 NSTUB(_pow, 0xffe8f4c4) 115 115 NSTUB(_sqrt, 0xffe91778) 116 NSTUB(add_ptp_handler, 0xffdc1104) 116 117 NSTUB(close, 0xffc09f50) 117 118 NSTUB(closedir, 0xffdf3688) … … 147 148 NSTUB(read, 0xffc0a138) 148 149 NSTUB(readfastdir, 0xffdf35b8) 150 // Best match: 86% 151 NSTUB(reboot_fw_update, 0xffdf7e8c) 149 152 NSTUB(rename, 0xffc1341c) 150 153 // Best match: 95% -
trunk/platform/sx20/sub/102b/stubs_entry.S
r944 r957 107 107 NSTUB(_pow, 0xffb36dd0) 108 108 NSTUB(_sqrt, 0xffb39084) 109 NSTUB(add_ptp_handler, 0xffa49164) 109 110 NSTUB(close, 0xff81a990) 110 111 NSTUB(closedir, 0xffa7d3a0) … … 140 141 NSTUB(read, 0xff81ab78) 141 142 // ERROR: readfastdir is not found! 143 // Best match: 82% 144 NSTUB(reboot_fw_update, 0xffa82a28) 142 145 // ERROR: rename is not found! 143 146 // Best match: 95% -
trunk/platform/sx20/sub/102d/stubs_entry.S
r944 r957 107 107 NSTUB(_pow, 0xffb36f8c) 108 108 NSTUB(_sqrt, 0xffb39240) 109 NSTUB(add_ptp_handler, 0xffa49320) 109 110 NSTUB(close, 0xff81a990) 110 111 NSTUB(closedir, 0xffa7d55c) … … 140 141 NSTUB(read, 0xff81ab78) 141 142 // ERROR: readfastdir is not found! 143 // Best match: 82% 144 NSTUB(reboot_fw_update, 0xffa82be4) 142 145 // ERROR: rename is not found! 143 146 // Best match: 95% -
trunk/platform/sx200is/sub/100c/stubs_entry.S
r944 r957 106 106 NSTUB(_pow, 0xffaf91bc) 107 107 NSTUB(_sqrt, 0xffafbf64) 108 NSTUB(add_ptp_handler, 0xffa125d4) 108 109 NSTUB(close, 0xff8198fc) 109 110 NSTUB(closedir, 0xffa47a1c) … … 139 140 NSTUB(read, 0xff819ae4) 140 141 NSTUB(readfastdir, 0xffa4794c) 142 // Best match: 86% 143 NSTUB(reboot_fw_update, 0xffa4effc) 141 144 NSTUB(rename, 0xff823dc4) 142 145 // Best match: 95% -
trunk/platform/tx1/sub/100g/stubs_entry.S
r944 r957 106 106 NSTUB(_sqrt, 0xff91ccdc) 107 107 // ALT: NSTUB(_sqrt, 0xff91ccdc) // 24/0 108 // Best match: 96% 109 NSTUB(add_ptp_handler, 0xff9f6390) 108 110 NSTUB(chdir, 0xff928afc) 109 111 // ALT: NSTUB(chdir, 0xff928afc) // 27/0 -
trunk/platform/tx1/sub/101b/stubs_entry.S
r944 r957 106 106 NSTUB(_sqrt, 0xff91ccdc) 107 107 // ALT: NSTUB(_sqrt, 0xff91ccdc) // 24/0 108 // Best match: 96% 109 NSTUB(add_ptp_handler, 0xff9f6410) 108 110 NSTUB(chdir, 0xff928afc) 109 111 // ALT: NSTUB(chdir, 0xff928afc) // 27/0 -
trunk/tools/sig_ref_dryos_1.txt
r944 r957 106 106 strtolx 0xFFC1FA10 107 107 Restart 0xFFC1B8A4 108 add_ptp_handler 0xFFCAD7D0 109 reboot_fw_update 0xFFDC6538 -
trunk/tools/sig_ref_dryos_3.txt
r944 r957 28 28 GetFocusLensSubjectDistanceFromLens 0xFF9430E8 22 29 29 Restart 0xFF83A130 30 add_ptp_handler 0xFFA3F97C -
trunk/tools/sig_ref_vxworks_1.txt
r944 r957 138 138 strtoul 0xFFEB5814 139 139 Restart 0xFFC12800 140 add_ptp_handler 0xFFE222D0 -
trunk/tools/signatures_dryos.h
r944 r957 3197 3197 }; 3198 3198 3199 static FuncSig func_sig_add_ptp_handler_1[] = { 3200 { 1, 0xe1a07000, 0xfdffffff }, // mov:6:0xE1A07000 3201 { 2, 0xe59f00c0, 0xfdffffff }, // ldr:4:0xE59F00C0 3202 { 3, 0xe1a08002, 0xfdffffff }, // mov:6:0xE1A08002 3203 { 4, 0xe5900000, 0xfdffffff }, // ldr:4:0xE5900000 3204 { 5, 0xe1a05001, 0xfdffffff }, // mov:6:0xE1A05001 3205 { 6, 0xe1500000, 0xfdffffff }, // cmp:7:0xE3500000 3206 { 7, 0x01a00017, 0xfdffffff }, // mov:6:0x03A00017 3207 { 9, 0xe1550000, 0xfdffffff }, // cmp:7:0xE3550000 3208 { 10, 0x01a00003, 0xfdffffff }, // mov:6:0x03A00003 3209 { 12, 0xe5909000, 0xfdffffff }, // ldr:4:0xE5909000 3210 { 13, 0xe0804004, 0xfdffffff }, // add:6:0xE2804004 3211 { 14, 0xe1a00009, 0xfdffffff }, // mov:6:0xE1A00009 3212 { 15, 0xe1a01000, 0xfdffffff }, // mov:6:0xE3A01000 3213 { 16, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFD7891 3214 { 17, 0xe1100001, 0xfdffffff }, // tst:7:0xE3100001 3215 { 18, 0x11a06001, 0xfdffffff }, // mov:6:0x13A06001 3216 { 19, 0x1a000000, 0xff000000 }, // b, bl:3:0x1A000018 3217 { 20, 0xe1a01007, 0xfdffffff }, // mov:6:0xE1A01007 3218 { 21, 0xe1a00004, 0xfdffffff }, // mov:6:0xE1A00004 3219 { 22, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB00016F 3220 { 23, 0xe1500000, 0xfdffffff }, // cmp:7:0xE3500000 3221 { 24, 0x0a000000, 0xff000000 }, // b, bl:3:0x0A000004 3222 { 25, 0xe580500c, 0xfdffffff }, // str:4:0xE580500C 3223 { 26, 0xe1a00009, 0xfdffffff }, // mov:6:0xE1A00009 3224 { 27, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFD78BA 3225 { 28, 0xe1a06013, 0xfdffffff }, // mov:6:0xE3A06013 3226 { 29, 0xea000000, 0xff000000 }, // b, bl:3:0xEA00000E 3227 { 30, 0xe1a00010, 0xfdffffff }, // mov:6:0xE3A00010 3228 { 31, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFDAFD3 3229 { -1, -1, -1 }, 3230 /* 29/32 */ 3231 }; 3232 3233 static FuncSig func_sig_reboot_fw_update_1[] = { 3234 { 1, 0xe1a04000, 0xfdffffff }, // mov:6:0xE1A04000 3235 { 2, 0xe1a01000, 0xfdffffff }, // mov:6:0xE1A01000 3236 { 3, 0xe59f0114, 0xfdffffff }, // ldr:4:0xE59F0114 3237 { 4, 0xe1a02020, 0xfdffffff }, // mov:6:0xE3A02020 3238 { 5, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB01D39C 3239 { 6, 0xe1a02000, 0xfdffffff }, // mov:6:0xE3A02000 3240 { 7, 0xe1a01000, 0xfdffffff }, // mov:6:0xE3A01000 3241 { 8, 0xe1a00004, 0xfdffffff }, // mov:6:0xE1A00004 3242 { 9, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBF93AA8 3243 { 11, 0xe1a06000, 0xfdffffff }, // mov:6:0xE1A06000 3244 { 12, 0x059f10f4, 0xfdffffff }, // ldr:4:0x059F10F4 3245 { 13, 0x008f00f4, 0xfdffffff }, // add:6:0x028F00F4 3246 { 14, 0x0b000000, 0xff000000 }, // b, bl:3:0x0BF916C8 3247 { 15, 0xe59f70e0, 0xfdffffff }, // ldr:4:0xE59F70E0 3248 { 16, 0xe5970004, 0xfdffffff }, // ldr:4:0xE5970004 3249 { 17, 0xe1500000, 0xfdffffff }, // cmp:7:0xE3500000 3250 { 18, 0x1a000000, 0xff000000 }, // b, bl:3:0x1A000008 3251 { 19, 0xe5970000, 0xfdffffff }, // ldr:4:0xE5970000 3252 { 21, 0xe1a04000, 0xfdffffff }, // mov:6:0xE1A04000 3253 { 22, 0xe1a000b0, 0xfdffffff }, // mov:6:0xE3A000B0 3254 { 23, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBF94C81 3255 { 24, 0xe1a01000, 0xfdffffff }, // mov:6:0xE1A01000 3256 { 25, 0xe5870004, 0xfdffffff }, // str:4:0xE5870004 3257 { 26, 0xe1a00004, 0xfdffffff }, // mov:6:0xE1A00004 3258 { 27, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB012804 3259 { 28, 0xe5971004, 0xfdffffff }, // ldr:4:0xE5971004 3260 { 29, 0xe1a00006, 0xfdffffff }, // mov:6:0xE1A00006 3261 { 30, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB01990F 3262 { 31, 0xe1b04000, 0xfdffffff }, // mov:6:0xE1B04000 3263 { -1, -1, -1 }, 3264 /* 29/32 */ 3265 }; 3266 3199 3267 static FuncSig func_sig_AllocateMemory_2[] = { 3200 3268 { 0, 0xe5900000, 0xfdffffff }, // ldr:4:0xE5900000 … … 4706 4774 { -1, -1, -1 }, 4707 4775 /* 26/32 */ 4776 }; 4777 4778 static FuncSig func_sig_add_ptp_handler_3[] = { 4779 { 1, 0xe51f4030, 0xfdffffff }, // ldr:4:0xE51F4030 4780 { 2, 0xe1a07000, 0xfdffffff }, // mov:6:0xE1A07000 4781 { 3, 0xe5940000, 0xfdffffff }, // ldr:4:0xE5940000 4782 { 4, 0xe1a08002, 0xfdffffff }, // mov:6:0xE1A08002 4783 { 5, 0xe1500000, 0xfdffffff }, // cmp:7:0xE3500000 4784 { 6, 0x01a00017, 0xfdffffff }, // mov:6:0x03A00017 4785 { 7, 0xe1a05001, 0xfdffffff }, // mov:6:0xE1A05001 4786 { 9, 0xe1550000, 0xfdffffff }, // cmp:7:0xE3550000 4787 { 10, 0x01a00003, 0xfdffffff }, // mov:6:0x03A00003 4788 { 12, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBF87F0F 4789 { 13, 0xe1500000, 0xfdffffff }, // cmp:7:0xE3500000 4790 { 14, 0x0a000000, 0xff000000 }, // b, bl:3:0x0A000004 4791 { 15, 0xe1a00007, 0xfdffffff }, // mov:6:0xE1A00007 4792 { 16, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFFFFB5 4793 { 17, 0xe1100001, 0xfdffffff }, // tst:7:0xE3100001 4794 { 18, 0x11a00000, 0xfdffffff }, // mov:6:0x13A00000 4795 { 20, 0xe5940000, 0xfdffffff }, // ldr:4:0xE5940000 4796 { 21, 0xe1a01000, 0xfdffffff }, // mov:6:0xE3A01000 4797 { 22, 0xe5909000, 0xfdffffff }, // ldr:4:0xE5909000 4798 { 23, 0xe0804004, 0xfdffffff }, // add:6:0xE2804004 4799 { 24, 0xe1a00009, 0xfdffffff }, // mov:6:0xE1A00009 4800 { 25, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBF7E24F 4801 { 26, 0xe1100001, 0xfdffffff }, // tst:7:0xE3100001 4802 { 27, 0x11a06001, 0xfdffffff }, // mov:6:0x13A06001 4803 { 28, 0x1a000000, 0xff000000 }, // b, bl:3:0x1A000018 4804 { 29, 0xe1a01007, 0xfdffffff }, // mov:6:0xE1A01007 4805 { 30, 0xe1a00004, 0xfdffffff }, // mov:6:0xE1A00004 4806 { 31, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB000133 4807 { -1, -1, -1 }, 4808 /* 28/32 */ 4708 4809 }; 4709 4810 … … 4804 4905 { "_pow", func_sig__pow_1 }, 4805 4906 { "_sqrt", func_sig__sqrt_1 }, 4907 { "add_ptp_handler", func_sig_add_ptp_handler_1 }, 4908 { "add_ptp_handler", func_sig_add_ptp_handler_3 }, 4806 4909 { "close", func_sig_close_1 }, 4807 4910 { "closedir", func_sig_closedir_1 }, … … 4841 4944 { "read", func_sig_read_1 }, 4842 4945 { "readfastdir", func_sig_readfastdir_1 }, 4946 { "reboot_fw_update", func_sig_reboot_fw_update_1 }, 4843 4947 { "rename", func_sig_rename_1 }, 4844 4948 { "srand", func_sig_srand_1 }, -
trunk/tools/signatures_vxworks.h
r944 r957 3682 3682 { -1, -1, -1 }, 3683 3683 /* 26/32 */ 3684 }; 3685 3686 static FuncSig func_sig_add_ptp_handler_1[] = { 3687 { 1, 0xe59f3070, 0xfdffffff }, // ldr:4:0xE59F3070 3688 { 2, 0xe5933000, 0xfdffffff }, // ldr:4:0xE5933000 3689 { 3, 0xe1a0c800, 0xfdffffff }, // mov:6:0xE1A0C800 3690 { 4, 0xe1530000, 0xfdffffff }, // cmp:7:0xE3530000 3691 { 5, 0xe1a0e001, 0xfdffffff }, // mov:6:0xE1A0E001 3692 { 6, 0xe1a00017, 0xfdffffff }, // mov:6:0xE3A00017 3693 { 7, 0xe1a05002, 0xfdffffff }, // mov:6:0xE1A05002 3694 { 8, 0xe1a0184c, 0xfdffffff }, // mov:6:0xE1A0184C 3695 { 10, 0xe15e0000, 0xfdffffff }, // cmp:7:0xE35E0000 3696 { 11, 0xe1a01801, 0xfdffffff }, // mov:6:0xE1A01801 3697 { 12, 0xe1a0200e, 0xfdffffff }, // mov:6:0xE1A0200E 3698 { 13, 0xe0830004, 0xfdffffff }, // add:6:0xE2830004 3699 { 14, 0x01a00003, 0xfdffffff }, // mov:6:0x03A00003 3700 { 16, 0xe5933000, 0xfdffffff }, // ldr:4:0xE5933000 3701 { 17, 0xe1a01821, 0xfdffffff }, // mov:6:0xE1A01821 3702 { 18, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB00020A 3703 { 19, 0xe1a04000, 0xfdffffff }, // mov:6:0xE1A04000 3704 { 20, 0xe1540013, 0xfdffffff }, // cmp:7:0xE3540013 3705 { 22, 0x10033001, 0xfdffffff }, // and:6:0x12033001 3706 { 23, 0x01a03001, 0xfdffffff }, // mov:6:0x03A03001 3707 { 24, 0xe1530000, 0xfdffffff }, // cmp:7:0xE3530000 3708 { 25, 0x0a000000, 0xff000000 }, // b, bl:3:0x0A000002 3709 { 26, 0xe1550000, 0xfdffffff }, // cmp:7:0xE3550000 3710 { 27, 0x0a000000, 0xff000000 }, // b, bl:3:0x0A000000 3711 { 28, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFFFF8D 3712 { 29, 0xe1a00004, 0xfdffffff }, // mov:6:0xE1A00004 3713 { 31, 0x00009ea4, 0xfdffffff }, // and:6:0x00009EA4 3714 { -1, -1, -1 }, 3715 /* 27/32 */ 3684 3716 }; 3685 3717 … … 5509 5541 { "_sqrt", func_sig__sqrt_1 }, 5510 5542 { "_sqrt", func_sig__sqrt_2 }, 5543 { "add_ptp_handler", func_sig_add_ptp_handler_1 }, 5511 5544 { "chdir", func_sig_chdir_1 }, 5512 5545 { "chdir", func_sig_chdir_2 },
Note: See TracChangeset
for help on using the changeset viewer.