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/sx40hs/sub/100g/stubs_entry.S

    r1611 r1635  
    4343 
    4444// Values below go in 'lib.c': 
    45 //void *vid_get_bitmap_fb()        { return (void*)0x40685000; } // Found @0xff0515dc 
    46 //void *vid_get_viewport_fb()      { return (void*)0x407dab80; } // Found @0xff3e0b38 
    47 //char *camera_jpeg_count_str()    { return (char*)0x000df0e8; } // Found @0xff285438 
    48 //long hook_raw_size()             { return 0x01247a60; }        // Found @0xff3e393c 
    49 //int get_flash_params_count(void) { return 0x9f; }              // Found @0xff205db4 
     45//void *vid_get_bitmap_fb()        { return (void*)0x40685000; }             // Found @0xff0515dc 
     46//void *vid_get_viewport_fb()      { return (void*)0x407dab80; }             // Found @0xff3e0b38 
     47//void *vid_get_viewport_fb_d()    { return (void*)(*(int*)(0x2ca0+0x58)); } // Found @0xff06bfac & 0xff06bfe4 
     48//char *camera_jpeg_count_str()    { return (char*)0x000df0e8; }             // Found @0xff285438 
     49//long hook_raw_size()             { return 0x01247a60; }                    // Found @0xff3e393c 
     50//int get_flash_params_count(void) { return 0x9f; }                          // Found @0xff205db4 
    5051 
    5152// Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c). 
     
    8182// Misc stuff 
    8283DEF(ctypes, 0xff43381a) 
     84 
     85// For capt_seq.c 
     86//static long *nrflag = (long*)(0xc3f8+0x00);  // Found @ ff29e26c & ff29e2f4 
     87//#define NR_AUTO (0)                          // have to explictly reset value back to 0 to enable auto 
    8388 
    8489// Stubs below matched 100%. 
Note: See TracChangeset for help on using the changeset viewer.