initial
[fpgammix.git] / workloads / hw.c
blobe7ab7a5abe9b278fccee19aee0d68cdfea32661c
1 #define IOSPACE ((volatile int *) 0x1000000000000ULL)
3 void putchar(char ch)
5 if (ch == '\n')
6 putchar('\r');
8 while (IOSPACE[1])
10 IOSPACE[0] = ch;
13 void puts(char *s)
15 while (*s)
16 putchar(*s++);
19 int main()
21 puts("Hello world!\n");