
1. update component to week40 2. add new function smart_no_idle_sw_init 3. change name of smart_ddr_spinlock_init 4. change type of smart_task_del and smart_enable_q_nempty 5. if call smart_enable_q_nempty return faild, we'll call 8 times 6. if call smart_task_del return faild, we'll record 7. smart_reclaim_init_res() don't be called!!! 8. test: 8.1 SPU(case14)+ARM(case3) :PASS 8.2 SPU(case20)+ARM(case20):PASS 8.3 SPU(case21)+ARM(case21):PASS 8.4 SPU(case34)+ARM(case5) :PASS 8.5 SPU(case44)+ARM(case5) :PASS
19 lines
810 B
C
19 lines
810 B
C
#ifndef __ERR_NUM_H__
|
|
#define __ERR_NUM_H__
|
|
|
|
#define OSP_OK (0) /* 正常返回 */
|
|
#define OSP_PAR_ILL (1) /* 入参错误 */
|
|
#define OSP_PAR_REP (2) /* 入参重复 */
|
|
#define OSP_QUE_FULL (3) /* 软队列满 */
|
|
#define OSP_QUE_EMPT (4) /* 软队列空 */
|
|
#define OSP_MEM_FULL (5) /* 内存申请失败 */
|
|
#define OSP_NO_FILE (6) /* 无对应配置文件 */
|
|
#define OSP_ERROR (7) /* 失败返回 */
|
|
#define OSP_HW_BAND (8) /* 硬件队列绑定失败 */
|
|
#define OSP_HW_VECT (9) /* 硬件队列获取中断号失败 */
|
|
#define OSP_HW_IRQ (10) /* 硬件队列注册中断服务失败 */
|
|
#define OSP_HW_EMPTY_ERR (11) /* 硬件队列非空中断使能失败 */
|
|
|
|
#endif
|
|
|