On 2 September 2013 22:18, Hervé Poussineau <hpous...@reactos.org> wrote: > Yes, aliases should probably work, but it won't be handy to create lots of > them. Moreover, this function needs to be expanded later to handle an > additional endianness switch, which will change both addresses and values...
FWIW, I think the right way to handle an endianness switch like that is that we should have a 'byteswap' property on MemoryRegion containers, so that the whole thing collapses down to 'swap y/n' when we flatten regions. However we don't have that at the moment, so I guess we're stuck with these functions. -- PMM