update the interface for drv_rfm.h and osp_ape.h and osp_rfm.h

This commit is contained in:
lishuang.xie 2023-07-29 16:03:01 +08:00
parent e4896d8e97
commit 353a6d9053
3 changed files with 21 additions and 30 deletions

View File

@ -49,8 +49,8 @@ void phy_para_init(int protocol, int option);
// stc timer初始化该接口只需八个核中的一个核调用即可
void ape_stc_init();
// scs sm初始化该接口只需八个核中的一个核调用即可放在main函数的最前面
void ecs_sm_init();
// pet sm初始化该接口只需八个核中的一个核调用即可放在main函数的最前面
void pet_sm_init();
/***************************************************************/
// 以下接口为帕拉丁临时验证带OSP的版本使用最好按声明的顺序依次调用。
// 具体可参见phy_init.s.c中的tod_int_init接口。

View File

@ -200,34 +200,6 @@ extern int osp_get_cfgfile(char* name, uint32_t *pbuf, int* psize);
*/
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

View File

@ -80,5 +80,24 @@ int32_t osp_send_msg(uint32_t msg_addr,
*/
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