On Wed, Jun 4, 2014 at 1:28 AM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 3 June 2014 03:11, Peter Crosthwaite <peter.crosthwa...@xilinx.com> wrote: >> Rather than address_space_memory. >> >> Needs a few random callsites with hardcoded address_space_memory to be >> patched. Use first_cpu->as in these cases. >> >> Signed-off-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com> >> --- >> Long term, cpu_physical_memory_rw and friends needs to be replaced. > > Yeah. The other two are not so bad, but cpu_physical_memory_rw() > really shouldn't have a first_cpu reference in it. >
Dropping that. I guess the plan is to convert users on cpu_physical_memory_rw to address_space_rw anyways. Can fix them on a demand basis. Regards, Peter > > thanks > -- PMM >