Subversion Repositories shark

Rev

Rev 503 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef __FTRACE_OSD__
#define __FTRACE_OSD__

/* OS Dependent functions */

#include <FTrace_types.h>

#define FTRACE_OSD_CHUNK_HEAD 60

#define FTRACE_OSD_NEXT1 1
#define FTRACE_OSD_NEXT2 2
#define FTRACE_OSD_NEXT3 3

#define FTrace_printf cprintf

void FTrace_OSD_save_event(WORD type, WORD par1);

/* OSD Tracer Init */
int FTrace_OSD_init();

/* OSD Chunk Init */
int FTrace_OSD_chunk_init(FTrace_Chunk_Ptr c, int normal_size, int emergency_site, FTrace_flags flags);

/* OSD Chunk Link */
int FTrace_OSD_chunk_link(FTrace_Chunk_Ptr a, FTrace_Chunk_Ptr b, int osd_flags);

/* OSD Save Global Pointers */
int FTrace_OSD_save_pointers();

/* OSD Load Global Pointers */
int FTrace_OSD_load_pointers();

/* OSD Chunk compress function */
int FTrace_OSD_compress_chunk(int number, void *temp_data, int *data_size);

/* OSD Send Chunk out */
int FTrace_OSD_send_chunk(int number, int osd_flags);

#endif