root/platform/ixus30_sd200/sub/100k/stubs_entry_2.S

/* [<][>][^][v][top][bottom][index][help] */
   1 #include "stubs_asm.h"
   2 
   3 #define NULL_SUB 0xff8101d0
   4 
   5 NHSTUB(AllocateMemory, 0xff81eb24) // ixus40 port has something different here, this value should be correct (function found by name!!!)
   6 NHSTUB(Close, 0xFF871688) //
   7 NHSTUB(CreatePhysicalVram, 0xff9278cc) //
   8 NHSTUB(DisplayImagePhysicalScreen, 0xff926e58) //
   9 NHSTUB(EnterToCompensationEVF, 0xff93df9c) //
  10 NHSTUB(ExecuteEventProcedure, 0xFF81756C) // same as in ixus40
  11 NHSTUB(ExitFromCompensationEVF, 0xff93dfdc) //
  12 NHSTUB(FreeMemory, 0xff81eb10) //ixus40: same issue as with allocatememory
  13 NHSTUB(FreeUncacheableMemory, 0xFF8152BC) // same
  14 NHSTUB(GetCurrentMachineTime, 0xff81fefc)
  15 NHSTUB(GetFocusLensSubjectDistance, 0xFFA5F808) // inner function
  16 NHSTUB(GetFocusLensSubjectDistanceFromLens, 0xffa5fe7c) // inner function
  17 NHSTUB(GetParameterData, 0xff958b44) //try this instead of 0xff95a318) //
  18 NHSTUB(GetZoomLensCurrentPoint, 0xffa50fe8) // 0xffa51f18 in the fw table, but that jumps here ! ixus40 port has something different here which may not be ok
  19 NHSTUB(MakeAFScan, NULL_SUB) //nullstub
  20 NHSTUB(Mount_FileSystem, 0xFF8702E4) // same
  21 NHSTUB(Open,  0xFF87167C) //
  22 NHSTUB(PT_PlaySound, 0xff94f078) //typo in ixus40: should be 0xff94f2bc there
  23 NHSTUB(PhySw_testgpio, 0xFF82FA8C) // same
  24 NHSTUB(Read,  0xFF8716E8) //
  25 NHSTUB(Remove, 0xFF871694) // same
  26 NHSTUB(Restart,0xFF824F58) // same
  27 NHSTUB(SetAFBeamBrightness, 0xffa629d8) //
  28 NHSTUB(SetAFBeamOff, 0xffa62a54) //
  29 NHSTUB(SetCurrentCaptureModeType,NULL_SUB) // NOT FOUND, NULLSUB
  30 NHSTUB(SetLogicalEventActive,NULL_SUB) // NOT FOUND, NULLSUB
  31 NHSTUB(SetParameterData, 0xff95a258) //
  32 NHSTUB(SetScriptMode,0xff9559e0) //
  33 NHSTUB(SetTimerWhen, 0xFF815828) // same
  34 NHSTUB(SetZoomActuatorSpeedPercent, NULL_SUB) //mov pc, lr
  35 NHSTUB(ShowAllTaskInfo, 0xffa9e68c) //
  36 NHSTUB(ShowCameraLog, 0xFF81A1A8) // same
  37 NHSTUB(UniqueLedOff, NULL_SUB)
  38 NHSTUB(UniqueLedOn, NULL_SUB)
  39 NHSTUB(UnsetZoomForMovie, NULL_SUB) // trials below
  40 //ActivateZoomController 0xFF9954E0 -> not good
  41 //0xFF9953DC -> not good
  42 
  43 NHSTUB(VbattGet, 0xffa5ba68) //
  44 NHSTUB(Write, 0xFF8716F4) //
  45 NHSTUB(WriteSDCard, NULL_SUB) //nullstub
  46 NHSTUB(free, 0xffac56a8) //
  47 NHSTUB(iosDevFind, 0xffac3808) //
  48 NHSTUB(iosInit, 0xffac390c) //
  49 NHSTUB(kbd_p1_f, NULL_SUB)
  50 NHSTUB(kbd_p1_f_cont, 0xFF830AB4) // same
  51 NHSTUB(kbd_p2_f, NULL_SUB)
  52 NHSTUB(kbd_read_keys_r2, NULL_SUB)
  53 NHSTUB(memPartFindMax,0xffac4368) //
  54 NHSTUB(memPartInfoGet,NULL_SUB)
  55 NHSTUB(semBCreate, 0xffacef28) // this is an inside function...
  56 
  57 // trial
  58 NHSTUB(EnterToPlayFromRec, 0xFF93D600)
  59 NHSTUB(EnterToRecFromPlay, 0xFF93D534)
  60 NHSTUB(tasktcb, 0xFFAD2064)
  61 
  62 //don't touch these, old notes
  63 
  64 /* looks like these are not equivalent
  65 NHSTUB(Open,  0xffac2ca0) // "open"
  66 NHSTUB(Read,  0xffac26bc) // "read"
  67 NHSTUB(Write, 0xffac272c) // "write"
  68 NHSTUB(Close, 0xffac265c) // "close"
  69 */
  70 
  71 //NHSTUB(time, 0xff8149c8) //Time, but it works equally wrong as time
  72 
  73 // New finsig_vxworks differences?
  74 NHSTUB(kbd_pwr_off, 0xffa4155c)
  75 
  76 // Custom overrides
  77 NHSTUB(GetPropertyCase_orig, 0xFF82CB54) // same
  78 NHSTUB(SetPropertyCase_orig, 0xFF82CAD0) // same
  79 NHSTUB(time_orig, 0xffabd9d0)
  80 
  81 IGNORE(GetPropertyCase)  // Custom version in lib.c, ignore firmware version
  82 IGNORE(SetPropertyCase)  // Custom version in lib.c, ignore firmware version
  83 IGNORE(time)  // Custom version in lib.c, ignore firmware version

/* [<][>][^][v][top][bottom][index][help] */