- Update romcc to version 0.27 and add more tests.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@865 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
18
util/romcc/tests/simple_test23.c
Normal file
18
util/romcc/tests/simple_test23.c
Normal file
@@ -0,0 +1,18 @@
|
||||
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");
|
||||
}
|
Reference in New Issue
Block a user