153 lines
3.9 KiB
Plaintext
153 lines
3.9 KiB
Plaintext
|
EXT<EFBFBD>ṹ<EFBFBD><EFBFBD><EFBFBD>⣺
|
|||
|
ǰ8<EFBFBD>ֽڣ<EFBFBD>
|
|||
|
0~3<><33>mr_table <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ָ<><D6B8>
|
|||
|
4~7<><37>mr_c_function_st ָ<><D6B8>
|
|||
|
8~11<31><31>mr_c_function_load <20><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>
|
|||
|
|
|||
|
|
|||
|
typedef struct _mrc_extChunk_st
|
|||
|
{
|
|||
|
int32 check;
|
|||
|
|
|||
|
MR_LOAD_C_FUNCTION init_func; //mr_c_function_load <20><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>
|
|||
|
|
|||
|
/**
|
|||
|
* (void* P, int32 code, uint8* input, int32 input_len, uint8** output, int32* output_len);
|
|||
|
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⣺
|
|||
|
* p<><70>global_p_buf ָ<><D6B8>
|
|||
|
* code<64><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD>
|
|||
|
* 0<><30>mrc_init 1<><31>mrc_event 2<><32>
|
|||
|
*/
|
|||
|
MR_C_FUNCTION event; //mr_helper <20><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>
|
|||
|
|
|||
|
uint8* code_buf; //ext<78>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
|||
|
int32 code_len; //ext<78><74><EFBFBD><EFBFBD>
|
|||
|
uint8* var_buf; //RW<52>ε<EFBFBD>ַ
|
|||
|
int32 var_len; //RW<52>γ<EFBFBD><CEB3><EFBFBD>
|
|||
|
mr_c_function_st* global_p_buf; //mr_c_function_st <20><><EFBFBD><EFBFBD>ַ
|
|||
|
int32 global_p_len; //mr_c_function_st <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
int32 timer;
|
|||
|
mrc_extMainSendAppMsg_t sendAppEvent;
|
|||
|
mr_table *extMrTable;
|
|||
|
|
|||
|
#ifdef MRC_PLUGIN
|
|||
|
MR_C_FUNCTION_EX eventEx;
|
|||
|
#endif
|
|||
|
|
|||
|
int32 isPause;/*1: pause ״̬0:<3A><><EFBFBD><EFBFBD>״̬*/
|
|||
|
} mrc_extChunk_st;
|
|||
|
|
|||
|
typedef struct _mr_c_function_st
|
|||
|
{
|
|||
|
uint8* start_of_ER_RW;
|
|||
|
uint32 ER_RW_Length;
|
|||
|
//uint8* old_start_of_ER_RW;
|
|||
|
int32 ext_type;
|
|||
|
mrc_extChunk_st * mrc_extChunk;
|
|||
|
|
|||
|
//stack shell 2008-2-28
|
|||
|
int32 stack;
|
|||
|
//
|
|||
|
} mr_c_function_st;
|
|||
|
|
|||
|
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̣<EFBFBD>
|
|||
|
<09>ȵ<EFBFBD><C8B5>ã<EFBFBD>int32 mr_c_function_load (int32 code)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> mr_table <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
|
|||
|
ʱ<EFBFBD>գ<EFBFBD>
|
|||
|
[<5B><>ַ]-4λ<34><CEBB><EFBFBD><EFBFBD> mr_c_function_stָ<74>롣
|
|||
|
[<5B><>ַ]-8λ<38><CEBB><EFBFBD>Ǻ<EFBFBD><C7BA><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD>롣
|
|||
|
mr_c_function_load<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˺<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫ<EFBFBD><EFBFBD>Ϊ0x64<EFBFBD><EFBFBD>mr_c_function_new<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>mr_c_function_new<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>档
|
|||
|
EXT<EFBFBD><EFBFBD>RW<EFBFBD>Σ<EFBFBD><EFBFBD><EFBFBD>EXTȫ<EFBFBD>ֱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ռ䣬EXT<EFBFBD>ڲ<EFBFBD><EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
|
|||
|
BinSys<EFBFBD><EFBFBD>
|
|||
|
# /* ---- SKY_PLATFORM start ---- */
|
|||
|
ifeq ($(strip $(DSM_SUPPORT)),TRUE)
|
|||
|
# sky add ,compile switch macro
|
|||
|
COM_DEFS += __MMI_DSM_NEW__
|
|||
|
|
|||
|
|
|||
|
ifeq ($(strip $(PLATFORM)),MT6235B)
|
|||
|
COMPOBJS += plutommi\mmi\mythroad\mythroadlib\dsm35.lib
|
|||
|
endif
|
|||
|
ifneq ($(strip $(PLATFORM)),MT6235B)
|
|||
|
COMPOBJS += plutommi\mmi\mythroad\mythroadlib\dsm.lib
|
|||
|
endif
|
|||
|
|
|||
|
|
|||
|
COMPOBJS += plutommi\mmi\mythroad\mythroadlib\mmidsm111.lib
|
|||
|
<EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD> dsm.lib <20><> mmidsm111.lib
|
|||
|
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Կ<EFBFBD><EFBFBD><EFBFBD>Ŀǰ<EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֲ<EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><EFBFBD>룬<EFBFBD><EFBFBD>dsm.lib<69><62><EFBFBD><EFBFBD>mythroad.obj
|
|||
|
|
|||
|
<EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD><EFBFBD>е<EFBFBD>API<EFBFBD>ӿ<EFBFBD> <20><><EFBFBD>ں<EFBFBD><DABA><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD>ýӿ<EFBFBD> <20><EFBFBD><EEB5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD>ҿ<EFBFBD><EFBFBD><EFBFBD> Ŀǰ<C4BF><C7B0><EFBFBD><EFBFBD>Ҫ<EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>к<EFBFBD><D0BA><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǿ<EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>д
|
|||
|
<EFBFBD><EFBFBD>װNDK<EFBFBD>ײ㺯<EFBFBD><EFBFBD>
|
|||
|
|
|||
|
Ȼ<EFBFBD><EFBFBD> <20>ѵ<EFBFBD><D1B5><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>EXT֮ǰҪ<C7B0><D2AA>ʲô<CAB2><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>mrc_initǰ<74><C7B0><EFBFBD><EFBFBD>ʲô<CAB2><C3B4><EFBFBD><EFBFBD>ô<EFBFBD><C3B4>mrc_init
|
|||
|
|
|||
|
mr_c_function_load <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַΪext<78>ڴ<EFBFBD><DAB4><EFBFBD>ַ + 8<><38><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ext<78>ڲ<EFBFBD>λ<EFBFBD>ù̶<C3B9>
|
|||
|
|
|||
|
|
|||
|
eleqian<EFBFBD><EFBFBD>
|
|||
|
<EFBFBD>ţ<EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƱȽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<EFBFBD>Ի<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> mrc_init mrc_event mrc_pause <20>Ⱥ<EFBFBD><C8BA><EFBFBD> <20>Dz<EFBFBD><C7B2><EFBFBD><EFBFBD><EFBFBD> ext<78>ļ<EFBFBD><C4BC><EFBFBD>λ<EFBFBD>ù̶<C3B9><CCB6>Ķ
|
|||
|
<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><timespace_2011@qq.com> 23:35:01
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
eleqian(1003082820) 23:35:20
|
|||
|
ext<EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>ʹ֮<EFBFBD><EFBFBD><edroid@foxmail.com> 23:35:44
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ô<EFBFBD>ҵ<EFBFBD> mrc_init <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><timespace_2011@qq.com> 23:35:48
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>Ƕ<EFBFBD><EFBFBD><EFBFBD>mr_helper<EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>mr_helper <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>Ϣ<EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
eleqian(1003082820) 23:35:51
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
<EFBFBD><EFBFBD>ʹ֮<EFBFBD><EFBFBD><edroid@foxmail.com> 1:22:58
|
|||
|
mr_table <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD><DAB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MTK<54><4B><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ɵģ<C9B5><C4A3><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ij<EFBFBD><C4B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>´ο<C2B4><CEBF><EFBFBD><EFBFBD>Ż<EFBFBD><C5BB>ָ<EFBFBD>
|
|||
|
BinSys(123077083) 1:23:03
|
|||
|
mr_c_function_load ȷʵ<C8B7>ǹ̶<C7B9><CCB6>ģ<EFBFBD><C4A3><EFBFBD>Ϊһ<CEAA><D2BB>elf<6C>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>fromelf<6C><66><EFBFBD><EFBFBD>ò<EFBFBD><C3B2>ֻʣ<D6BB>´<EFBFBD><C2B4><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>entry<72><79>0<EFBFBD>ֽڴ<D6BD><DAB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊʲôƫ<C3B4><C6AB><EFBFBD><EFBFBD>8<EFBFBD><38><EFBFBD>Ͳ<EFBFBD>֪<EFBFBD><D6AA><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>ʹ֮<EFBFBD><EFBFBD><edroid@foxmail.com> 1:24:09
|
|||
|
<EFBFBD><EFBFBD>Ϊ ǰ<><C7B0> 8<><38><EFBFBD>ֽ<EFBFBD> <20>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>洢 mr_table <20><> mr_c_function_st <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ
|
|||
|
|
|||
|
|
|||
|
first<EFBFBD><EFBFBD>entry<EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD>Ϊ mr_c_function_load<61><64><EFBFBD><EFBFBD><EFBFBD>ⲻ<EFBFBD><E2B2BB>armccָ<63><D6B8><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD>armlink<6E>IJ<EFBFBD><C4B2><EFBFBD>
|
|||
|
armlink
|
|||
|
<09><><EFBFBD><EFBFBD>
|
|||
|
-rwpi
|
|||
|
-ro
|
|||
|
-base0x80000
|
|||
|
-remove
|
|||
|
-first mr_c_function_load
|
|||
|
-entry mr_c_function_load
|
|||
|
-o
|
|||
|
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\mr_cfunction.fmt
|
|||
|
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\mr_sfw_mrc_mrc_win.o
|
|||
|
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\mr_src_helloworld.o
|
|||
|
C:\SKYMOBI\SDS4CPv1.0\Compiler\mr_helper.lib(mr_helper.o)
|
|||
|
C:\SKYMOBI\SDS4CPv1.0\Compiler\mr_helper.lib(mr_helper_s.o)
|
|||
|
C:\SKYMOBI\SDS4CPv1.0\Compiler\mr_helperexf.lib
|
|||
|
C:\SKYMOBI\SDS4CPv1.0\Compiler\mr_helperexb.lib
|
|||
|
|
|||
|
<EFBFBD><EFBFBD>ͬ<EFBFBD>㣺
|
|||
|
ext<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>mr_table<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ext<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹͣ<EFBFBD>ĺ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ext<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>mr_internal_table<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD>"dealtimer"
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õĶ<EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>start.mr<6D><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD>dealtimer
|
|||
|
dealtimer <20><><EFBFBD><EFBFBD><EFBFBD>Ǹ<EFBFBD><C7B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>start.mr<6D>ﶨ<EFBFBD><EFB6A8>
|
|||
|
|
|||
|
*(mr_c_function_load - 0x4) + 0xC <20><><EFBFBD><EFBFBD>extģ<74><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֪<EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|