Re: [PATCH v15 22/23] accel: introduce new accessor functions

2021-02-03 Thread Claudio Fontana
On 2/3/21 3:23 PM, Philippe Mathieu-Daudé wrote: > On 2/1/21 11:09 AM, Claudio Fontana wrote: >> avoid open coding the accesses to cpu->accel_cpu interfaces, >> and instead introduce: >> >> accel_cpu_instance_init, >> accel_cpu_realizefn >> >> to be used by the targets/ initfn code, >> and by cpu_e

Re: [PATCH v15 22/23] accel: introduce new accessor functions

2021-02-03 Thread Philippe Mathieu-Daudé
On 2/1/21 11:09 AM, Claudio Fontana wrote: > avoid open coding the accesses to cpu->accel_cpu interfaces, > and instead introduce: > > accel_cpu_instance_init, > accel_cpu_realizefn > > to be used by the targets/ initfn code, > and by cpu_exec_realizefn respectively. > > Add warnings about the u

[PATCH v15 22/23] accel: introduce new accessor functions

2021-02-01 Thread Claudio Fontana
avoid open coding the accesses to cpu->accel_cpu interfaces, and instead introduce: accel_cpu_instance_init, accel_cpu_realizefn to be used by the targets/ initfn code, and by cpu_exec_realizefn respectively. Add warnings about the use of target-specific headers. Signed-off-by: Claudio Fontana