123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #ifndef _MID_MON_H
- #define _MID_MON_H
- #define MID_MON_MSG_KEY 0xdeb1
- #define MID_MON_TEXT_LEN 50
- #define MID_MON_PARA_CNT 8
- // on MIPS platform, the vma range of user routine is from 0x00000000 to 0x7fffffff
- #define MID_UMF_VMA_START 0x00000000
- #define MID_UMF_VMA_END 0x7fffffff
- typedef enum {
- MID_MON_none = 0,
- MID_MON_monflg,
- MID_MON_dbgconf,
- MID_MON_vip_mutest,
- MID_MON_stopphoto,
- MID_MON_SpeedTest,
- MID_MON_remount,
- MID_MON_pvrstatus,
- MID_MON_cipvr,
- MID_MON_runavdebug,
- MID_MON_photoeft,
- MID_MON_asp,
- MID_MON_mir,
- MID_MON_taralog,
- MID_MON_dmleak,
- MID_MON_memWatch,
- MID_MON_marquee,
- MID_MON_bt,
- MID_MON_tracelog,
- MID_MON_checkStrLen,
- MID_MON_umfmemrw,
- MID_MON_flashuid,
- MID_MON_NUMBER, // for program
- } MID_MON_EVENT;
- struct mon_msgbuf {
- long mtype;
- char mtext[MID_MON_TEXT_LEN];
- };
- struct mon_cmd {
- MID_MON_EVENT cmd;
- const char *cmd_name;
- };
- void MID_Mon_Init(void);
- #endif
|