coreboot-libre-fam15h-rdimm/util/romcc/tests/simple_test23.c

19 lines
245 B
C
Raw Normal View History

2024-03-04 11:14:53 +01:00
static void print(char *str)
{
while(1) {
unsigned char ch;
ch = *str;
if (ch == '\0') {
break;
}
__builtin_outb(ch, 0x1234);
str += 1;
}
}
static void main(void)
{
print("hello world\r\n");
print("how are you today\r\n");
}