]> git.gag.com Git - fw/openocd/commit
jtag_vpi: ensured constant packet size & endianness
authorJan Matyas <matyas@codasip.com>
Thu, 2 May 2019 09:53:15 +0000 (11:53 +0200)
committerTomas Vanek <vanekt@fbl.cz>
Mon, 16 Dec 2019 23:27:32 +0000 (23:27 +0000)
commit881484708d0399007df1fa1b1a844f0dc95bf0ce
treea839de2b490438149562b4d8d017da5dd60876ac
parent22b4abc46c552bfc21003853b74e732da773cd1d
jtag_vpi: ensured constant packet size & endianness

Made sure that size and endianness of jtag_vpi structures sent
over the network is the same, regardless of the platform.

Little endian chosen to maintain as much compatibility
with existing OpenOCD builds as possible.

Matching change in the original jtag_vpi server:
https://github.com/fjullien/jtag_vpi/pull/4

Change-Id: Ib839fea9bb2d5190b5643c970b89333b286dce71
Signed-off-by: Jan Matyas <matyas@codasip.com>
Reviewed-on: http://openocd.zylin.com/5152
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
src/jtag/drivers/jtag_vpi.c