Subversion Repositories shark

Rev

Rev 503 | Go to most recent revision | Details | 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
 
8
#define FTRACE_OSD_CHUNK_HEAD 60
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
 
24
/* OSD Chunk Link */
25
int FTrace_OSD_chunk_link(FTrace_Chunk_Ptr a, FTrace_Chunk_Ptr b, int osd_flags);
26
 
27
/* OSD Save Global Pointers */
28
int FTrace_OSD_save_pointers();
29
 
30
/* OSD Load Global Pointers */
31
int FTrace_OSD_load_pointers();
32
 
33
/* OSD Chunk compress function */
34
int FTrace_OSD_compress_chunk(int number, void *temp_data, int *data_size);
35
 
36
/* OSD Send Chunk out */
37
int FTrace_OSD_send_chunk(int number, int osd_flags);
38
 
39
#endif
40