Eric Biederman | 530b519 | 2003-07-01 10:05:30 +0000 | [diff] [blame] | 1 | |
2 | static void main(void) | ||||
3 | { | ||||
4 | int i; | ||||
5 | i = __builtin_inb(0x1234); | ||||
6 | if (i == 23) { | ||||
7 | for(;;) { | ||||
8 | int j; | ||||
9 | j = __builtin_inb(0xabcd); | ||||
10 | __builtin_outb(j, 0xef90); | ||||
11 | } | ||||
12 | } | ||||
13 | __builtin_outb(i, 0x5678); | ||||
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 14 | |
Eric Biederman | 530b519 | 2003-07-01 10:05:30 +0000 | [diff] [blame] | 15 | } |