equal
deleted
inserted
replaced
50 |
50 |
51 unsigned char icsr; |
51 unsigned char icsr; |
52 |
52 |
53 printf("IRQ Test %d\n", getpid()); |
53 printf("IRQ Test %d\n", getpid()); |
54 |
54 |
55 file_handle = open("/dev/me8100_0", O_RDWR, 0); |
55 file_handle = open("/dev/me8100_0a", O_RDONLY, 0); |
56 |
56 |
57 if(file_handle < 0){ |
57 if(file_handle < 0){ |
58 printf("Cannot open path !\n"); |
58 perror("Can't open path"); |
59 return 1; |
59 return 1; |
60 } |
60 } |
61 |
61 |
62 /*---------------------- general setup ------------------------------------*/ |
62 /*---------------------- general setup ------------------------------------*/ |
63 |
63 |