Changeset 944


Ignore:
Timestamp:
09/19/10 22:52:57 (3 years ago)
Author:
reyalp
Message:

experimental reboot support. See http://chdk.setepontos.com/index.php/topic,5648.msg55194.html#msg55194

Location:
trunk
Files:
1 added
149 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/luascript.c

    r920 r944  
    12951295 
    12961296#endif // OPT_LUA_CALL_NATIVE 
     1297 
     1298/* 
     1299result = reboot(["filename"]) 
     1300returns false on failure, does not return on success 
     1301see lib/armutil/reboot.c for details 
     1302*/ 
     1303static int luaCB_reboot( lua_State* L ) 
     1304{ 
     1305        lua_pushboolean(L, reboot(luaL_optstring( L, 1, NULL ))); 
     1306        return 1; 
     1307} 
    12971308 
    12981309void register_lua_funcs( lua_State* L ) 
     
    14591470   FUNC(call_func_ptr); 
    14601471#endif 
    1461 } 
     1472   FUNC(reboot); 
     1473} 
  • trunk/include/lolevel.h

    r871 r944  
    280280// known in CHDK as _RefreshPhysicalScreen 
    281281//extern void _ScreenUnLock(); 
    282 #endif 
     282 
     283// 7 calls functions and sets some MMIOs, but doesn't disable caches and actually restart 
     284// 3 skips one function call on some cameras, but does restart 
     285void _Restart(unsigned option); 
     286#endif 
  • trunk/include/platform.h

    r871 r944  
    485485unsigned call_func_ptr(void *func, const unsigned *args, unsigned n_args); 
    486486 
     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 
     499*/ 
     500int reboot(const char *bootfile); 
    487501 
    488502#define started() debug_led(1) 
  • trunk/lib/armutil/Makefile

    r864 r944  
    33include $(topdir)makefile.inc 
    44 
    5 OBJS = reversebytes.o callfunc.o 
     5OBJS = reversebytes.o callfunc.o reboot.o 
    66 
    77all: libarmutil.a 
  • trunk/lib/ubasic/tokenizer.c

    r899 r944  
    222222   {"set_aflock",            TOKENIZER_SET_AFLOCK}, 
    223223  {"is_capture_mode_valid",  TOKENIZER_IS_CAPTURE_MODE_VALID}, 
     224  {"reboot",                 TOKENIZER_REBOOT}, 
    224225   
    225226  {"end",                     TOKENIZER_END}, 
  • trunk/lib/ubasic/tokenizer.h

    r899 r944  
    197197  TOKENIZER_SET_CAPTURE_MODE_CANON, 
    198198  TOKENIZER_IS_CAPTURE_MODE_VALID, 
     199  TOKENIZER_REBOOT, 
    199200   
    200201} ubasic_token; 
  • trunk/lib/ubasic/ubasic.c

    r899 r944  
    20902090} 
    20912091 
     2092static void reboot_statement() { 
     2093    accept(TOKENIZER_REBOOT); 
     2094    if(tokenizer_token() == TOKENIZER_STRING) { 
     2095      tokenizer_string(string, sizeof(string)); 
     2096      tokenizer_next(); 
     2097          reboot(string); 
     2098        } else { 
     2099          reboot(NULL); 
     2100        } 
     2101} 
     2102 
    20922103/*---------------------------------------------------------------------------*/ 
    20932104 
     
    26432654    break; 
    26442655 
     2656 case TOKENIZER_REBOOT: { 
     2657        reboot_statement(); 
     2658        break; 
     2659  } 
     2660 
    26452661 
    26462662  default: 
  • trunk/platform/a2000/sub/100c/stubs_entry.S

    r865 r944  
    7878// Best match: 93% 
    7979NSTUB(RenameFile_Fut, 0xffc12b9c) 
     80// Best match: 76% 
     81NSTUB(Restart, 0xffc189e8) 
     82// ALT: NSTUB(Restart, 0xffc189f0) // 20/6 
     83// ALT: NSTUB(Restart, 0xffdf01f4) // 20/6 
    8084// Best match: 93% 
    8185NSTUB(SetAutoShutdownTime, 0xffc5ca24) 
  • trunk/platform/a2000/sub/100c/stubs_entry_2.S

    r844 r944  
    174174 
    175175NHSTUB(SetScriptMode,                                                                           0xFFC5C77C) // string 
     176NHSTUB(Restart, 0xFFC189EC)  
  • trunk/platform/a450/sub/100d/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xffe1d804) 
    8080NSTUB(RenameFile_Fut, 0xffe18d14) 
     81// Best match: 96% 
     82NSTUB(Restart, 0xffc0b250) 
    8183NSTUB(SetAutoShutdownTime, 0xffea64f8) 
    8284NSTUB(SetCurrentCaptureModeType, 0xffc17b90) 
  • trunk/platform/a460/sub/100d/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xffe1d7f0) 
    8080NSTUB(RenameFile_Fut, 0xffe18d00) 
     81// Best match: 96% 
     82NSTUB(Restart, 0xffc0b250) 
    8183NSTUB(SetAutoShutdownTime, 0xffea64e0) 
    8284NSTUB(SetCurrentCaptureModeType, 0xffc17b90) 
  • trunk/platform/a470/sub/100e/stubs_entry.S

    r865 r944  
    7070// Best match: 93% 
    7171NSTUB(RenameFile_Fut, 0xffc133b4) 
     72NSTUB(Restart, 0xffc19690) 
    7273// Best match: 93% 
    7374NSTUB(SetAutoShutdownTime, 0xffc5b5dc) 
  • trunk/platform/a470/sub/101b/stubs_entry.S

    r865 r944  
    7070// Best match: 93% 
    7171NSTUB(RenameFile_Fut, 0xffc133b4) 
     72NSTUB(Restart, 0xffc19690) 
    7273// Best match: 93% 
    7374NSTUB(SetAutoShutdownTime, 0xffc5b5dc) 
  • trunk/platform/a470/sub/102c/stubs_entry.S

    r865 r944  
    7070// Best match: 93% 
    7171NSTUB(RenameFile_Fut, 0xffc133b4) 
     72NSTUB(Restart, 0xffc19690) 
    7273// Best match: 93% 
    7374NSTUB(SetAutoShutdownTime, 0xffc5baf8) 
  • trunk/platform/a480/sub/100b/stubs_entry.S

    r884 r944  
    6969// Best match: 93% 
    7070NSTUB(RenameFile_Fut, 0xffc12a84) 
     71NSTUB(Restart, 0xffc17e44) 
    7172// Best match: 93% 
    7273NSTUB(SetAutoShutdownTime, 0xffc55284) 
  • trunk/platform/a530/sub/100a/stubs_entry.S

    r865 r944  
    7676NSTUB(Remove, 0xffc5e4d0) 
    7777NSTUB(RenameFile_Fut, 0xffc575a0) 
     78NSTUB(Restart, 0xffc12774) 
    7879NSTUB(SetAutoShutdownTime, 0xffd47c68) 
    7980NSTUB(SetCurrentCaptureModeType, 0xffd77c3c) 
  • trunk/platform/a540/sub/100b/stubs_entry.S

    r865 r944  
    8181NSTUB(Remove, 0xffc5e4e4) 
    8282NSTUB(RenameFile_Fut, 0xffc575b4) 
     83NSTUB(Restart, 0xffc12774) 
    8384NSTUB(SetAutoShutdownTime, 0xffd58578) 
    8485NSTUB(SetCurrentCaptureModeType, 0xffd88b20) 
  • trunk/platform/a550/sub/100c/stubs_entry.S

    r865 r944  
    8080NSTUB(Remove, 0xffe221c0) 
    8181NSTUB(RenameFile_Fut, 0xffe1d6d0) 
     82// Best match: 96% 
     83NSTUB(Restart, 0xffc0b278) 
    8284NSTUB(SetAutoShutdownTime, 0xffea4bd0) 
    8385NSTUB(SetCurrentCaptureModeType, 0xffc17ec4) 
  • trunk/platform/a560/sub/100a/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xffe3b634) 
    8080NSTUB(RenameFile_Fut, 0xffe36b40) 
     81// Best match: 96% 
     82NSTUB(Restart, 0xffc0b76c) 
    8183NSTUB(SetAutoShutdownTime, 0xffecbda8) 
    8284NSTUB(SetCurrentCaptureModeType, 0xffc183b4) 
  • trunk/platform/a570/sub/100e/stubs_entry.S

    r865 r944  
    8080NSTUB(Remove, 0xffe46b78) 
    8181NSTUB(RenameFile_Fut, 0xffe42084) 
     82// Best match: 96% 
     83NSTUB(Restart, 0xffc0b748) 
    8284NSTUB(SetAutoShutdownTime, 0xffee0aa8) 
    8385NSTUB(SetCurrentCaptureModeType, 0xffc17d10) 
  • trunk/platform/a570/sub/101a/stubs_entry.S

    r865 r944  
    8080NSTUB(Remove, 0xffe46bec) 
    8181NSTUB(RenameFile_Fut, 0xffe420f8) 
     82// Best match: 96% 
     83NSTUB(Restart, 0xffc0b748) 
    8284NSTUB(SetAutoShutdownTime, 0xffee0b1c) 
    8385NSTUB(SetCurrentCaptureModeType, 0xffc17d10) 
  • trunk/platform/a590/sub/100e/stubs_entry.S

    r865 r944  
    7474// Best match: 93% 
    7575NSTUB(RenameFile_Fut, 0xffc133e0) 
     76NSTUB(Restart, 0xffc19b5c) 
    7677// Best match: 93% 
    7778NSTUB(SetAutoShutdownTime, 0xffc62190) 
  • trunk/platform/a590/sub/101b/stubs_entry.S

    r865 r944  
    7474// Best match: 93% 
    7575NSTUB(RenameFile_Fut, 0xffc133e0) 
     76NSTUB(Restart, 0xffc19b5c) 
    7677// Best match: 93% 
    7778NSTUB(SetAutoShutdownTime, 0xffc62190) 
  • trunk/platform/a610/sub/100e/stubs_entry.S

    r865 r944  
    5555NSTUB(Remove, 0xffc5c72c) 
    5656NSTUB(RenameFile_Fut, 0xffc559ac) 
     57NSTUB(Restart, 0xffc12800) 
    5758NSTUB(SetAutoShutdownTime, 0xffd48dd8) 
    5859NSTUB(SetCurrentCaptureModeType, 0xffd76e1c) 
  • trunk/platform/a610/sub/100f/stubs_entry.S

    r865 r944  
    5555NSTUB(Remove, 0xffc5cab4) 
    5656NSTUB(RenameFile_Fut, 0xffc55d34) 
     57NSTUB(Restart, 0xffc12800) 
    5758NSTUB(SetAutoShutdownTime, 0xffd49160) 
    5859NSTUB(SetCurrentCaptureModeType, 0xffd771a4) 
  • trunk/platform/a620/sub/100f/stubs_entry.S

    r865 r944  
    7676NSTUB(Remove, 0xffc5ceac) 
    7777NSTUB(RenameFile_Fut, 0xffc562c0) 
     78NSTUB(Restart, 0xffc127e0) 
    7879// Best match: 96% 
    7980NSTUB(SetAutoShutdownTime, 0xffd49c94) 
  • trunk/platform/a630/sub/100c/stubs_entry.S

    r865 r944  
    6969NSTUB(Remove, 0xffc61508) 
    7070NSTUB(RenameFile_Fut, 0xffc5a318) 
     71// Best match: 96% 
     72NSTUB(Restart, 0xffc12fd4) 
    7173NSTUB(SetAutoShutdownTime, 0xffd67f74) 
    7274NSTUB(SetCurrentCaptureModeType, 0xffd964c8) 
  • trunk/platform/a640/sub/100b/stubs_entry.S

    r865 r944  
    7070NSTUB(Remove, 0xffc625c8) 
    7171NSTUB(RenameFile_Fut, 0xffc5b3c4) 
     72// Best match: 96% 
     73NSTUB(Restart, 0xffc13674) 
    7274NSTUB(SetAutoShutdownTime, 0xffd6aa8c) 
    7375NSTUB(SetCurrentCaptureModeType, 0xffd99768) 
  • trunk/platform/a650/sub/100d/stubs_entry.S

    r865 r944  
    6363NSTUB(Remove, 0xffc14f68) 
    6464NSTUB(RenameFile_Fut, 0xffc14734) 
     65NSTUB(Restart, 0xffc1ba64) 
    6566NSTUB(SetAutoShutdownTime, 0xffc5d280) 
    6667// Best match: 90% 
  • trunk/platform/a700/sub/100b/stubs_entry.S

    r865 r944  
    8181NSTUB(Remove, 0xffc5dae8) 
    8282NSTUB(RenameFile_Fut, 0xffc56c44) 
     83NSTUB(Restart, 0xffc12774) 
    8384NSTUB(SetAutoShutdownTime, 0xffd58dd0) 
    8485NSTUB(SetCurrentCaptureModeType, 0xffd89ee0) 
  • trunk/platform/a710/sub/100a/stubs_entry.S

    r865 r944  
    5555NSTUB(Remove, 0xffc60fe4) 
    5656NSTUB(RenameFile_Fut, 0xffc59df4) 
     57// Best match: 96% 
     58NSTUB(Restart, 0xffc12fdc) 
    5759NSTUB(SetAutoShutdownTime, 0xffd70e4c) 
    5860NSTUB(SetCurrentCaptureModeType, 0xffd9da1c) 
  • trunk/platform/a720/sub/100c/stubs_entry.S

    r865 r944  
    5757NSTUB(Remove, 0xffc15074) 
    5858NSTUB(RenameFile_Fut, 0xffc14840) 
     59NSTUB(Restart, 0xffc1b8a4) 
    5960NSTUB(SetAutoShutdownTime, 0xffc5bfe0) 
    6061NSTUB(SetCurrentCaptureModeType, 0xffc6214c) 
  • trunk/platform/d10/sub/100a/stubs_entry.S

    r897 r944  
    7272// Best match: 93% 
    7373NSTUB(RenameFile_Fut, 0xff823508) 
     74// Best match: 96% 
     75NSTUB(Restart, 0xff828e54) 
    7476// Best match: 93% 
    7577NSTUB(SetAutoShutdownTime, 0xff877dd4) 
  • trunk/platform/g11/sub/100f/stubs_entry.S

    r871 r944  
    7474// ALT: NSTUB(RenameFile_Fut, 0xffa70478) // 8/7 
    7575// ALT: NSTUB(RenameFile_Fut, 0xffa704c8) // 8/7 
     76// Best match: 96% 
     77NSTUB(Restart, 0xff83ab44) 
    7678// Best match: 93% 
    7779NSTUB(SetAutoShutdownTime, 0xff8952e8) 
  • trunk/platform/g11/sub/100f/stubs_entry_2.S

    r871 r944  
    3939NHSTUB(rename,                   0xFF835A5C)  
    4040NHSTUB(RenameFile_Fut,           0xFF835278) 
     41NHSTUB(Restart,                  0xFF83AB40) 
    4142 
    4243// nullsubs 
  • trunk/platform/g11/sub/100j/stubs_entry.S

    r871 r944  
    7474// ALT: NSTUB(RenameFile_Fut, 0xffa7057c) // 8/7 
    7575// ALT: NSTUB(RenameFile_Fut, 0xffa705cc) // 8/7 
     76// Best match: 96% 
     77NSTUB(Restart, 0xff83ab74) 
    7678// Best match: 93% 
    7779NSTUB(SetAutoShutdownTime, 0xff8953b8) 
  • trunk/platform/g11/sub/100j/stubs_entry_2.S

    r871 r944  
    4141NHSTUB(rename, 0xFF835A8C)  
    4242NHSTUB(RenameFile_Fut, 0xFF8352A8) 
     43NHSTUB(Restart, 0xFF83AB70) 
    4344 
    4445// nullsubs 
  • trunk/platform/g11/sub/100l/stubs_entry.S

    r882 r944  
    7474// ALT: NSTUB(RenameFile_Fut, 0xffa70738) // 8/7 
    7575// ALT: NSTUB(RenameFile_Fut, 0xffa70788) // 8/7 
     76// Best match: 96% 
     77NSTUB(Restart, 0xff83ab74) 
    7678// Best match: 93% 
    7779NSTUB(SetAutoShutdownTime, 0xff895408) 
  • trunk/platform/g11/sub/100l/stubs_entry_2.S

    r882 r944  
    4141NHSTUB(rename, 0xFF835A8C)  
    4242NHSTUB(RenameFile_Fut, 0xFF8352A8) 
     43NHSTUB(Restart, 0xFF83AB70) 
    4344 
    4445// nullsubs 
  • trunk/platform/g7/sub/100e/stubs_entry.S

    r865 r944  
    7676NSTUB(Remove, 0xff87cb6c) 
    7777NSTUB(RenameFile_Fut, 0xff875964) 
     78// Best match: 92% 
     79NSTUB(Restart, 0xff823ac0) 
    7880NSTUB(SetAutoShutdownTime, 0xff9b5f54) 
    7981NSTUB(SetCurrentCaptureModeType, 0xff9e9dd8) 
  • trunk/platform/g7/sub/100e/stubs_entry_2.S

    r826 r944  
    2828NHSTUB(UnlockAF, 0xff99afc8) 
    2929NHSTUB(SetScriptMode,0xFF9B38E4) // by find_eventproc name @ 0xFF9DFDBC 
     30NHSTUB(Restart, 0xFF823ABC) 
  • trunk/platform/g7/sub/100g/stubs_entry.S

    r865 r944  
    7676NSTUB(Remove, 0xff87cb6c) 
    7777NSTUB(RenameFile_Fut, 0xff875964) 
     78// Best match: 92% 
     79NSTUB(Restart, 0xff823ac0) 
    7880NSTUB(SetAutoShutdownTime, 0xff9b5ffc) 
    7981NSTUB(SetCurrentCaptureModeType, 0xff9e9e80) 
  • trunk/platform/g7/sub/100g/stubs_entry_2.S

    r826 r944  
    2727NHSTUB(UnlockAF, 0xff99b044) 
    2828NHSTUB(SetScriptMode,0xFF9B398C) // by find_eventproc name @ 0xFF9DFE64 
     29NHSTUB(Restart,0xFF823ABC) // "Restart Called" 
  • trunk/platform/g7/sub/100i/stubs_entry.S

    r865 r944  
    7676NSTUB(Remove, 0xff87cb6c) 
    7777NSTUB(RenameFile_Fut, 0xff875964) 
     78// Best match: 92% 
     79NSTUB(Restart, 0xff823ac0) 
    7880NSTUB(SetAutoShutdownTime, 0xff9b5ffc) 
    7981NSTUB(SetCurrentCaptureModeType, 0xff9e9e80) 
  • trunk/platform/g7/sub/100i/stubs_entry_2.S

    r826 r944  
    3030NHSTUB(UnlockAF, 0xff99b044) 
    3131NHSTUB(SetScriptMode,0xFF9B398C) // by find_eventproc name @ 0xFF9DFE64 
     32NHSTUB(Restart,0xFF823ABC) // "Restart Called" 
  • trunk/platform/g7/sub/100j/stubs_entry.S

    r865 r944  
    7676NSTUB(Remove, 0xff87cb6c) 
    7777NSTUB(RenameFile_Fut, 0xff875964) 
     78// Best match: 92% 
     79NSTUB(Restart, 0xff823ac0) 
    7880NSTUB(SetAutoShutdownTime, 0xff9b5ffc) 
    7981NSTUB(SetCurrentCaptureModeType, 0xff9e9e80) 
  • trunk/platform/g7/sub/100j/stubs_entry_2.S

    r826 r944  
    2828NHSTUB(UnlockAF, 0xff99b044) 
    2929NHSTUB(SetScriptMode,0xFF9B398C) // by find_eventproc name @ 0xFF9DFE64 
     30NHSTUB(Restart,0xFF823ABC) // "Restart Called" 
  • trunk/platform/g9/sub/100d/stubs_entry.S

    r865 r944  
    6363NSTUB(Remove, 0xff825574) 
    6464NSTUB(RenameFile_Fut, 0xff824d40) 
     65NSTUB(Restart, 0xff82c7e4) 
    6566NSTUB(SetAutoShutdownTime, 0xff873264) 
    6667// Best match: 81% 
  • trunk/platform/g9/sub/100g/stubs_entry.S

    r865 r944  
    6363NSTUB(Remove, 0xff825574) 
    6464NSTUB(RenameFile_Fut, 0xff824d40) 
     65NSTUB(Restart, 0xff82c7e4) 
    6566NSTUB(SetAutoShutdownTime, 0xff873264) 
    6667// Best match: 81% 
  • trunk/platform/g9/sub/100i/stubs_entry.S

    r865 r944  
    6363NSTUB(Remove, 0xff825574) 
    6464NSTUB(RenameFile_Fut, 0xff824d40) 
     65NSTUB(Restart, 0xff82c7e4) 
    6566NSTUB(SetAutoShutdownTime, 0xff873264) 
    6667// Best match: 81% 
  • trunk/platform/generic/wrappers.c

    r875 r944  
    949949#endif 
    950950 
     951/* 
     952// this wrapper isn't currently needed 
     953// 7 calls functions and sets some MMIOs, but doesn't disable caches and actually restart 
     954// 3 skips one function call on some cameras, but does restart 
     955void Restart(unsigned option) { 
     956        _Restart(option); 
     957} 
     958*/ 
  • trunk/platform/ixus100_sd780/sub/100c/stubs_entry.S

    r878 r944  
    7272// Best match: 93% 
    7373NSTUB(RenameFile_Fut, 0xff8234f0) 
     74NSTUB(Restart, 0xff828b98) 
    7475// Best match: 93% 
    7576NSTUB(SetAutoShutdownTime, 0xff874378) 
  • trunk/platform/ixus40_sd300/sub/100j/stubs_entry.S

    r865 r944  
    9595NSTUB(RenameFile_Fut, 0xff869934) 
    9696// ALT: NSTUB(RenameFile_Fut, 0xfff16fd8) // 27/0 
     97// Best match: 80% 
     98NSTUB(Restart, 0xff824f50) 
    9799// ERROR: SetAutoShutdownTime is not found! 
    98100// ERROR: SetCurrentCaptureModeType is not found! 
  • trunk/platform/ixus40_sd300/sub/100j/stubs_entry_2.S

    r826 r944  
    121121NHSTUB(SetCurrentCaptureModeType,0xFFAAAEA8) // NOT FOUND, NULLSUB 
    122122NHSTUB(SetLogicalEventActive,0xFFAAAEA8) // NOT FOUND, NULLSUB 
     123 
     124NHSTUB(Restart,0xFF824F58) // "Restart Called" 
  • trunk/platform/ixus40_sd300/sub/100k/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xff8c0700) 
    8080NSTUB(RenameFile_Fut, 0xff869934) 
     81// Best match: 80% 
     82NSTUB(Restart, 0xff824f50) 
    8183// ERROR: SetAutoShutdownTime is not found! 
    8284// ERROR: SetCurrentCaptureModeType is not found! 
  • trunk/platform/ixus40_sd300/sub/100k/stubs_entry_2.S

    r826 r944  
    119119NHSTUB(SetLogicalEventActive,0xFFAAAED0) // NOT FOUND, NULLSUB 
    120120 
     121NHSTUB(Restart,0xFF824F58) // "Restart Called" 
  • trunk/platform/ixus50_sd400/sub/101a/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xff8cf2f8) 
    8080NSTUB(RenameFile_Fut, 0xff86d850) 
     81// Best match: 84% 
     82NSTUB(Restart, 0xff823b8c) 
    8183// Best match: 96% 
    8284NSTUB(SetAutoShutdownTime, 0xff9720b0) 
  • trunk/platform/ixus50_sd400/sub/101a/stubs_entry_2.S

    r826 r944  
    5050NHSTUB(UnlockAF, 0xff958f70) 
    5151NHSTUB(SetScriptMode,0xFF9706BC) // by find_eventproc name @ 0xFF9915A8 
     52 
     53NHSTUB(Restart,0xFF823B90) // "Restart Called" 
  • trunk/platform/ixus50_sd400/sub/101b/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xff8cf2f8) 
    8080NSTUB(RenameFile_Fut, 0xff86d850) 
     81// Best match: 84% 
     82NSTUB(Restart, 0xff823b8c) 
    8183// Best match: 96% 
    8284NSTUB(SetAutoShutdownTime, 0xff972104) 
  • trunk/platform/ixus50_sd400/sub/101b/stubs_entry_2.S

    r826 r944  
    5050NHSTUB(UnlockAF, 0xff958fc4) 
    5151NHSTUB(SetScriptMode,0xFF970710) // by find_eventproc name @ 0xFF9915FC 
     52 
     53NHSTUB(Restart,0xFF823B90) // "Restart Called" 
  • trunk/platform/ixus55_sd450/sub/100b/stubs_entry.S

    r865 r944  
    7474NSTUB(Remove, 0xff86e3b4) 
    7575NSTUB(RenameFile_Fut, 0xff8677c8) 
     76NSTUB(Restart, 0xff822b8c) 
    7677// Best match: 96% 
    7778NSTUB(SetAutoShutdownTime, 0xff95f8d8) 
  • trunk/platform/ixus55_sd450/sub/100c/stubs_entry.S

    r865 r944  
    7474NSTUB(Remove, 0xff86e2e0) 
    7575NSTUB(RenameFile_Fut, 0xff8676f4) 
     76NSTUB(Restart, 0xff822ab8) 
    7677// Best match: 96% 
    7778NSTUB(SetAutoShutdownTime, 0xff95f804) 
  • trunk/platform/ixus55_sd450/sub/100d/stubs_entry.S

    r865 r944  
    7474NSTUB(Remove, 0xff86e668) 
    7575NSTUB(RenameFile_Fut, 0xff867a7c) 
     76NSTUB(Restart, 0xff822ab8) 
    7677// Best match: 96% 
    7778NSTUB(SetAutoShutdownTime, 0xff95fb8c) 
  • trunk/platform/ixus60_sd600/sub/100a/stubs_entry.S

    r865 r944  
    7575NSTUB(Remove, 0xff86f6c0) 
    7676NSTUB(RenameFile_Fut, 0xff8687bc) 
     77NSTUB(Restart, 0xff822ab0) 
    7778NSTUB(SetAutoShutdownTime, 0xff9722b8) 
    7879NSTUB(SetCurrentCaptureModeType, 0xff9a34b0) 
  • trunk/platform/ixus60_sd600/sub/100d/stubs_entry.S

    r865 r944  
    7575NSTUB(Remove, 0xff86f6c0) 
    7676NSTUB(RenameFile_Fut, 0xff8687bc) 
     77NSTUB(Restart, 0xff822ab0) 
    7778NSTUB(SetAutoShutdownTime, 0xff972db0) 
    7879NSTUB(SetCurrentCaptureModeType, 0xff9a3fa8) 
  • trunk/platform/ixus65_sd630/sub/100a/stubs_entry.S

    r865 r944  
    7575NSTUB(Remove, 0xff87058c) 
    7676NSTUB(RenameFile_Fut, 0xff86968c) 
     77NSTUB(Restart, 0xff822b34) 
    7778NSTUB(SetAutoShutdownTime, 0xff973778) 
    7879NSTUB(SetCurrentCaptureModeType, 0xff9a66a0) 
  • trunk/platform/ixus700_sd500/sub/101a/stubs_entry.S

    r865 r944  
    8080NSTUB(Remove, 0xff8c70c4) 
    8181NSTUB(RenameFile_Fut, 0xff863570) 
     82// Best match: 84% 
     83NSTUB(Restart, 0xff82339c) 
    8284// Best match: 96% 
    8385NSTUB(SetAutoShutdownTime, 0xff96787c) 
  • trunk/platform/ixus700_sd500/sub/101a/stubs_entry_2.S

    r826 r944  
    5252NHSTUB(UnlockAF, 0xff94eff4) 
    5353NHSTUB(SetScriptMode,0xFF966290) // by find_eventproc name @ 0xFF986B2C 
     54NHSTUB(Restart,0xFF8233A0) // "Restart Called" 
  • trunk/platform/ixus700_sd500/sub/101b/stubs_entry.S

    r865 r944  
    8080NSTUB(Remove, 0xff8c70c4) 
    8181NSTUB(RenameFile_Fut, 0xff863570) 
     82// Best match: 84% 
     83NSTUB(Restart, 0xff82339c) 
    8284// Best match: 96% 
    8385NSTUB(SetAutoShutdownTime, 0xff9678cc) 
  • trunk/platform/ixus700_sd500/sub/101b/stubs_entry_2.S

    r826 r944  
    5353NHSTUB(UnlockAF, 0xff94f044) 
    5454NHSTUB(SetScriptMode,0xFF9662E0) // by find_eventproc name @ 0xFF986B7C 
     55NHSTUB(Restart,0xFF8233A0) // "Restart Called" 
  • trunk/platform/ixus70_sd1000/sub/100c/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xffa99fb4) 
    8080NSTUB(RenameFile_Fut, 0xffa954c0) 
     81// Best match: 96% 
     82NSTUB(Restart, 0xff81b74c) 
    8183NSTUB(SetAutoShutdownTime, 0xffb36a04) 
    8284NSTUB(SetCurrentCaptureModeType, 0xff828fc4) 
  • trunk/platform/ixus70_sd1000/sub/101b/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xffa9a028) 
    8080NSTUB(RenameFile_Fut, 0xffa95534) 
     81// Best match: 96% 
     82NSTUB(Restart, 0xff81b74c) 
    8183NSTUB(SetAutoShutdownTime, 0xffb36a78) 
    8284NSTUB(SetCurrentCaptureModeType, 0xff828fc4) 
  • trunk/platform/ixus70_sd1000/sub/102a/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xffa9a028) 
    8080NSTUB(RenameFile_Fut, 0xffa95534) 
     81// Best match: 96% 
     82NSTUB(Restart, 0xff81b74c) 
    8183NSTUB(SetAutoShutdownTime, 0xffb36af8) 
    8284NSTUB(SetCurrentCaptureModeType, 0xff828fc4) 
  • trunk/platform/ixus750_sd550/sub/100f/stubs_entry.S

    r865 r944  
    7777NSTUB(Remove, 0xff86f7a8) 
    7878NSTUB(RenameFile_Fut, 0xff8685ec) 
     79NSTUB(Restart, 0xff823ac0) 
    7980// Best match: 96% 
    8081NSTUB(SetAutoShutdownTime, 0xff9600a4) 
  • trunk/platform/ixus750_sd550/sub/100g/stubs_entry.S

    r865 r944  
    7777NSTUB(Remove, 0xff86f7a8) 
    7878NSTUB(RenameFile_Fut, 0xff8685ec) 
     79NSTUB(Restart, 0xff823ac0) 
    7980// Best match: 96% 
    8081NSTUB(SetAutoShutdownTime, 0xff9600a4) 
  • trunk/platform/ixus75_sd750/sub/100b/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xffaa599c) 
    8080NSTUB(RenameFile_Fut, 0xffaa0ea8) 
     81// Best match: 96% 
     82NSTUB(Restart, 0xff81b760) 
    8183NSTUB(SetAutoShutdownTime, 0xffb426b4) 
    8284NSTUB(SetCurrentCaptureModeType, 0xff82afd0) 
  • trunk/platform/ixus75_sd750/sub/101a/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xffaa5a10) 
    8080NSTUB(RenameFile_Fut, 0xffaa0f1c) 
     81// Best match: 96% 
     82NSTUB(Restart, 0xff81b760) 
    8183NSTUB(SetAutoShutdownTime, 0xffb42728) 
    8284NSTUB(SetCurrentCaptureModeType, 0xff82afd0) 
  • trunk/platform/ixus75_sd750/sub/102a/stubs_entry.S

    r865 r944  
    7979NSTUB(Remove, 0xffaa5a10) 
    8080NSTUB(RenameFile_Fut, 0xffaa0f1c) 
     81// Best match: 96% 
     82NSTUB(Restart, 0xff81b760) 
    8183NSTUB(SetAutoShutdownTime, 0xffb427a8) 
    8284NSTUB(SetCurrentCaptureModeType, 0xff82afd0) 
  • trunk/platform/ixus800_sd700/sub/100b/stubs_entry.S

    r865 r944  
    7676NSTUB(Remove, 0xff86f5c4) 
    7777NSTUB(RenameFile_Fut, 0xff8686c4) 
     78NSTUB(Restart, 0xff822b34) 
    7879NSTUB(SetAutoShutdownTime, 0xff972004) 
    7980NSTUB(SetCurrentCaptureModeType, 0xff9a3274) 
  • trunk/platform/ixus800_sd700/sub/101b/stubs_entry.S

    r865 r944  
    7676NSTUB(Remove, 0xff86f5c8) 
    7777NSTUB(RenameFile_Fut, 0xff8686c8) 
     78NSTUB(Restart, 0xff822b38) 
    7879NSTUB(SetAutoShutdownTime, 0xff972008) 
    7980NSTUB(SetCurrentCaptureModeType, 0xff9a3278) 
  • trunk/platform/ixus80_sd1100/sub/100c/stubs_entry.S

    r865 r944  
    6565// Best match: 93% 
    6666NSTUB(RenameFile_Fut, 0xff8236ac) 
     67NSTUB(Restart, 0xff829ea8) 
    6768// Best match: 93% 
    6869NSTUB(SetAutoShutdownTime, 0xff873908) 
  • trunk/platform/ixus80_sd1100/sub/101a/stubs_entry.S

    r865 r944  
    6565// Best match: 93% 
    6666NSTUB(RenameFile_Fut, 0xff8236ac) 
     67NSTUB(Restart, 0xff829ea8) 
    6768// Best match: 93% 
    6869NSTUB(SetAutoShutdownTime, 0xff873908) 
  • trunk/platform/ixus850_sd800/sub/100e/stubs_entry.S

    r865 r944  
    7474NSTUB(Remove, 0xff87a42c) 
    7575NSTUB(RenameFile_Fut, 0xff873224) 
     76// Best match: 96% 
     77NSTUB(Restart, 0xff823c00) 
    7678NSTUB(SetAutoShutdownTime, 0xff9adf84) 
    7779NSTUB(SetCurrentCaptureModeType, 0xff9dd8b4) 
  • trunk/platform/ixus85_sd770/sub/100a/stubs_entry.S

    r901 r944  
    6565// Best match: 93% 
    6666NSTUB(RenameFile_Fut, 0xff8235e4) 
     67NSTUB(Restart, 0xff829de0) 
    6768// Best match: 93% 
    6869NSTUB(SetAutoShutdownTime, 0xff873964) 
  • trunk/platform/ixus860_sd870/sub/100c/stubs_entry.S

    r865 r944  
    6262NSTUB(Remove, 0xff825074) 
    6363NSTUB(RenameFile_Fut, 0xff824840) 
     64NSTUB(Restart, 0xff82b964) 
    6465NSTUB(SetAutoShutdownTime, 0xff86d0c0) 
    6566// Best match: 81% 
  • trunk/platform/ixus870_sd880/sub/100e/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff82334c) 
     82// Best match: 80% 
     83NSTUB(Restart, 0xff8293d8) 
     84// ALT: NSTUB(Restart, 0xff8293e0) // 21/5 
    8285// Best match: 93% 
    8386NSTUB(SetAutoShutdownTime, 0xff878f3c) 
  • trunk/platform/ixus870_sd880/sub/100e/stubs_entry_2.S

    r826 r944  
    4545NHSTUB(strrchr, 0xff9b874C)  // via memset (strrchr is above it) 
    4646NHSTUB(SetScriptMode, 0xFF878C68)  // "SetScriptMode" 
     47NHSTUB(Restart, 0xFF8293DC) 
  • trunk/platform/ixus870_sd880/sub/101a/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff82334c) 
     82// Best match: 80% 
     83NSTUB(Restart, 0xff8293d8) 
     84// ALT: NSTUB(Restart, 0xff8293e0) // 21/5 
    8285// Best match: 93% 
    8386NSTUB(SetAutoShutdownTime, 0xff878f3c) 
  • trunk/platform/ixus870_sd880/sub/101a/stubs_entry_2.S

    r826 r944  
    8282// NHSTUB(time, 0xff86b83c)  // ok, via _sub_???_SystemTime.c__1 
    8383NHSTUB(SetScriptMode, 0xFF878C68)  // string 
     84NHSTUB(Restart, 0xFF8293DC) 
  • trunk/platform/ixus870_sd880/sub/102b/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff82334c) 
     82// Best match: 80% 
     83NSTUB(Restart, 0xff8293d8) 
     84// ALT: NSTUB(Restart, 0xff8293e0) // 21/5 
    8285// Best match: 93% 
    8386NSTUB(SetAutoShutdownTime, 0xff878f3c) 
  • trunk/platform/ixus870_sd880/sub/102b/stubs_entry_2.S

    r826 r944  
    5151NHSTUB(strrchr, 0xff9b8750)  // via memset (strrchr is above it) 
    5252NHSTUB(SetScriptMode, 0xFF878C68)  // "SetScriptMode" 
    53  
     53NHSTUB(Restart, 0xFF8293DC) 
  • trunk/platform/ixus90_sd790/sub/100c/stubs_entry.S

    r870 r944  
    6666// Best match: 93% 
    6767NSTUB(RenameFile_Fut, 0xff8235f8) 
     68NSTUB(Restart, 0xff829df4) 
    6869// Best match: 93% 
    6970NSTUB(SetAutoShutdownTime, 0xff87577c) 
  • trunk/platform/ixus90_sd790/sub/100d/stubs_entry.S

    r866 r944  
    6666// Best match: 93% 
    6767NSTUB(RenameFile_Fut, 0xff8235f8) 
     68NSTUB(Restart, 0xff829df4) 
    6869// Best match: 93% 
    6970NSTUB(SetAutoShutdownTime, 0xff87577c) 
  • trunk/platform/ixus950_sd850/sub/100c/stubs_entry.S

    r865 r944  
    8181NSTUB(Remove, 0xffaa2fdc) 
    8282NSTUB(RenameFile_Fut, 0xffa9e4d0) 
     83// Best match: 96% 
     84NSTUB(Restart, 0xff81b74c) 
    8385NSTUB(SetAutoShutdownTime, 0xffb45ef8) 
    8486NSTUB(SetCurrentCaptureModeType, 0xff82ab20) 
  • trunk/platform/ixus95_sd1200/sub/100c/stubs_entry.S

    r910 r944  
    7272// Best match: 93% 
    7373NSTUB(RenameFile_Fut, 0xffc13494) 
     74NSTUB(Restart, 0xffc189d8) 
    7475// Best match: 93% 
    7576NSTUB(SetAutoShutdownTime, 0xffc5dc44) 
  • trunk/platform/ixus960_sd950/sub/100d/stubs_entry.S

    r865 r944  
    6161NSTUB(Remove, 0xff825010) 
    6262NSTUB(RenameFile_Fut, 0xff8247dc) 
     63NSTUB(Restart, 0xff82b90c) 
    6364NSTUB(SetAutoShutdownTime, 0xff86d444) 
    6465// Best match: 81% 
  • trunk/platform/ixus970_sd890/sub/100b/stubs_entry.S

    r865 r944  
    6868// Best match: 93% 
    6969NSTUB(RenameFile_Fut, 0xff8235e8) 
     70NSTUB(Restart, 0xff829de4) 
    7071// Best match: 93% 
    7172NSTUB(SetAutoShutdownTime, 0xff875528) 
  • trunk/platform/ixus970_sd890/sub/100c/stubs_entry.S

    r865 r944  
    6868// Best match: 93% 
    6969NSTUB(RenameFile_Fut, 0xff8235e8) 
     70NSTUB(Restart, 0xff829de4) 
    7071// Best match: 93% 
    7172NSTUB(SetAutoShutdownTime, 0xff875528) 
  • trunk/platform/ixus970_sd890/sub/100f/stubs_entry.S

    r865 r944  
    6868// Best match: 93% 
    6969NSTUB(RenameFile_Fut, 0xff8235e8) 
     70NSTUB(Restart, 0xff829de0) 
    7071// Best match: 93% 
    7172NSTUB(SetAutoShutdownTime, 0xff8754ac) 
  • trunk/platform/ixus980_sd990/sub/100e/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff8233cc) 
     82// Best match: 80% 
     83NSTUB(Restart, 0xff8297ac) 
     84// ALT: NSTUB(Restart, 0xff8297b4) // 21/5 
    8285// Best match: 93% 
    8386NSTUB(SetAutoShutdownTime, 0xff87daf0) 
  • trunk/platform/ixus980_sd990/sub/100e/stubs_entry_2.S

    r826 r944  
    3333NHSTUB(strchr,0xFF897640)  
    3434//NHSTUB(vsprintf,0xFF81CAE8) // via CPrintf 
     35NHSTUB(Restart,0xFF8297B0) 
    3536 
    3637// These don't exist/aren't found in dryos 
  • trunk/platform/ixus980_sd990/sub/101b/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff8233cc) 
     82// Best match: 80% 
     83NSTUB(Restart, 0xff8297ac) 
     84// ALT: NSTUB(Restart, 0xff8297b4) // 21/5 
    8285// Best match: 93% 
    8386NSTUB(SetAutoShutdownTime, 0xff87daf0) 
  • trunk/platform/ixus980_sd990/sub/101b/stubs_entry_2.S

    r826 r944  
    2121NHSTUB(LEDDrive,0xFF849B2C) // string LEDDrive 
    2222NHSTUB(SetScriptMode,0xFF87D81C) // "SetScriptMode" 
     23NHSTUB(Restart,0xFF8297B0) 
    2324 
    2425// not found by finsig 
  • trunk/platform/ixusizoom_sd30/sub/100g/stubs_entry.S

    r865 r944  
    7878NSTUB(Remove, 0xff870648) 
    7979NSTUB(RenameFile_Fut, 0xff86948c) 
     80NSTUB(Restart, 0xff824140) 
    8081// Best match: 96% 
    8182NSTUB(SetAutoShutdownTime, 0xff95dfec) 
  • trunk/platform/s2is/sub/100e/stubs_entry.S

    r865 r944  
    7373NSTUB(Remove, 0xff8d2934) 
    7474NSTUB(RenameFile_Fut, 0xff86fb74) 
     75// Best match: 84% 
     76NSTUB(Restart, 0xff823de4) 
    7577// Best match: 96% 
    7678NSTUB(SetAutoShutdownTime, 0xff9833e8) 
  • trunk/platform/s2is/sub/100e/stubs_entry_2.S

    r826 r944  
    4444NHSTUB(UnlockAF, 0xff96804c) 
    4545NHSTUB(SetScriptMode,0xFF9819F4) // by find_eventproc name @ 0xFF9A40F0 
     46NHSTUB(Restart,0xFF823DE8) // "Restart Called" 
  • trunk/platform/s2is/sub/100f/stubs_entry.S

    r865 r944  
    8282NSTUB(Remove, 0xff8d290c) 
    8383NSTUB(RenameFile_Fut, 0xff86fb74) 
     84// Best match: 84% 
     85NSTUB(Restart, 0xff823de4) 
    8486// Best match: 96% 
    8587NSTUB(SetAutoShutdownTime, 0xff9833c0) 
  • trunk/platform/s2is/sub/100f/stubs_entry_2.S

    r826 r944  
    4444NHSTUB(UnlockAF, 0xff968024) 
    4545NHSTUB(SetScriptMode,0xFF9819CC) // by find_eventproc name @ 0xFF9A40C8 
     46NHSTUB(Restart,0xFF823DE8) // "Restart Called" 
     47 
  • trunk/platform/s2is/sub/100g/stubs_entry.S

    r865 r944  
    8282NSTUB(Remove, 0xff8d2698) 
    8383NSTUB(RenameFile_Fut, 0xff86f900) 
     84// Best match: 84% 
     85NSTUB(Restart, 0xff823de4) 
    8486// Best match: 96% 
    8587NSTUB(SetAutoShutdownTime, 0xff98314c) 
  • trunk/platform/s2is/sub/100g/stubs_entry_2.S

    r826 r944  
    4444NHSTUB(UnlockAF, 0xff967db0) 
    4545NHSTUB(SetScriptMode,0xFF981758) // by find_eventproc name @ 0xFF9A3E54 
     46NHSTUB(Restart,0xFF823DE8) // "Restart Called" 
  • trunk/platform/s3is/sub/100a/stubs_entry.S

    r865 r944  
    8080NSTUB(Remove, 0xff8713e4) 
    8181NSTUB(RenameFile_Fut, 0xff869f44) 
     82NSTUB(Restart, 0xff822bd8) 
    8283NSTUB(SetAutoShutdownTime, 0xff98f01c) 
    8384NSTUB(SetCurrentCaptureModeType, 0xff9c3db8) 
  • trunk/platform/s5is/sub/101a/stubs_entry.S

    r865 r944  
    7070NSTUB(Remove, 0xff825dd4) 
    7171NSTUB(RenameFile_Fut, 0xff8255a0) 
     72// Best match: 80% 
     73NSTUB(Restart, 0xff82cde0) 
    7274// Best match: 61% 
    7375NSTUB(SetAutoShutdownTime, 0xff877f50) 
  • trunk/platform/s5is/sub/101a/stubs_entry_2.S

    r844 r944  
    188188NHSTUB(apex2us, 0xFF9CAF14) 
    189189NHSTUB(SetScriptMode, 0xFF877C04) // "SetScriptMode" 
     190NHSTUB(Restart, 0xFF82CDE4) // "Restart Called" 
  • trunk/platform/s5is/sub/101b/stubs_entry.S

    r865 r944  
    7070NSTUB(Remove, 0xff825d0c) 
    7171NSTUB(RenameFile_Fut, 0xff8254d8) 
     72// Best match: 80% 
     73NSTUB(Restart, 0xff82cd18) 
    7274// Best match: 61% 
    7375NSTUB(SetAutoShutdownTime, 0xff877e88) 
  • trunk/platform/s5is/sub/101b/stubs_entry_2.S

    r844 r944  
    190190NHSTUB(apex2us, 0xFF9CAE4C) 
    191191NHSTUB(SetScriptMode, 0xFF877B3C) // "SetScriptMode" 
     192NHSTUB(Restart, 0xFF82CD1C) // "Restart Called" 
     193 
  • trunk/platform/s90/sub/100c/stubs_entry.S

    r888 r944  
    7474// ALT: NSTUB(RenameFile_Fut, 0xffa69a44) // 8/7 
    7575// ALT: NSTUB(RenameFile_Fut, 0xffa69a94) // 8/7 
     76NSTUB(Restart, 0xff83a520) 
    7677// Best match: 93% 
    7778NSTUB(SetAutoShutdownTime, 0xff8946f0) 
  • trunk/platform/s90/sub/101a/stubs_entry.S

    r888 r944  
    7474// ALT: NSTUB(RenameFile_Fut, 0xffa69a98) // 8/7 
    7575// ALT: NSTUB(RenameFile_Fut, 0xffa69ae8) // 8/7 
     76NSTUB(Restart, 0xff83a520) 
    7677// Best match: 93% 
    7778NSTUB(SetAutoShutdownTime, 0xff89471c) 
  • trunk/platform/s90/sub/101c/stubs_entry.S

    r888 r944  
    7474// ALT: NSTUB(RenameFile_Fut, 0xffa69c54) // 8/7 
    7575// ALT: NSTUB(RenameFile_Fut, 0xffa69ca4) // 8/7 
     76NSTUB(Restart, 0xff83a520) 
    7677// Best match: 93% 
    7778NSTUB(SetAutoShutdownTime, 0xff89476c) 
  • trunk/platform/sx1/sub/200h/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff82329c) 
     82// Best match: 84% 
     83NSTUB(Restart, 0xffa912e8) 
    8284// Best match: 93% 
    8385NSTUB(SetAutoShutdownTime, 0xff8855f4) 
  • trunk/platform/sx1/sub/200h/stubs_entry_2.S

    r826 r944  
    2626NHSTUB(PostLogicalEventForNotPowerType, 0xFF88328C) 
    2727NHSTUB(apex2us, 0xFF9FDBC8) 
     28NHSTUB(Restart, 0xFF8298F0) // via 0x12345678 
    2829 
    2930// null sub 
  • trunk/platform/sx1/sub/201a/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff82329c) 
     82// Best match: 84% 
     83NSTUB(Restart, 0xffa912fc) 
    8284// Best match: 93% 
    8385NSTUB(SetAutoShutdownTime, 0xff8855f4) 
  • trunk/platform/sx1/sub/201a/stubs_entry_2.S

    r826 r944  
    2626NHSTUB(PostLogicalEventForNotPowerType, 0xFF88328C) 
    2727NHSTUB(apex2us, 0xFF9FDBDC) 
     28NHSTUB(Restart, 0xFF8298F0) 
    2829 
    2930// null sub 
  • trunk/platform/sx10/sub/100c/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff8232bc) 
     82// Best match: 80% 
     83NSTUB(Restart, 0xff829844) 
     84// ALT: NSTUB(Restart, 0xff82984c) // 21/5 
    8285// Best match: 93% 
    8386NSTUB(SetAutoShutdownTime, 0xff880fdc) 
  • trunk/platform/sx10/sub/100c/stubs_entry_2.S

    r826 r944  
    2929NHSTUB(apex2us, 0xFF9E0118) //done -0x10 diff rather that -0x8 
    3030NHSTUB(SetScriptMode, 0xFF880C78) // "SetScriptMode" 
     31NHSTUB(Restart, 0xFF829848) 
    3132 
    3233// null sub - point these at nullsub_1 as labelled in IDA 
  • trunk/platform/sx10/sub/101a/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff8232bc) 
     82// Best match: 80% 
     83NSTUB(Restart, 0xff829844) 
     84// ALT: NSTUB(Restart, 0xff82984c) // 21/5 
    8285// Best match: 93% 
    8386NSTUB(SetAutoShutdownTime, 0xff880fe4) 
  • trunk/platform/sx10/sub/101a/stubs_entry_2.S

    r826 r944  
    2828NHSTUB(PostLogicalEventForNotPowerType, 0xFF87EC9C) 
    2929NHSTUB(apex2us, 0xFF9E0128) 
     30NHSTUB(Restart, 0xFF829848) 
    3031 
    3132// null sub - point these at nullsub_1 as labelled in IDA 
  • trunk/platform/sx10/sub/101b/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff8232bc) 
     82// Best match: 80% 
     83NSTUB(Restart, 0xff829844) 
     84// ALT: NSTUB(Restart, 0xff82984c) // 21/5 
    8285// Best match: 93% 
    8386NSTUB(SetAutoShutdownTime, 0xff881084) 
  • trunk/platform/sx10/sub/101b/stubs_entry_2.S

    r826 r944  
    2929NHSTUB(apex2us, 0xFF9E01C8) 
    3030NHSTUB(SetScriptMode, 0xFF880D20) 
     31NHSTUB(Restart, 0xFF829848) 
    3132 
    3233// null sub - point these at nullsub_1 as labelled in IDA 
  • trunk/platform/sx10/sub/102b/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff8232bc) 
     82// Best match: 80% 
     83NSTUB(Restart, 0xff829844) 
     84// ALT: NSTUB(Restart, 0xff82984c) // 21/5 
    8285// Best match: 93% 
    8386NSTUB(SetAutoShutdownTime, 0xff881084) 
  • trunk/platform/sx10/sub/102b/stubs_entry_2.S

    r826 r944  
    2929NHSTUB(apex2us, 0xFF9E01C8) 
    3030NHSTUB(SetScriptMode, 0xFF880D20) 
     31NHSTUB(Restart, 0xFF829848) 
    3132 
    3233// null sub 
  • trunk/platform/sx10/sub/103a/stubs_entry.S

    r865 r944  
    8080// Best match: 93% 
    8181NSTUB(RenameFile_Fut, 0xff8232bc) 
     82// Best match: 80% 
     83NSTUB(Restart, 0xff829844) 
     84// ALT: NSTUB(Restart, 0xff82984c) // 21/5 
    8285// Best match: 93% 
    8386NSTUB(SetAutoShutdownTime, 0xff881084) 
  • trunk/platform/sx10/sub/103a/stubs_entry_2.S

    r826 r944  
    2929NHSTUB(apex2us, 0xFF9E01DC) 
    3030NHSTUB(SetScriptMode, 0xFF880D20) 
     31NHSTUB(Restart, 0xFF829848) 
    3132 
    3233// null sub 
  • trunk/platform/sx100is/sub/100b/stubs_entry.S

    r865 r944  
    6262NSTUB(Remove, 0xffc15094) 
    6363NSTUB(RenameFile_Fut, 0xffc14860) 
     64NSTUB(Restart, 0xffc1be8c) 
    6465NSTUB(SetAutoShutdownTime, 0xffc5f788) 
    6566// Best match: 81% 
  • trunk/platform/sx100is/sub/100c/stubs_entry.S

    r865 r944  
    6262NSTUB(Remove, 0xffc15094) 
    6363NSTUB(RenameFile_Fut, 0xffc14860) 
     64NSTUB(Restart, 0xffc1be8c) 
    6465NSTUB(SetAutoShutdownTime, 0xffc5f7bc) 
    6566// Best match: 81% 
  • trunk/platform/sx110is/sub/100b/stubs_entry.S

    r865 r944  
    7979// Best match: 93% 
    8080NSTUB(RenameFile_Fut, 0xffc12ba0) 
     81// Best match: 76% 
     82NSTUB(Restart, 0xffc1909c) 
     83// ALT: NSTUB(Restart, 0xffc190a4) // 20/6 
     84// ALT: NSTUB(Restart, 0xffe07ae4) // 20/6 
    8185// Best match: 93% 
    8286NSTUB(SetAutoShutdownTime, 0xffc63e14) 
  • trunk/platform/sx110is/sub/100b/stubs_entry_2.S

    r826 r944  
    4545NHSTUB(eventproc_export_ExitTask, 0xffc0bb50) 
    4646NHSTUB(SetScriptMode, 0xFFC63B40) //"SetScriptMode" 
     47NHSTUB(Restart, 0xFFC190A0) 
    4748 
    4849//do they really exists in dryos? --> point to nullsub 
  • trunk/platform/sx20/sub/102b/stubs_entry.S

    r939 r944  
    7272// ALT: NSTUB(RenameFile_Fut, 0xffa69860) // 8/7 
    7373// ALT: NSTUB(RenameFile_Fut, 0xffa698b0) // 8/7 
     74// Best match: 96% 
     75NSTUB(Restart, 0xff83a540) 
    7476// Best match: 93% 
    7577NSTUB(SetAutoShutdownTime, 0xff896f20) 
  • trunk/platform/sx20/sub/102b/stubs_entry_2.S

    r939 r944  
    4747NHSTUB(RenameFile_Fut,                                  0xFF834B74) // doesn't look like SX10 but works 
    4848NHSTUB(strrchr,                                                 0xFF813FE4) // incorrectly detected 
     49NHSTUB(Restart,                                                 0xFF83A53C) 
    4950 
    5051# Might be wrong 
  • trunk/platform/sx20/sub/102d/stubs_entry.S

    r939 r944  
    7272// ALT: NSTUB(RenameFile_Fut, 0xffa69a1c) // 8/7 
    7373// ALT: NSTUB(RenameFile_Fut, 0xffa69a6c) // 8/7 
     74// Best match: 96% 
     75NSTUB(Restart, 0xff83a540) 
    7476// Best match: 93% 
    7577NSTUB(SetAutoShutdownTime, 0xff896f70) 
  • trunk/platform/sx20/sub/102d/stubs_entry_2.S

    r939 r944  
    4848NHSTUB(strrchr,                                                 0xFF813FE4) // incorrectly detected 
    4949NHSTUB(add_ptp_handler,                                 0xFFA49320)  
     50NHSTUB(Restart,                                                 0xFF83A53C) 
    5051 
    5152# Might be wrong 
  • trunk/platform/sx200is/sub/100c/stubs_entry.S

    r865 r944  
    7474// Best match: 93% 
    7575NSTUB(RenameFile_Fut, 0xff823548) 
     76NSTUB(Restart, 0xff828f5c) 
    7677// Best match: 93% 
    7778NSTUB(SetAutoShutdownTime, 0xff87bd54) 
  • trunk/platform/tx1/sub/100g/stubs_entry.S

    r865 r944  
    7777NSTUB(Remove, 0xffaaec7c) 
    7878NSTUB(RenameFile_Fut, 0xffaaa188) 
     79// Best match: 96% 
     80NSTUB(Restart, 0xff81b80c) 
    7981NSTUB(SetAutoShutdownTime, 0xffb63784) 
    8082NSTUB(SetCurrentCaptureModeType, 0xff829c58) 
  • trunk/platform/tx1/sub/101b/stubs_entry.S

    r865 r944  
    7777NSTUB(Remove, 0xffaaecfc) 
    7878NSTUB(RenameFile_Fut, 0xffaaa208) 
     79// Best match: 96% 
     80NSTUB(Restart, 0xff81b80c) 
    7981NSTUB(SetAutoShutdownTime, 0xffb63804) 
    8082NSTUB(SetCurrentCaptureModeType, 0xff829c58) 
  • trunk/tools/sig_ref_dryos_1.txt

    r865 r944  
    105105GetFocusLensSubjectDistanceFromLens 0xFFCFDE48 22 
    106106strtolx 0xFFC1FA10 
     107Restart 0xFFC1B8A4 
  • trunk/tools/sig_ref_dryos_2.txt

    r826 r944  
    2323PostLogicalEventToUI 0xFF872F50  
    2424PostLogicalEventForNotPowerType 0xFF872F04 
     25Restart 0xFF829EA8 
  • trunk/tools/sig_ref_dryos_3.txt

    r842 r944  
    2727VbattGet 0xFF831E04 10 
    2828GetFocusLensSubjectDistanceFromLens 0xFF9430E8 22 
     29Restart 0xFF83A130 
  • trunk/tools/sig_ref_vxworks_1.txt

    r865 r944  
    137137SetCurrentCaptureModeType 0xFFD76E1C 16 
    138138strtoul 0xFFEB5814 
     139Restart 0xFFC12800 
  • trunk/tools/signatures_dryos.h

    r865 r944  
    31663166}; 
    31673167 
     3168static FuncSig func_sig_Restart_1[] = { 
     3169        {   1, 0xe1a04000, 0xfdffffff }, // mov:6:0xE1A04000 
     3170        {   2, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB0054BC 
     3171        {   3, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB00FB1B 
     3172        {   4, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB009A56 
     3173        {   5, 0xe1540003, 0xfdffffff }, // cmp:7:0xE3540003 
     3174        {   6, 0x1b000000, 0xff000000 }, // b, bl:3:0x1B006ED8 
     3175        {   7, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB00E4D8 
     3176        {   8, 0xe08f00d0, 0xfdffffff }, // add:6:0xE28F00D0 
     3177        {   9, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFF9740 
     3178        {  10, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFFDA64 
     3179        {  11, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB006422 
     3180        {  12, 0xe1a00003, 0xfdffffff }, // mov:6:0xE3A00003 
     3181        {  13, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB007685 
     3182        {  14, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFFF70A 
     3183        {  19, 0xe59f10b8, 0xfdffffff }, // ldr:4:0xE59F10B8 
     3184        {  21, 0xe581010c, 0xfdffffff }, // str:4:0xE581010C 
     3185        {  22, 0xe581000c, 0xfdffffff }, // str:4:0xE581000C 
     3186        {  23, 0xe581001c, 0xfdffffff }, // str:4:0xE581001C 
     3187        {  24, 0xe581002c, 0xfdffffff }, // str:4:0xE581002C 
     3188        {  25, 0xe581003c, 0xfdffffff }, // str:4:0xE581003C 
     3189        {  26, 0xe581004c, 0xfdffffff }, // str:4:0xE581004C 
     3190        {  27, 0xe581005c, 0xfdffffff }, // str:4:0xE581005C 
     3191        {  28, 0xe581006c, 0xfdffffff }, // str:4:0xE581006C 
     3192        {  29, 0xe581007c, 0xfdffffff }, // str:4:0xE581007C 
     3193        {  30, 0xe581008c, 0xfdffffff }, // str:4:0xE581008C 
     3194        {  31, 0xe581009c, 0xfdffffff }, // str:4:0xE581009C 
     3195        { -1, -1, -1 }, 
     3196        /* 26/32 */ 
     3197}; 
     3198 
    31683199static FuncSig func_sig_AllocateMemory_2[] = { 
    31693200        {   0, 0xe5900000, 0xfdffffff }, // ldr:4:0xE5900000 
     
    38433874}; 
    38443875 
     3876static FuncSig func_sig_Restart_2[] = { 
     3877        {   1, 0xe1a04000, 0xfdffffff }, // mov:6:0xE1A04000 
     3878        {   2, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB00499C 
     3879        {   3, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB010DEE 
     3880        {   4, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB00A085 
     3881        {   5, 0xe1540003, 0xfdffffff }, // cmp:7:0xE3540003 
     3882        {   6, 0x1b000000, 0xff000000 }, // b, bl:3:0x1B0063F3 
     3883        {   7, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB00ED5B 
     3884        {   8, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFFDCB7 
     3885        {   9, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB00590F 
     3886        {  10, 0xe1a00003, 0xfdffffff }, // mov:6:0xE3A00003 
     3887        {  11, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB006D2D 
     3888        {  12, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFFF904 
     3889        {  17, 0xe59f10a4, 0xfdffffff }, // ldr:4:0xE59F10A4 
     3890        {  19, 0xe581010c, 0xfdffffff }, // str:4:0xE581010C 
     3891        {  20, 0xe581000c, 0xfdffffff }, // str:4:0xE581000C 
     3892        {  21, 0xe581001c, 0xfdffffff }, // str:4:0xE581001C 
     3893        {  22, 0xe581002c, 0xfdffffff }, // str:4:0xE581002C 
     3894        {  23, 0xe581003c, 0xfdffffff }, // str:4:0xE581003C 
     3895        {  24, 0xe581004c, 0xfdffffff }, // str:4:0xE581004C 
     3896        {  25, 0xe581005c, 0xfdffffff }, // str:4:0xE581005C 
     3897        {  26, 0xe581006c, 0xfdffffff }, // str:4:0xE581006C 
     3898        {  27, 0xe581007c, 0xfdffffff }, // str:4:0xE581007C 
     3899        {  28, 0xe581008c, 0xfdffffff }, // str:4:0xE581008C 
     3900        {  29, 0xe581009c, 0xfdffffff }, // str:4:0xE581009C 
     3901        {  30, 0xe58100ac, 0xfdffffff }, // str:4:0xE58100AC 
     3902        {  31, 0xe58100bc, 0xfdffffff }, // str:4:0xE58100BC 
     3903        { -1, -1, -1 }, 
     3904        /* 26/32 */ 
     3905}; 
     3906 
    38453907static FuncSig func_sig_AllocateUncacheableMemory_3[] = { 
    38463908        {   1, 0xe1a06000, 0xfdffffff }, // mov:6:0xE1A06000 
     
    46134675        { -1, -1, -1 }, 
    46144676        /* 18/22 */ 
     4677}; 
     4678 
     4679static FuncSig func_sig_Restart_3[] = { 
     4680        {   1, 0xe1a04000, 0xfdffffff }, // mov:6:0xE1A04000 
     4681        {   2, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFFDA17 
     4682        {   3, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB013CC5 
     4683        {   4, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB00C7A6 
     4684        {   5, 0xe1540003, 0xfdffffff }, // cmp:7:0xE3540003 
     4685        {   6, 0x1b000000, 0xff000000 }, // b, bl:3:0x1B0085B9 
     4686        {   7, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFFDFD7 
     4687        {   8, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB006AFA 
     4688        {   9, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB0093A8 
     4689        {  10, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFFF8CE 
     4690        {  15, 0xe59f10a4, 0xfdffffff }, // ldr:4:0xE59F10A4 
     4691        {  17, 0xe581010c, 0xfdffffff }, // str:4:0xE581010C 
     4692        {  18, 0xe581000c, 0xfdffffff }, // str:4:0xE581000C 
     4693        {  19, 0xe581001c, 0xfdffffff }, // str:4:0xE581001C 
     4694        {  20, 0xe581002c, 0xfdffffff }, // str:4:0xE581002C 
     4695        {  21, 0xe581003c, 0xfdffffff }, // str:4:0xE581003C 
     4696        {  22, 0xe581004c, 0xfdffffff }, // str:4:0xE581004C 
     4697        {  23, 0xe581005c, 0xfdffffff }, // str:4:0xE581005C 
     4698        {  24, 0xe581006c, 0xfdffffff }, // str:4:0xE581006C 
     4699        {  25, 0xe581007c, 0xfdffffff }, // str:4:0xE581007C 
     4700        {  26, 0xe581008c, 0xfdffffff }, // str:4:0xE581008C 
     4701        {  27, 0xe581009c, 0xfdffffff }, // str:4:0xE581009C 
     4702        {  28, 0xe58100ac, 0xfdffffff }, // str:4:0xE58100AC 
     4703        {  29, 0xe58100bc, 0xfdffffff }, // str:4:0xE58100BC 
     4704        {  30, 0xe58100cc, 0xfdffffff }, // str:4:0xE58100CC 
     4705        {  31, 0xe58100dc, 0xfdffffff }, // str:4:0xE58100DC 
     4706        { -1, -1, -1 }, 
     4707        /* 26/32 */ 
    46154708}; 
    46164709 
     
    46864779        { "Remove", func_sig_Remove_1 }, 
    46874780        { "RenameFile_Fut", func_sig_RenameFile_Fut_1 }, 
     4781        { "Restart", func_sig_Restart_1 }, 
     4782        { "Restart", func_sig_Restart_2 }, 
     4783        { "Restart", func_sig_Restart_3 }, 
    46884784        { "SetAutoShutdownTime", func_sig_SetAutoShutdownTime_1 }, 
    46894785        { "SetCurrentCaptureModeType", func_sig_SetCurrentCaptureModeType_1 }, 
  • trunk/tools/signatures_vxworks.h

    r865 r944  
    36493649        {  30, 0x01a05010, 0xfdffffff }, // mov:6:0x03A05010 
    36503650        {  31, 0xe1550000, 0xfdffffff }, // cmp:7:0xE3550000 
     3651        { -1, -1, -1 }, 
     3652        /* 26/32 */ 
     3653}; 
     3654 
     3655static FuncSig func_sig_Restart_1[] = { 
     3656        {   1, 0xe1a04000, 0xfdffffff }, // mov:6:0xE1A04000 
     3657        {   2, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB082DFA 
     3658        {   3, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB016901 
     3659        {   4, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB000255 
     3660        {   5, 0xe59f00d8, 0xfdffffff }, // ldr:4:0xE59F00D8 
     3661        {   6, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB0A9CAE 
     3662        {   7, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB002373 
     3663        {   8, 0xeb000000, 0xff000000 }, // b, bl:3:0xEB00185E 
     3664        {   9, 0xe1a00003, 0xfdffffff }, // mov:6:0xE3A00003 
     3665        {  10, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFFF14D 
     3666        {  11, 0xeb000000, 0xff000000 }, // b, bl:3:0xEBFFFA10 
     3667        {  16, 0xe59f20b4, 0xfdffffff }, // ldr:4:0xE59F20B4 
     3668        {  18, 0xe582110c, 0xfdffffff }, // str:4:0xE582110C 
     3669        {  19, 0xe582100c, 0xfdffffff }, // str:4:0xE582100C 
     3670        {  20, 0xe582101c, 0xfdffffff }, // str:4:0xE582101C 
     3671        {  21, 0xe582102c, 0xfdffffff }, // str:4:0xE582102C 
     3672        {  22, 0xe582103c, 0xfdffffff }, // str:4:0xE582103C 
     3673        {  23, 0xe582104c, 0xfdffffff }, // str:4:0xE582104C 
     3674        {  24, 0xe582105c, 0xfdffffff }, // str:4:0xE582105C 
     3675        {  25, 0xe582106c, 0xfdffffff }, // str:4:0xE582106C 
     3676        {  26, 0xe582107c, 0xfdffffff }, // str:4:0xE582107C 
     3677        {  27, 0xe582108c, 0xfdffffff }, // str:4:0xE582108C 
     3678        {  28, 0xe582109c, 0xfdffffff }, // str:4:0xE582109C 
     3679        {  29, 0xe58210ac, 0xfdffffff }, // str:4:0xE58210AC 
     3680        {  30, 0xe58210bc, 0xfdffffff }, // str:4:0xE58210BC 
     3681        {  31, 0xe58210cc, 0xfdffffff }, // str:4:0xE58210CC 
    36513682        { -1, -1, -1 }, 
    36523683        /* 26/32 */ 
     
    54465477        { "RenameFile_Fut", func_sig_RenameFile_Fut_1 }, 
    54475478        { "RenameFile_Fut", func_sig_RenameFile_Fut_3 }, 
     5479        { "Restart", func_sig_Restart_1 }, 
    54485480        { "SetAutoShutdownTime", func_sig_SetAutoShutdownTime_1 }, 
    54495481        { "SetAutoShutdownTime", func_sig_SetAutoShutdownTime_2 }, 
Note: See TracChangeset for help on using the changeset viewer.