buildgcc: Add option to use ccache
[coreboot.git] / util / romcc / tests / simple_test16.c
1 typedef unsigned char uint8_t;
2 typedef unsigned short uint16_t;
3 typedef unsigned int uint32_t;
4
5
6 static void outb(uint8_t value, uint16_t port)
7 {
8         __builtin_outb(value, port);
9 }
10
11
12 static void main(void)
13 {
14         uint32_t i;
15         for(i = 0; i < 32; i++) {
16                 outb(i, 0x80);
17         }
18 }