
1. SPU and ARM both update 2. 8 APE and 3 RFM(no pet_rfm_spu0) support hearbeat 3. ARM support new function get_heartbeat_status() to get the cores status 4. test: 4.1 spu(case34)+arm(case5): Pass 4.2 spu(case44)+arm(case5): Pass --> spu(case44)should use previous version 4.3 spu(case21)+arm(case21):Pass 4.4 spu(case14)+arm(case3): Pass
17 lines
383 B
C
17 lines
383 B
C
#ifndef __OSP_HEARTBEAT__
|
|
#define __OSP_HEARTBEAT__
|
|
|
|
typedef struct __OspHeartBeatInfo_t
|
|
{
|
|
uint32_t u32CheckFlag; /* 0: check; 1: no check */
|
|
uint32_t u32LastCounter; /* 上次心跳计数 */
|
|
uint32_t u32LossCounter; /* 失信计数 */
|
|
}OspHeartbeatInfo_t;
|
|
|
|
int8_t OspHeartbeatPro(void);
|
|
|
|
uint32_t get_heartbeat_status(void);
|
|
|
|
#endif /* __OSP_HEARTBEAT__ */
|
|
|