update the interface for drv_rfm.h and osp_ape.h and osp_rfm.h
This commit is contained in:
parent
e4896d8e97
commit
353a6d9053
@ -49,8 +49,8 @@ void phy_para_init(int protocol, int option);
|
|||||||
// stc timer初始化,该接口只需八个核中的一个核调用即可
|
// stc timer初始化,该接口只需八个核中的一个核调用即可
|
||||||
void ape_stc_init();
|
void ape_stc_init();
|
||||||
|
|
||||||
// scs sm初始化,该接口只需八个核中的一个核调用即可,放在main函数的最前面
|
// pet sm初始化,该接口只需八个核中的一个核调用即可,放在main函数的最前面
|
||||||
void ecs_sm_init();
|
void pet_sm_init();
|
||||||
/***************************************************************/
|
/***************************************************************/
|
||||||
// 以下接口,为帕拉丁临时验证带OSP的版本使用,最好按声明的顺序依次调用。
|
// 以下接口,为帕拉丁临时验证带OSP的版本使用,最好按声明的顺序依次调用。
|
||||||
// 具体可参见,phy_init.s.c中的tod_int_init接口。
|
// 具体可参见,phy_init.s.c中的tod_int_init接口。
|
||||||
|
@ -200,34 +200,6 @@ extern int osp_get_cfgfile(char* name, uint32_t *pbuf, int* psize);
|
|||||||
*/
|
*/
|
||||||
extern void osp_timer_sync(int tti); /* 使能任务定时点 */
|
extern void osp_timer_sync(int tti); /* 使能任务定时点 */
|
||||||
|
|
||||||
|
|
||||||
/************************************************************************************/
|
|
||||||
/* 其他相关接口 */
|
|
||||||
/************************************************************************************/
|
|
||||||
/*
|
|
||||||
函数名称:osp_get_ddr_mem
|
|
||||||
函数功能:获取物理层DDR的首地址
|
|
||||||
函数参数:无
|
|
||||||
函数返回值:物理层DDR的首地址
|
|
||||||
*/
|
|
||||||
extern uint32_t osp_get_ddr_mem(void);
|
|
||||||
|
|
||||||
/*
|
|
||||||
函数名称:osp_heap_malloc
|
|
||||||
函数功能:从DDR里分配内存
|
|
||||||
函数参数:size :需要分配的内存空间
|
|
||||||
函数返回值:分配到的DDR内存地址
|
|
||||||
*/
|
|
||||||
extern char *osp_heap_malloc(uint32_t size);
|
|
||||||
|
|
||||||
/*
|
|
||||||
函数名称:osp_heap_free
|
|
||||||
函数功能:释放DDR里分配内存
|
|
||||||
函数参数:需要释放的内存空间
|
|
||||||
函数返回值:无
|
|
||||||
*/
|
|
||||||
extern void osp_heap_free(char *p);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -80,5 +80,24 @@ int32_t osp_send_msg(uint32_t msg_addr,
|
|||||||
*/
|
*/
|
||||||
void ecs_hw_que_irq_callback(ECS_HWQUE_IRQ_FUNC func);
|
void ecs_hw_que_irq_callback(ECS_HWQUE_IRQ_FUNC func);
|
||||||
|
|
||||||
|
/************************************************************************************/
|
||||||
|
/* 其他相关接口 */
|
||||||
|
/************************************************************************************/
|
||||||
|
/*
|
||||||
|
函数名称:osp_heap_malloc
|
||||||
|
函数功能:从DDR里分配内存
|
||||||
|
函数参数:size :需要分配的内存空间
|
||||||
|
函数返回值:分配到的DDR内存地址
|
||||||
|
*/
|
||||||
|
extern char *osp_heap_malloc(uint32_t size);
|
||||||
|
|
||||||
|
/*
|
||||||
|
函数名称:osp_heap_free
|
||||||
|
函数功能:释放DDR里分配内存
|
||||||
|
函数参数:需要释放的内存空间
|
||||||
|
函数返回值:无
|
||||||
|
*/
|
||||||
|
extern void osp_heap_free(char *p);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user