Il 13/05/2014 08:53, Andreas Färber ha scritto:
> +void do_unaligned_access(CPUAlphaState *env, target_ulong addr,
> +                         int is_write, int is_user, uintptr_t retaddr);
> +
>  #include "exec/exec-all.h"
>
>  #endif /* !defined (__CPU_ALPHA_H__) */
[snip]

Have you considered turning this into CPUClass hooks instead, as done
with do_unassigned_access?

Before your patch, this was a static function used only by
softmmu_template.h - making it global is not exactly helping with
multi-target support. Any solution to remedy regressions appreciated.

Good idea!

Paolo

Reply via email to