Rev 503 | Rev 532 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
497 | giacomo | 1 | #ifndef __FTRACE_OSD__ |
2 | #define __FTRACE_OSD__ |
||
3 | |||
4 | /* OS Dependent functions */ |
||
5 | |||
6 | #include <FTrace_types.h> |
||
7 | |||
506 | giacomo | 8 | #define FTRACE_OSD_CHUNK_HEAD 68 |
497 | giacomo | 9 | |
10 | #define FTRACE_OSD_NEXT1 1 |
||
11 | #define FTRACE_OSD_NEXT2 2 |
||
12 | #define FTRACE_OSD_NEXT3 3 |
||
13 | |||
14 | #define FTrace_printf cprintf |
||
15 | |||
16 | void FTrace_OSD_save_event(WORD type, WORD par1); |
||
17 | |||
18 | /* OSD Tracer Init */ |
||
19 | int FTrace_OSD_init(); |
||
20 | |||
21 | /* OSD Chunk Init */ |
||
22 | int FTrace_OSD_chunk_init(FTrace_Chunk_Ptr c, int normal_size, int emergency_site, FTrace_flags flags); |
||
23 | |||
503 | giacomo | 24 | int FTrace_OSD_update_chunk_flags(FTrace_Chunk_Ptr c); |
25 | |||
497 | giacomo | 26 | /* OSD Chunk Link */ |
27 | int FTrace_OSD_chunk_link(FTrace_Chunk_Ptr a, FTrace_Chunk_Ptr b, int osd_flags); |
||
28 | |||
29 | /* OSD Save Global Pointers */ |
||
30 | int FTrace_OSD_save_pointers(); |
||
31 | |||
32 | /* OSD Load Global Pointers */ |
||
33 | int FTrace_OSD_load_pointers(); |
||
34 | |||
35 | /* OSD Chunk compress function */ |
||
36 | int FTrace_OSD_compress_chunk(int number, void *temp_data, int *data_size); |
||
37 | |||
38 | /* OSD Send Chunk out */ |
||
39 | int FTrace_OSD_send_chunk(int number, int osd_flags); |
||
40 | |||
41 | #endif |
||
42 |