PageRenderTime 60ms CodeModel.GetById 20ms app.highlight 2ms RepoModel.GetById 18ms app.codeStats 0ms

/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
 1#ifndef _OS_TRACE_H

 2#define _OS_TRACE_H

 3
 4/*
 5*********************************************************************************************************
 6*                                                    Constants
 7*********************************************************************************************************
 8*/
 9
10enum {
11    OBJ_SW,
12    OBJ_COR,
13    OBJ_SEM,
14    OBJ_MAX
15};
16
17enum {
18    PT_SW_CTX,
19    PT_SW_INT,
20    PT_SW_MAX
21};
22
23enum {
24    PT_COR_ERDY,
25    PT_COR_EWT,
26    PT_COR_SH,
27    PT_COR_MAX
28};
29
30enum {
31    PT_SEM_PEND,
32    PT_SEM_POST,
33    PT_SEM_MAX
34};
35
36/*
37*********************************************************************************************************
38*                                                    Prototypes
39*********************************************************************************************************
40*/
41
42void OSInitTrace( int Size );
43
44void OSTrace( int Object, int Point, void *tcb, void *event, int arg0, int arg1, int arg2 );
45
46
47#endif/*_OS_TRACE_H*/