coreboot-kgpe-d16/util/romcc/tests/simple_test49.c
Eric Biederman 530b5193e4 - Massive set of cleanups/fixes for romcc. Lots of corner cases now work
properly.  And a few long standing bugs have been rooted out and removed.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@931 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-07-01 10:05:30 +00:00

15 lines
200 B
C

static void main(void)
{
int i;
i = __builtin_inb(0x1234);
if (i == 23) {
for(;;) {
int j;
j = __builtin_inb(0xabcd);
__builtin_outb(j, 0xef90);
}
}
__builtin_outb(i, 0x5678);
}