On 06/16/2013 08:57 AM, Andreas Färber wrote:
> +        cpu = CPU(alpha_env_get_cpu(cpu_single_env));
> +        cs = CPU(alpha_env_get_cpu(cpu_single_env));
> +    CPUState *cpu_single_cpu = CPU(alpha_env_get_cpu(cpu_single_env));
> +        cs = CPU(alpha_env_get_cpu(cpu_single_env));

ENV_GET_CPU.

> +    cpu_class_set_do_unassigned_access(cc, alpha_cpu_unassigned_access);

Wouldn't it be better to arrange for the function to exist always, with
differing implementation for user and system, much like do_interrupt?

What you've got is good enough for now, I suppose.


r~

Reply via email to