Subversion Repositories shark

Rev

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

Rev Author Line No. Line
2 pj 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
 
80 pj 24
#include "ll/sys/cdefs.h"
25
 
26
__BEGIN_DECLS
27
 
2 pj 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
 
7 pj 38
/* Fixed queue, FAT16 filesystem (see kernel/modules/trcfixed.c) */
2 pj 39
int trc_register_fixed_queue(void);
40
 
7 pj 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
 
80 pj 45
__END_DECLS
2 pj 46
#endif
47