Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1655 giacomo 1
/*
2
 *
3
 *
4
 *
5
 */
6
 
7
#include <ll/i386/cons.h>
8
#include <stddef.h>
9
 
10
#include <trace/trace.h>
11
#include <trace/queues.h>
12
 
13
int __register_sub_init_prologue(void)
14
{
15
  int q;
16
  TRC_init_phase1(NULL);
17
  trc_register_fixed_queue();
18
  q=trc_create_queue(TRC_FIXED_QUEUE,NULL);
19
  trc_assign_class_to_queue(TRC_CLASS_SYSTEM,q);
20
  trc_trace_class(TRC_CLASS_SYSTEM);
21
  return 0;
22
}
23
 
24
int main(int argc,char *argv[])
25
{
26
  cprintf("\nHello, world!\n");
27
  cprintf("The tracer has been activated! Look at the results.\n");
28
  cprintf("(A fixed queue has been created)\n\n");
29
  return 0;
30
}