| 1 | // !!! THIS FILE IS GENERATED. DO NOT EDIT. !!! |
|---|
| 2 | #include "stubs_asm.h" |
|---|
| 3 | |
|---|
| 4 | // Camera info: |
|---|
| 5 | // DRYOS R45 (DRYOS version 2.3, release #0045) |
|---|
| 6 | // Firmware Ver GM1.00E |
|---|
| 7 | // Canon PowerShot SX30 IS |
|---|
| 8 | |
|---|
| 9 | // Stubs below should be checked. Stub not matched 100%, or difference found to current 'stubs_entry_2.S' |
|---|
| 10 | // Name Address Rule % Comp to stubs_entry_2.S |
|---|
| 11 | //NSTUB(kbd_pwr_off ,0xff865b9c) // 2 60% *** != 0xff810b1c |
|---|
| 12 | // ERROR: kbd_pwr_on is not found. //--- --- *** != 0xff810b1c |
|---|
| 13 | |
|---|
| 14 | // Check of modemap from 'platform/CAMERA/shooting.c': |
|---|
| 15 | // Firmware modemap table found @ff8a3cc0 -> ff8a068c -> ff9c1084 -> ffb00c50 -> ffc67898 |
|---|
| 16 | // No problems found with modemap table. |
|---|
| 17 | |
|---|
| 18 | // Values below go in 'stubs_min.S': |
|---|
| 19 | //DEF(physw_status ,0x00034594) // Found @0xff8349f0, stubs_min = 0x00034594 (0x34594) |
|---|
| 20 | //DEF(physw_run ,0x00001c3c) // Found @0xff8345ec, stubs_min = 0x00001c3c (0x1C30+0xC) |
|---|
| 21 | //DEF(levent_table ,0xffc0e7d0) // Found @0xffc0e7d0, stubs_min = 0xffc0e7d0 (0xFFC0E7D0) |
|---|
| 22 | //DEF(FlashParamsTable ,0xffc67a9c) // Found @0xffc67a9c, stubs_min = 0xffc67a9c (0xFFC67A9C) |
|---|
| 23 | //DEF(movie_status ,0x00003524) // Found @0xff882fc8, stubs_min = 0x00003524 (0x34E0+0x44) |
|---|
| 24 | //DEF(full_screen_refresh ,0x0000b198) // Found @0xffa4689c, stubs_min = 0x0000b198 (0xB198) |
|---|
| 25 | //DEF(canon_menu_active ,0x00003a2c) // Found @0xff89a56c, stubs_min = 0x00003a2c (0x3A28+4) |
|---|
| 26 | //DEF(canon_shoot_menu_active ,0x00009901) // Found @0xff9de8f0, stubs_min = 0x00009901 (0x9900+1) |
|---|
| 27 | //DEF(playrec_mode ,0x00003758) // Found @0xff88c70c, stubs_min = 0x00003758 (0x3754+0x4) |
|---|
| 28 | //DEF(zoom_status ,0x0000e7c4) // Found @0xffb046d4, stubs_min = 0x0000e7c4 (0xE7C4) |
|---|
| 29 | //DEF(some_flag_for_af_scan ,0x000085cc) // Found @0xff990fec |
|---|
| 30 | |
|---|
| 31 | // Values below go in 'lib.c': |
|---|
| 32 | //void *vid_get_bitmap_fb() { return (void*)0x40471000; } // Found @0xff85ed30 |
|---|
| 33 | //void *vid_get_viewport_fb() { return (void*)0x40587700; } // Found @0xffb56a24 |
|---|
| 34 | //char *camera_jpeg_count_str() { return (char*)0x000cf2fc; } // Found @0xffa3ba80 |
|---|
| 35 | //long hook_raw_size() { return 0x014eb7e0; } // Found @0xffb59ee4 |
|---|
| 36 | //int get_flash_params_count(void) { return 0x9a; } // Found @0xff9c261c |
|---|
| 37 | |
|---|
| 38 | // Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c). |
|---|
| 39 | //#define SD_READONLY_FLAG 0x00020000 // Found @0xffb97960, levent 0x90a |
|---|
| 40 | //#define SD_READONLY_IDX 2 |
|---|
| 41 | //#define USB_FLAG 0x04000000 // Found @0xffb97990, levent 0x902 |
|---|
| 42 | //#define USB_IDX 2 |
|---|
| 43 | |
|---|
| 44 | // Keymap values for kbd.c. Additional keys may be present, only common values included here. |
|---|
| 45 | //static KeyMap keymap[] = { |
|---|
| 46 | // { 0, KEY_UP ,0x00000400 }, // Found @0xffb97898, levent 0x04 |
|---|
| 47 | // { 0, KEY_DOWN ,0x00000800 }, // Found @0xffb978a0, levent 0x05 |
|---|
| 48 | // { 0, KEY_LEFT ,0x00001000 }, // Found @0xffb978a8, levent 0x06 |
|---|
| 49 | // { 0, KEY_RIGHT ,0x00002000 }, // Found @0xffb978b0, levent 0x07 |
|---|
| 50 | // { 0, KEY_SET ,0x00004000 }, // Found @0xffb978b8, levent 0x08 |
|---|
| 51 | // { 0, KEY_DISPLAY ,0x00020000 }, // Found @0xffb978d0, levent 0x0a |
|---|
| 52 | // { 0, KEY_MENU ,0x00040000 }, // Found @0xffb978d8, levent 0x09 |
|---|
| 53 | // { 2, KEY_SHOOT_HALF ,0x00000100 }, // Found @0xffb97930, levent 0x00 |
|---|
| 54 | // { 2, KEY_SHOOT_FULL ,0x00000300 }, // Found @0xffb97938, levent 0x01 |
|---|
| 55 | // { 0, 0, 0 } |
|---|
| 56 | //}; |
|---|
| 57 | |
|---|
| 58 | // Values below go in 'platform_camera.h': |
|---|
| 59 | //#define CAM_DRYOS 1 |
|---|
| 60 | //#define CAM_DRYOS_2_3_R39 1 // Defined for cameras with DryOS version R39 or higher |
|---|
| 61 | //#define CAM_RAW_ROWPIX 4464 // Found @0xff957834 |
|---|
| 62 | //#define CAM_RAW_ROWS 3276 // Found @0xff957840 |
|---|
| 63 | //#undef CAM_UNCACHED_BIT |
|---|
| 64 | //#define CAM_UNCACHED_BIT 0x40000000 // Found @0xff83afdc |
|---|
| 65 | |
|---|
| 66 | // Stubs below matched 100%. |
|---|
| 67 | // Name Address Comp to stubs_entry_2.S |
|---|
| 68 | NSTUB(AllocateMemory ,0xffaedf4c) //101 |
|---|
| 69 | NSTUB(AllocateUncacheableMemory ,0xff83af98) //112 |
|---|
| 70 | NSTUB(Close ,0xff8370dc) //101 |
|---|
| 71 | NSTUB(CreateTask ,0xff81e8a0) //101 |
|---|
| 72 | NSTUB(DebugAssert ,0xff81eb78) //111 |
|---|
| 73 | NSTUB(DeleteFile_Fut ,0xff836a54) //112 |
|---|
| 74 | NSTUB(DoAFLock ,0xff838ab8) //102 |
|---|
| 75 | NSTUB(EnterToCompensationEVF ,0xff838d44) //104 |
|---|
| 76 | NSTUB(ExecuteEventProcedure ,0xff895cc0) // 1 |
|---|
| 77 | NSTUB(ExitFromCompensationEVF ,0xff838d88) //104 |
|---|
| 78 | NSTUB(ExitTask ,0xff81eb30) //101 |
|---|
| 79 | NSTUB(ExpCtrlTool_StartContiAE ,0xff8474fc) //104 |
|---|
| 80 | NSTUB(ExpCtrlTool_StopContiAE ,0xff847688) //104 |
|---|
| 81 | NSTUB(Fclose_Fut ,0xff836bd0) //101 |
|---|
| 82 | NSTUB(Feof_Fut ,0xff836dbc) // 1 |
|---|
| 83 | NSTUB(Fflush_Fut ,0xff836df8) // 1 |
|---|
| 84 | NSTUB(Fgets_Fut ,0xff836d24) // 1 |
|---|
| 85 | NSTUB(Fopen_Fut ,0xff836b90) //101 |
|---|
| 86 | NSTUB(Fread_Fut ,0xff836c7c) //101 |
|---|
| 87 | NSTUB(FreeMemory ,0xffaedf44) //101 |
|---|
| 88 | NSTUB(FreeUncacheableMemory ,0xff83afd8) //112 |
|---|
| 89 | NSTUB(Fseek_Fut ,0xff836d70) //101 |
|---|
| 90 | NSTUB(Fwrite_Fut ,0xff836cd0) //101 |
|---|
| 91 | NSTUB(GetBatteryTemperature ,0xff8697ac) //102 |
|---|
| 92 | NSTUB(GetCCDTemperature ,0xff869738) //102 |
|---|
| 93 | NSTUB(GetCurrentAvValue ,0xff980648) //102 |
|---|
| 94 | NSTUB(GetDrive_ClusterSize ,0xff87724c) // 4 |
|---|
| 95 | NSTUB(GetDrive_FreeClusters ,0xff8772ac) // 4 |
|---|
| 96 | NSTUB(GetDrive_TotalClusters ,0xff877280) // 3 |
|---|
| 97 | NSTUB(GetFocusLensSubjectDistance ,0xff97ea48) //102 |
|---|
| 98 | NSTUB(GetFocusLensSubjectDistanceFromLens ,0xff97eec0) // 3 |
|---|
| 99 | NSTUB(GetImageFolder ,0xff95f0b8) //106 |
|---|
| 100 | NSTUB(GetKbdState ,0xff865a28) //109 |
|---|
| 101 | NSTUB(GetMemInfo ,0xff81a264) // 3 |
|---|
| 102 | NSTUB(GetOpticalTemperature ,0xff869820) //102 |
|---|
| 103 | NSTUB(GetParameterData ,0xff9c25e0) //101 |
|---|
| 104 | NSTUB(GetPropertyCase ,0xff8999c8) //102 |
|---|
| 105 | NSTUB(GetSystemTime ,0xffaedfa4) //101 |
|---|
| 106 | NSTUB(GetZoomLensCurrentPoint ,0xff87e9c4) //102 |
|---|
| 107 | NSTUB(GetZoomLensCurrentPosition ,0xff986474) //102 |
|---|
| 108 | NSTUB(GiveSemaphore ,0xff83a9b4) //112 |
|---|
| 109 | NSTUB(IsStrobeChargeCompleted ,0xff8ec168) //102 |
|---|
| 110 | NSTUB(LEDDrive ,0xff864bd4) //103 |
|---|
| 111 | NSTUB(LocalTime ,0xff8935a8) // 1 |
|---|
| 112 | NSTUB(LockMainPower ,0xff8a0290) //103 |
|---|
| 113 | NSTUB(Lseek ,0xff8371f8) //101 |
|---|
| 114 | NSTUB(MakeDirectory_Fut ,0xff836ac8) // 1 |
|---|
| 115 | NSTUB(MoveFocusLensToDistance ,0xffb52d54) //102 |
|---|
| 116 | NSTUB(MoveIrisWithAv ,0xffae8d58) //102 |
|---|
| 117 | NSTUB(MoveZoomLensWithPoint ,0xffae9450) //102 |
|---|
| 118 | NSTUB(NewTaskShell ,0xff8993e4) //103 |
|---|
| 119 | NSTUB(Open ,0xff837070) //101 |
|---|
| 120 | NSTUB(PB2Rec ,0xff8a30f8) //104 |
|---|
| 121 | NSTUB(PT_MoveDigitalZoomToWide ,0xff883c2c) //102 |
|---|
| 122 | NSTUB(PT_MoveOpticalZoomAt ,0xff883c04) //102 |
|---|
| 123 | NSTUB(PT_PlaySound ,0xff88e65c) // 4 |
|---|
| 124 | NSTUB(PostLogicalEventForNotPowerType ,0xff89e028) //103 |
|---|
| 125 | NSTUB(PostLogicalEventToUI ,0xff89e074) //103 |
|---|
| 126 | NSTUB(PutInNdFilter ,0xffb509c8) //102 |
|---|
| 127 | NSTUB(PutOutNdFilter ,0xffb50a00) //102 |
|---|
| 128 | NSTUB(Read ,0xff81ad74) //101 |
|---|
| 129 | NSTUB(ReadFastDir ,0xffacddc8) // 4 |
|---|
| 130 | NSTUB(Rec2PB ,0xff8a1b3c) //104 |
|---|
| 131 | NSTUB(RefreshPhysicalScreen ,0xff8b8110) //104 |
|---|
| 132 | NSTUB(Remove ,0xff837110) // 4 |
|---|
| 133 | NSTUB(RenameFile_Fut ,0xff8369c0) // 4 |
|---|
| 134 | NSTUB(Restart ,0xff83c788) //106 |
|---|
| 135 | NSTUB(ScreenLock ,0xff8b9340) // 4 |
|---|
| 136 | NSTUB(ScreenUnlock ,0xff8b93a4) // 3 |
|---|
| 137 | NSTUB(SetAE_ShutterSpeed ,0xffb55b9c) //102 |
|---|
| 138 | NSTUB(SetAutoShutdownTime ,0xff8a0304) //103 |
|---|
| 139 | NSTUB(SetCurrentCaptureModeType ,0xff8a9228) //101 |
|---|
| 140 | NSTUB(SetFileTimeStamp ,0xff837378) // 4 |
|---|
| 141 | NSTUB(SetLogicalEventActive ,0xff89ffcc) //101 |
|---|
| 142 | NSTUB(SetParameterData ,0xff9c24b8) //101 |
|---|
| 143 | NSTUB(SetPropertyCase ,0xff8998a0) //102 |
|---|
| 144 | NSTUB(SetScriptMode ,0xff8a001c) //101 |
|---|
| 145 | NSTUB(SleepTask ,0xff83ac1c) //101 |
|---|
| 146 | NSTUB(TakeSemaphore ,0xff83a8e4) //101 |
|---|
| 147 | NSTUB(TurnOffBackLight ,0xff8b0598) //104 |
|---|
| 148 | NSTUB(TurnOnBackLight ,0xff8b0580) //104 |
|---|
| 149 | NSTUB(UIFS_WriteFirmInfoToFile ,0xff9aec84) //101 |
|---|
| 150 | NSTUB(UnlockAF ,0xff838af0) //102 |
|---|
| 151 | NSTUB(UnlockMainPower ,0xff8a01e4) //103 |
|---|
| 152 | NSTUB(UpdateMBROnFlash ,0xff8770cc) // 3 |
|---|
| 153 | NSTUB(VbattGet ,0xff833178) //103 |
|---|
| 154 | NSTUB(Write ,0xff83716c) //101 |
|---|
| 155 | NSTUB(WriteSDCard ,0xff96da7c) //108 |
|---|
| 156 | NSTUB(_log ,0xffb93a4c) //111 |
|---|
| 157 | NSTUB(_log10 ,0xffb92990) //112 |
|---|
| 158 | NSTUB(_pow ,0xffb92b00) //114 |
|---|
| 159 | NSTUB(_sqrt ,0xffb94e18) // 1 |
|---|
| 160 | NSTUB(add_ptp_handler ,0xffa8e97c) // 3 |
|---|
| 161 | NSTUB(apex2us ,0xffa4e78c) // 4 |
|---|
| 162 | NSTUB(close ,0xff81ab8c) // 1 |
|---|
| 163 | NSTUB(closedir ,0xffacdc24) // 4 |
|---|
| 164 | NSTUB(err_init_task ,0xff815fd4) // 4 |
|---|
| 165 | NSTUB(exmem_alloc ,0xff8944f4) //103 |
|---|
| 166 | NSTUB(free ,0xff814244) //112 |
|---|
| 167 | NSTUB(kbd_p1_f ,0xff834a68) //109 |
|---|
| 168 | NSTUB(kbd_p1_f_cont ,0xff834a74) //109 |
|---|
| 169 | NSTUB(kbd_p2_f ,0xff8342b8) //109 |
|---|
| 170 | NSTUB(kbd_read_keys ,0xff8349f0) //109 |
|---|
| 171 | NSTUB(kbd_read_keys_r2 ,0xff8651a4) //109 |
|---|
| 172 | NSTUB(lseek ,0xff8371f8) //101 |
|---|
| 173 | NSTUB(malloc ,0xff8141e8) //112 |
|---|
| 174 | NSTUB(memcmp ,0xff8206d0) //101 |
|---|
| 175 | NSTUB(memcpy ,0xff840750) //101 |
|---|
| 176 | NSTUB(memset ,0xffa4d788) //101 |
|---|
| 177 | NSTUB(mkdir ,0xff837578) // 4 |
|---|
| 178 | NSTUB(mktime_ext ,0xff8ba260) // 1 |
|---|
| 179 | NSTUB(open ,0xff81aadc) // 1 |
|---|
| 180 | NSTUB(opendir ,0xffacdc74) // 4 |
|---|
| 181 | NSTUB(openfastdir ,0xffacdc74) // 4 |
|---|
| 182 | NSTUB(qsort ,0xffb405a0) // 4 |
|---|
| 183 | NSTUB(rand ,0xffa4d8c8) // 4 |
|---|
| 184 | NSTUB(read ,0xff81ad74) //101 |
|---|
| 185 | NSTUB(readfastdir ,0xffacddc8) // 4 |
|---|
| 186 | NSTUB(reboot_fw_update ,0xffad31e8) // 4 |
|---|
| 187 | NSTUB(rename ,0xff8369c0) // 4 |
|---|
| 188 | NSTUB(set_control_event ,0xff89fbbc) //111 |
|---|
| 189 | NSTUB(srand ,0xffa4d8bc) // 4 |
|---|
| 190 | NSTUB(stat ,0xff837240) // 3 |
|---|
| 191 | NSTUB(strcat ,0xff8b9a1c) // 1 |
|---|
| 192 | NSTUB(strchr ,0xff8140b4) // 1 |
|---|
| 193 | NSTUB(strcmp ,0xff82068c) //101 |
|---|
| 194 | NSTUB(strcpy ,0xff820674) //101 |
|---|
| 195 | NSTUB(strftime ,0xff8b9c68) //113 |
|---|
| 196 | NSTUB(strlen ,0xff814100) //101 |
|---|
| 197 | NSTUB(strncmp ,0xff814068) // 1 |
|---|
| 198 | NSTUB(strncpy ,0xff81402c) // 1 |
|---|
| 199 | NSTUB(strrchr ,0xff8140d8) // 1 |
|---|
| 200 | NSTUB(strtol ,0xff840a30) //101 |
|---|
| 201 | NSTUB(strtolx ,0xff840834) //109 |
|---|
| 202 | DEF(task_CaptSeq ,0xff8868c0) //107 |
|---|
| 203 | DEF(task_ExpDrv ,0xff8d0818) //110 |
|---|
| 204 | DEF(task_InitFileModules ,0xff8a3b4c) //107 |
|---|
| 205 | DEF(task_MovieRecord ,0xff883348) //107 |
|---|
| 206 | DEF(task_PhySw ,0xff8345e8) //107 |
|---|
| 207 | DEF(task_RotaryEncoder ,0xff865d08) //107 |
|---|
| 208 | NSTUB(time ,0xff893b88) // 2 |
|---|
| 209 | NSTUB(vsprintf ,0xff820638) // 4 |
|---|
| 210 | NSTUB(write ,0xff83716c) //101 |
|---|