- use build in data types
git-svn-id: http://moon:8086/svn/mips@35 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -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 m�chten 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:
|
||||
|
||||
Reference in New Issue
Block a user