> Where are those functions defined and how do they know what the target 
> endianness is?

They doesn't know the target endianness, but host endianness.


> It sounds a little strange to do the swapping at this low level.

You need swapping when reading and comparing debug registers or send code to 
MIPS CPU.

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to