blob: 33acd047a2b5c22171331863c39ab43363bfe159 [file] [log] [blame]
Eric Biederman6aa31cc2003-06-10 21:22:07 +00001static void print(char *str)
2{
3 while(1) {
4 unsigned char ch;
5 ch = *str;
6 if (ch == '\0') {
7 break;
8 }
9 __builtin_outb(ch, 0x1234);
10 str += 1;
11 }
12}
13
14static void main(void)
15{
16 print("hello world\r\n");
17 print("how are you today\r\n");
18}