Merge branch 'dev_ck_v2.1_feature_enhancement1321' into 'dev_ck_v2.1'
优化shell模块IM空间feature_enhancement#1321 See merge request ucp/driver/ucp4008_platform_spu!61
This commit is contained in:
commit
c02dc790b8
@ -38,7 +38,7 @@ typedef struct tagOspCmdRtn
|
||||
char cmd[64];
|
||||
OSP_FUNCPTR wrapper;
|
||||
OSP_FUNCPTR routine;
|
||||
char descption[128];
|
||||
/*char descption[128];*/
|
||||
uint32_t argnum;
|
||||
}OSP_CMD_RTN;
|
||||
|
||||
|
@ -118,7 +118,7 @@ void spu_insert_cmd_ext(char *name, OSP_FUNCPTR pfunc, char *desc, uint32_t argn
|
||||
}
|
||||
|
||||
memcpy_ucp(tlb[num].cmd, name, strlen(name) + 1);
|
||||
memcpy_ucp(tlb[num].descption, desc, strlen(desc) + 1);
|
||||
/*memcpy_ucp(tlb[num].descption, desc, strlen(desc) + 1);*/
|
||||
tlb[num].wrapper = (OSP_FUNCPTR)spu_shell_wrapper;
|
||||
//memcpy_ucp(tlb[num].wrapper, (OSP_FUNCPTR)spu_shell_wrapper, sizeof(OSP_FUNCPTR));
|
||||
//memcpy_ucp(tlb[num].routine, pfunc, sizeof(OSP_FUNCPTR));
|
||||
|
Loading…
x
Reference in New Issue
Block a user