openocd/src/jtag
Steve Marple 903f2e92a1 drivers/am335xgpio: Release resources on error and when quitting
The /dev/mem file descriptor can be closed without invalidating the
mappings so close as soon as possible.

munmap() all memory, either on error or from quit.

Change-Id: I9466edd2f43791e64f2dce719957c67728f3ec06
Signed-off-by: Steve Marple <stevemarple@googlemail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7047
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2022-08-15 13:24:46 +00:00
..
aice openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
drivers drivers/am335xgpio: Release resources on error and when quitting 2022-08-15 13:24:46 +00:00
hla openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
Makefile.am openocd: build: add SPDX tag 2022-07-23 13:06:38 +00:00
adapter.c jtag/adapter: Add command 'adapter gpio' 2022-08-15 13:24:22 +00:00
adapter.h jtag/adapter: Add command 'adapter gpio' 2022-08-15 13:24:22 +00:00
commands.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
commands.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
core.c target: add API to temporarily mask target polling 2022-08-15 13:22:06 +00:00
interface.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
interface.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
interfaces.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
interfaces.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
jtag.h target: add API to temporarily mask target polling 2022-08-15 13:22:06 +00:00
minidriver.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
startup.tcl drivers/am335xgpio: Migrate to adapter gpio commands 2022-08-15 13:24:36 +00:00
swd.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
swim.c swim: add new transport 2020-05-24 21:32:05 +01:00
swim.h swim: fix adapter speed handling 2020-05-24 21:31:21 +01:00
tcl.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
tcl.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00