openocd/src/jtag/drivers
Paul Fertser 355f4cadbb Use (uint8_t *) for buf_(set|get)_u(32|64) instead of (void *)
This helps to uncover incorrect usage when a pointer to uint32_t is
passed to those functions which leads to subtle bugs on BE systems.

The reason is that it's normally assumed that any uint32_t variable
holds its value in host byte order, but using but_set_u32 on it
silently does implicit pointer conversion to (void *) and the
assumption ends up broken without any indication.

Change-Id: I48ffd190583d8aa32ec1fef8f1cdc0b4184e4546
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2467
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-01-30 08:56:54 +00:00
..
OpenULINK OpenULINK firmware: update firmware hex image 2013-07-17 14:31:19 +00:00
usb_blaster Support hla_serial command for ST-LINK adapters. 2014-09-22 19:36:05 +00:00
versaloon vsllink: Port to libusb-1.0 API 2014-07-03 19:43:16 +00:00
amt_jtagaccel.c jtag: constify driver arrays 2014-10-06 11:57:36 +00:00
arm-jtag-ew.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
at91rm9200.c jtag: constify driver arrays 2014-10-06 11:57:36 +00:00
bcm2835gpio.c bcm2835gpio: use maximum drive strength 2013-10-15 20:38:21 +00:00
bitbang.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
bitbang.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
bitq.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
bitq.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
buspirate.c Bus Pirate driver: Small assorted fixes. 2013-06-21 11:25:26 +00:00
cmsis_dap_usb.c jtag/drivers/cmsis-dap-usb: fix cmsis_dap_serial 2015-01-26 21:16:42 +00:00
driver.c Retire jtag_add_dr_out 2014-01-20 13:28:26 +00:00
dummy.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
ep93xx.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
ft2232.c jtag: constify driver arrays 2014-10-06 11:57:36 +00:00
ftd2xx_common.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
ftdi.c Use (uint8_t *) for buf_(set|get)_u(32|64) instead of (void *) 2015-01-30 08:56:54 +00:00
gw16012.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
jlink.c swd: handle various failure conditions 2015-01-09 08:36:52 +00:00
jtag_vpi.c jtag_vpi: make the server address configurable 2013-12-31 12:00:49 +00:00
libusb_common.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
libusb1_common.c libusb: introduce jtag_libusb_choose_interface() and use it for JLink 2014-10-06 18:40:39 +00:00
libusb1_common.h libusb: introduce jtag_libusb_choose_interface() and use it for JLink 2014-10-06 18:40:39 +00:00
libusb0_common.c libusb: introduce jtag_libusb_choose_interface() and use it for JLink 2014-10-06 18:40:39 +00:00
libusb0_common.h libusb: introduce jtag_libusb_choose_interface() and use it for JLink 2014-10-06 18:40:39 +00:00
Makefile.am Makefile.am: fix build for libftdi1, pass CFLAGS where appropriate 2014-04-14 18:09:40 +00:00
Makefile.rlink update files to correct FSF address 2013-06-05 19:52:42 +00:00
minidriver_imp.h Retire jtag_add_dr_out 2014-01-20 13:28:26 +00:00
mpsse.c mpsse: Display libusb error names instead of numbers 2014-09-22 19:39:09 +00:00
mpsse.h mpsse: Defer errors until flush 2013-08-01 10:31:08 +00:00
opendous.c jtag: constify driver arrays 2014-10-06 11:57:36 +00:00
openjtag.c Added OpenJTAG Driver 2013-06-05 19:52:15 +00:00
osbdm.c Support hla_serial command for ST-LINK adapters. 2014-09-22 19:36:05 +00:00
parport.c jtag: constify driver arrays 2014-10-06 11:57:36 +00:00
presto.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
remote_bitbang.c jtag/drivers/remote_bitbang: use sizeof to determine maximum unix socket path length 2014-04-14 18:16:52 +00:00
rlink_call.m4 update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink_dtc_cmd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink_ep1_cmd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink_init.m4 update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink_speed_table.c build: cleanup src/jtag/drivers directory 2012-02-06 10:59:07 +00:00
rlink_st7.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
stlink_usb.c jtag/drivers/stlink: demote the output of available speeds to DEBUG 2015-01-26 20:56:25 +00:00
sysfsgpio.c sysfsgpio: fix a typo in the informational output 2013-09-10 22:08:22 +00:00
ti_icdi_usb.c hla: add a way to pass arbitrary commands from user to layout and use for ICDI 2014-10-06 12:03:30 +00:00
ulink.c ulink: Fix libusb include changed since pkg-config merge 2013-11-06 13:10:16 +00:00
usb_common.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
usb_common.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
usbprog.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
vsllink.c vsllink: improve the performance when using swd 2014-09-29 20:06:20 +00:00