riscv-openocd/src/jtag
Dongxue Zhang 47b8cf8420 target: Add 64-bit target address support
Define a target_addr_t type to support 32-bit and 64-bit addresses at
the same time. Also define matching TARGET_PRI*ADDR format macros as
well as a convenient TARGET_ADDR_FMT.

In targets that are 32-bit (avr32, nds32, arm7/9/11, fm4, xmc1000)
be least invasive by leaving the formatting unchanged apart from the
type;
for generic code adopt TARGET_ADDR_FMT as unified address format.

Don't silently change gdb formatting here, leave that to later.

Add COMMAND_PARSE_ADDRESS() macro to abstract the address type.
Implement it using its own parse_target_addr() function, in the hopes
of catching pointer type mismatches better.

Add '--disable-target64' configure option to revert to previous 32-bit
target address behavior.

Change-Id: I2e91d205862ceb14f94b3e72a7e99ee0373a85d5
Signed-off-by: Dongxue Zhang <elta.era@gmail.com>
Signed-off-by: David Ung <david.ung.42@gmail.com>
[AF: Default to enabling (Paul Fertser), rename macros, simplify]
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
2017-02-10 13:50:17 +01:00
..
aice target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
drivers jtag: drivers: build usb_blaster only if enabled 2017-01-15 10:14:53 +00:00
hla Convert to non-recursive make 2016-12-08 16:23:10 +00:00
minidriver Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
minidummy Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
zy1000 Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
adapter.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
commands.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
commands.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
core.c jtag: core: report TRST and SRST as asserted only when they really are 2017-01-15 11:02:14 +00:00
driver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
interface.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
interface.h Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
interfaces.c Remove support for the GPL incompatible FTDI D2XX library 2016-11-06 09:47:12 +00:00
interfaces.h Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
jtag.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
minidriver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl jtag/startup.tcl: fix regression with autoselecting JTAG 2015-04-14 12:35:39 +01:00
swd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
tcl.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
tcl.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00