/src/compiler/ucos-vs2008/UCOS_SIM/src/ucosii-port/win32/os_trace.h
http://ftk.googlecode.com/ · C Header · 47 lines · 27 code · 10 blank · 10 comment · 0 complexity · aa2149d498dec59b343dd3fdf02e0c64 MD5 · raw file
- #ifndef _OS_TRACE_H
- #define _OS_TRACE_H
-
- /*
- *********************************************************************************************************
- * Constants
- *********************************************************************************************************
- */
-
- enum {
- OBJ_SW,
- OBJ_COR,
- OBJ_SEM,
- OBJ_MAX
- };
-
- enum {
- PT_SW_CTX,
- PT_SW_INT,
- PT_SW_MAX
- };
-
- enum {
- PT_COR_ERDY,
- PT_COR_EWT,
- PT_COR_SH,
- PT_COR_MAX
- };
-
- enum {
- PT_SEM_PEND,
- PT_SEM_POST,
- PT_SEM_MAX
- };
-
- /*
- *********************************************************************************************************
- * Prototypes
- *********************************************************************************************************
- */
-
- void OSInitTrace( int Size );
-
- void OSTrace( int Object, int Point, void *tcb, void *event, int arg0, int arg1, int arg2 );
-
-
- #endif/*_OS_TRACE_H*/