14e2277962
while others dislike them being extra commits, let's clean them up once and for all for the existing code. If it's ugly, let it only be ugly once :-) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5507 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
15 lines
198 B
C
15 lines
198 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);
|
|
|
|
}
|