- removed \r
git-svn-id: http://moon:8086/svn/mips@170 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
+5
-5
@@ -59,7 +59,7 @@ void PrintCPUinfo(void)
|
|||||||
result = StatusRegister_read();
|
result = StatusRegister_read();
|
||||||
sputs("Status : ");
|
sputs("Status : ");
|
||||||
print_word(result);
|
print_word(result);
|
||||||
sputs("\r\n");
|
sputs("\n");
|
||||||
|
|
||||||
// Print Revision
|
// Print Revision
|
||||||
result = RevisionRegister_read();
|
result = RevisionRegister_read();
|
||||||
@@ -75,7 +75,7 @@ void PrintCPUinfo(void)
|
|||||||
else
|
else
|
||||||
sputs("Unknown");
|
sputs("Unknown");
|
||||||
|
|
||||||
sputs("\r\n");
|
sputs("\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -287,16 +287,16 @@ int main (void)
|
|||||||
if (IS_ERROR(result))
|
if (IS_ERROR(result))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// printf("Iteration %d: Passed\r\n", cnt++);
|
// printf("Iteration %d: Passed\n", cnt++);
|
||||||
sputs("Iteration ");
|
sputs("Iteration ");
|
||||||
print_word(cnt++);
|
print_word(cnt++);
|
||||||
sputs(": Passed\r\n");
|
sputs(": Passed\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
*pReg = 0x40000000 | cnt;
|
*pReg = 0x40000000 | cnt;
|
||||||
sputs("Failed with error ");
|
sputs("Failed with error ");
|
||||||
print_word(result);
|
print_word(result);
|
||||||
sputs(" \r\n");
|
sputs(" \n");
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user