Subversion Repositories shark

Rev

Rev 1063 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
352 giacomo 1
/*
2
 * Project: S.Ha.R.K.
3
 *
4
 * Coordinators:
5
 *   Giorgio Buttazzo    <giorgio@sssup.it>
6
 *   Paolo Gai           <pj@gandalf.sssup.it>
7
 *
8
 * Authors     :
9
 *   Paolo Gai           <pj@gandalf.sssup.it>
10
 *   Massimiliano Giorgi <massy@gandalf.sssup.it>
11
 *   Luca Abeni          <luca@gandalf.sssup.it>
12
 *   (see the web pages for full authors list)
13
 *
14
 * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
15
 *
16
 * http://www.sssup.it
17
 * http://retis.sssup.it
18
 * http://shark.sssup.it
19
 */
20
 
21
#ifndef __TRACE_QFIXED_H
22
#define __TRACE_QFIXED_H
23
 
24
#include "ll/sys/cdefs.h"
25
 
26
__BEGIN_DECLS
27
 
28
typedef struct TAGtrc_fixed_queue_args_t {
29
  char *filename;
30
  int size;
31
} TRC_FIXED_PARMS;
32
 
33
#define trc_fixed_default_parms(m)  (m).filename=NULL,\
34
                                    (m).size=8192
35
#define trc_fixed_def_filename(m,s) (m).filename=(s)
36
#define trc_fixed_def_size(m,s)     (m).size=(s)
37
 
38
/* Fixed queue, FAT16 filesystem (see kernel/modules/trcfixed.c) */
39
int trc_register_fixed_queue(void);
40
 
41
/* Fixed queue, DOSFS filesystem (see kernel/modules/trcdfix.c)
42
   Note: You MUST specify a valid filename... */
43
int trc_register_dosfs_fixed_queue(void);
44
 
45
__END_DECLS
46
#endif
47