debug.h File Reference

Go to the source code of this file.

Defines


Define Documentation

#define __8254_DEBUG   1
 

Definition at line 6 of file debug.h.

 
#define __debug  )     __asm__ __volatile__ ("push %eax; \ movl $1, %eax; \ debug1: cmp $1, %eax; \ nop; \ je debug1; \ pop %eax");
 

Definition at line 18 of file debug.h.

#define __KMM_DEBUG   0
 

Definition at line 5 of file debug.h.

#define __VMDEBUG   0
 

Definition at line 4 of file debug.h.

#define _debug valor   ) 
 

Value:

__asm__ __volatile__ (          \
        "sigue: \n\t"           \
        " movw %0, %%ax\n\t"    \
        " decw %%ax\n\t"        \
        " jnz sigue\n\t"        \
         : : "i" (valor) : "ax"  );

Definition at line 10 of file debug.h.

 
#define END_TICKS_COUNT  )     rdtscl(end_ticks_count)
 

Definition at line 28 of file debug.h.

 
#define PRINT_TICKS_COUNT  )     kprintf("Cantidad de ticks: %d\n", end_ticks_count - start_ticks_count);
 

Definition at line 29 of file debug.h.

 
#define START_TICKS_COUNT  ) 
 

Value:

ticks_t start_ticks_count, end_ticks_count;     \
                                                                                rdtscl(start_ticks_count);

Definition at line 26 of file debug.h.


Generated on Sun May 30 18:38:36 2004 for Routix OS by doxygen 1.3.6