Am 28.05.2014 20:17, schrieb Paolo Bonzini: > Il 28/05/2014 19:20, Andreas Färber ha scritto: >>> +void alpha_cpu_do_unaligned_access(CPUState *cs, vaddr addr, >>> + int is_write, int is_user, >>> uintptr_t retaddr) >>> { >>> - AlphaCPU *cpu = alpha_env_get_cpu(env); >>> - CPUState *cs = CPU(cpu); >>> + AlphaCPU *cpu = ALPHA_CPU(cs); > > What's the standard variable name for XyzCPU?
"cpu", no objections there. The assumption is that the specific type will be used more often and should thus have the more natural name. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg