- disabled VGA init stuff (should be removed from libsys)
- minor changes to test_exception git-svn-id: http://moon:8086/svn/mips@54 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -195,8 +195,8 @@ int main(void)
|
||||
|
||||
while(1)
|
||||
{
|
||||
printf("Welche exception m�chten Sie testen?\n");
|
||||
printf(" 1 : Reserved instruction\n");
|
||||
printf("Welche exception möchten Sie testen?\n");
|
||||
printf(" 1 : Reserved instruction (EPC = 0x40010000)\n");
|
||||
printf(" 2 : Privileged address (BadVAddr = 0x80000000)\n");
|
||||
printf(" 3 : Arithmetic overflow\n");
|
||||
printf(" 4 : Syscall\n");
|
||||
@@ -211,8 +211,10 @@ int main(void)
|
||||
printf("13 : Load error on instruction and Load error on data (BadVAddr = 0x40000003)\n");
|
||||
printf("14 : Load error on data and Load error on instruction (BadVAddr = 0x40000002)\n");
|
||||
|
||||
scanf("%d", &sel);
|
||||
printf("Jetzt kommt die exception (%d)!\n", sel);
|
||||
fflush(stdin);
|
||||
int res = scanf("%d", &sel);
|
||||
|
||||
printf("Jetzt kommt die exception (%d), res = %d!\n", sel, res);
|
||||
|
||||
switch(sel)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user