>> Probably the best way would be to remove endianness swapping from >> mips_m4k_read_memory >> and put it to mips32_pracc/dma_read_mem32/16. Same for write. >> >> pro: mips32_pracc_read_mem32, ... will return a byte array in target >> endianness, so no cast necessary. >> con: Add swapping to at least 10 seperate functions > > I clearly do not know the code well enough and I have no facilities to > test such a thing.... I trust you here though.
There is no problem to get it work, but I'm not sure if this is really the best way. I try to prepare a patch within the next days, so you and others can comment. BR, Stefan _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development