Revision 0633879f linux-user/main.c

b/linux-user/main.c
1977 1977
    }
1978 1978
#elif defined(TARGET_M68K)
1979 1979
    {
1980
        m68k_def_t *def;
1981
        def = m68k_find_by_name("cfv4e");
1982
        if (def == NULL) {
1980
        if (cpu_model == NULL)
1981
            cpu_model = "cfv4e";
1982
        if (cpu_m68k_set_model(env, cpu_model)) {
1983 1983
            cpu_abort(cpu_single_env,
1984 1984
                      "Unable to find m68k CPU definition\n");
1985 1985
        }
1986
        cpu_m68k_register(cpu_single_env, def);
1987 1986
        env->pc = regs->pc;
1988 1987
        env->dregs[0] = regs->d0;
1989 1988
        env->dregs[1] = regs->d1;

Also available in: Unified diff