Revision a750fc0b linux-user/main.c

b/linux-user/main.c
712 712
    return cpu_ppc_load_tbl(env) & 0x3FFFFF80;
713 713
}
714 714

  
715
/* XXX: to be fixed */
716
int ppc_dcr_read (ppc_dcr_t *dcr_env, int dcrn, target_ulong *valp)
717
{
718
    return -1;
719
}
720

  
721
int ppc_dcr_write (ppc_dcr_t *dcr_env, int dcrn, target_ulong val)
722
{
723
    return -1;
724
}
725

  
715 726
void cpu_loop(CPUPPCState *env)
716 727
{
717 728
    target_siginfo_t info;
......
761 772
        case EXCP_MACHINE_CHECK:
762 773
            fprintf(stderr, "Machine check exeption...  Stop emulation\n");
763 774
            if (loglevel)
764
                fprintf(logfile, "RESET asked... Stop emulation\n");
775
                fprintf(logfile, "Machine check exception. Stop emulation\n");
765 776
            info.si_signo = TARGET_SIGBUS;
766 777
            info.si_errno = 0;
767 778
            info.si_code = TARGET_BUS_OBJERR;
......
914 925
                    info.si_code = TARGET_ILL_ILLOPC;
915 926
                    break;
916 927
                case EXCP_INVAL_LSWX:
917
            info.si_code = TARGET_ILL_ILLOPN;
928
                    info.si_code = TARGET_ILL_ILLOPN;
918 929
                    break;
919 930
                case EXCP_INVAL_SPR:
920 931
                    info.si_code = TARGET_ILL_PRVREG;
......
1003 1014
                if (loglevel)
1004 1015
                    fprintf(logfile, "Tried to go into supervisor mode !\n");
1005 1016
                abort();
1006
        }
1017
            }
1007 1018
            break;
1008 1019
        case EXCP_BRANCH:
1009 1020
            /* We stopped because of a jump... */

Also available in: Unified diff