Ignore:
Timestamp:
02/04/12 00:00:20 (2 years ago)
Author:
philmoz
Message:

Update for finsig_dryos:

  • try and find details for vid_get_viewport_fb_d() function and nrflag variable
  • add error handling to prevent crash if incorrect start address used.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_0/platform/ixus1000_sd4500/sub/100d/stubs_entry.S

    r1589 r1635  
    4444 
    4545// Values below go in 'lib.c': 
    46 //void *vid_get_bitmap_fb()        { return (void*)0x40471000; } // Found @0xff85d384 
    47 //void *vid_get_viewport_fb()      { return (void*)0x40587700; } // Found @0xffb4cb2c 
    48 //char *camera_jpeg_count_str()    { return (char*)0x000b7e00; } // Found @0xffa23818 
    49 //long hook_raw_size()             { return 0x00f32880; }        // Found @0xffb4fff4 
    50 //int get_flash_params_count(void) { return 0x9a; }              // Found @0xff9b1cac 
     46//void *vid_get_bitmap_fb()        { return (void*)0x40471000; }             // Found @0xff85d384 
     47//void *vid_get_viewport_fb()      { return (void*)0x40587700; }             // Found @0xffb4cb2c 
     48//void *vid_get_viewport_fb_d()    { return (void*)(*(int*)(0x3230+0x58)); } // Found @0xff877d10 & 0xff877d48 
     49//char *camera_jpeg_count_str()    { return (char*)0x000b7e00; }             // Found @0xffa23818 
     50//long hook_raw_size()             { return 0x00f32880; }                    // Found @0xffb4fff4 
     51//int get_flash_params_count(void) { return 0x9a; }                          // Found @0xff9b1cac 
    5152 
    5253// Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c). 
     
    8182DEF(ctypes, 0xffb8bd6a) 
    8283 
     84// For capt_seq.c 
     85//static long *nrflag = (long*)(0x7ce8+0x08);  // Found @ ff98d71c & ff98d720 
     86//#define NR_AUTO (0)                          // have to explictly reset value back to 0 to enable auto 
     87 
    8388// Stubs below matched 100%. 
    8489//    Name                                     Address                Comp to stubs_entry_2.S 
     
    8893NSTUB(CreateTask                              ,0xff81e8a0) //101 
    8994NSTUB(DebugAssert                             ,0xff81eb78) //111 
     95NSTUB(DeleteDirectory_Fut                     ,0xff837abc) //  1 
    9096NSTUB(DeleteFile_Fut                          ,0xff8379d8) //112 
    9197NSTUB(DoAFLock                                ,0xff839670) //102 
Note: See TracChangeset for help on using the changeset viewer.