On 09/04/2015 14:38, Peter Maydell wrote: > They need to be in memory.h because cpu-all.h doesn't have > all the typedefs. Also, memory.h seems to me clearly the > best place, since it's where we declare the MemoryRegion > and AddressSpace related functions. > > It's certainly true that using target-cpu-endian functions > in a device is somewhat suspicious, but that's generally > true of all those functions, not just these new > address_space_* ones. > > So I think I'm happy to add a comment that the functions > are deprecated for use outside target-*/, but I think they > are still necessary.
Fair enough, that will do. Paolo