mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
simplified PowerPC exception handling (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1492 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
f68c781c2d
commit
2be0071f22
7 changed files with 484 additions and 226 deletions
|
@ -42,12 +42,6 @@ void do_raise_exception_err (uint32_t exception, int error_code)
|
|||
printf("Raise exception %3x code : %d\n", exception, error_code);
|
||||
#endif
|
||||
switch (exception) {
|
||||
case EXCP_EXTERNAL:
|
||||
case EXCP_DECR:
|
||||
printf("DECREMENTER & EXTERNAL exceptions should be hard interrupts !\n");
|
||||
if (msr_ee == 0)
|
||||
return;
|
||||
break;
|
||||
case EXCP_PROGRAM:
|
||||
if (error_code == EXCP_FP && msr_fe0 == 0 && msr_fe1 == 0)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue