me8100_test_int/me8100_test_int.c
changeset 3 fc24e3b47731
parent 0 c9b8efdb5369
equal deleted inserted replaced
2:3345048104fc 3:fc24e3b47731
    25 #include <unistd.h>
    25 #include <unistd.h>
    26 #include <sys/ioctl.h>
    26 #include <sys/ioctl.h>
    27 #include <signal.h>
    27 #include <signal.h>
    28 #include <linux/spinlock.h>
    28 #include <linux/spinlock.h>
    29 
    29 
    30 #include "../me8100.h"
    30 #include "me8100.h"
    31 
    31 
    32 /* Prototypes */
    32 /* Prototypes */
    33 static void signal_handler(int);
    33 static void signal_handler(int);
    34 
    34 
    35 /* Counts the interrupts */
    35 /* Counts the interrupts */
   228 	 "Execution   = %04d\n"
   228 	 "Execution   = %04d\n"
   229 	 "int_count_1 = %04d\n"
   229 	 "int_count_1 = %04d\n"
   230 	 "int_count_2 = %04d\n\n", i, intcounts.int1, intcounts.int2);
   230 	 "int_count_2 = %04d\n\n", i, intcounts.int1, intcounts.int2);
   231   return;
   231   return;
   232 }
   232 }
       
   233 
       
   234 /*
       
   235  * vim:sts=2 sw=2 aw ai sm:
       
   236  */