- use build in data types

git-svn-id: http://moon:8086/svn/mips@35 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2015-05-28 19:19:01 +00:00
parent 3263f9d79c
commit a655e1c5d9
54 changed files with 1551 additions and 1583 deletions
+4 -4
View File
@@ -13,7 +13,7 @@ void _exc_break(void)
);
}
void _exc_syscall(UINT32 code, UINT32 arg)
void _exc_syscall(uint32_t code, uint32_t arg)
{
__asm
(
@@ -195,7 +195,7 @@ int main(void)
while(1)
{
printf("Welche exception möchten Sie testen?\n");
printf("Welche exception mchten Sie testen?\n");
printf(" 1 : Reserved instruction\n");
printf(" 2 : Privileged address (BadVAddr = 0x80000000)\n");
printf(" 3 : Arithmetic overflow\n");
@@ -229,9 +229,9 @@ int main(void)
break;
case 4:
_exc_syscall(4, (UINT32)((char*)"Hallo Syscall ("));
_exc_syscall(4, (uint32_t)((char*)"Hallo Syscall ("));
_exc_syscall(1, 12345678);
_exc_syscall(4, (UINT32)((char*)")\n"));
_exc_syscall(4, (uint32_t)((char*)")\n"));
break;
case 5: