Subversion Repositories shark

Rev

Rev 503 | Rev 534 | 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 68

#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);

int FTrace_OSD_update_chunk_flags(FTrace_Chunk_Ptr c);

/* 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