openocd/src
Andreas Fritiofson 0ecb0396d4 nds32: Use the correct method to access registers
The registers are represented as bit arrays intended to be accessed using
the buf_set_* and buf_get_* functions. Storing the register values in
integers enables accessing them directly, which gives different results
depending on host byte order.

Convert the register store to use a byte array instead and fix all the
byte order bugs uncovered by that.

Also merge the 32 and 64 bit register fields. Only one of them is used at
a time and after the change to byte arrays their types are also the same.

Change-Id: I456869a1737f4b4f5e8ecbfc1c63c49a75d21619
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/2475
Tested-by: jenkins
Reviewed-by: Hsiangkai Wang <hsiangkai@gmail.com>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2015-02-11 22:16:51 +00:00
..
flash sim3x: new flash driver for Silabs SiM3 microcontroller family 2015-02-11 22:05:22 +00:00
helper configure: define WIN32_LEAN_AND_MEAN early to make it effective 2015-02-04 21:56:55 +00:00
jtag J-Link serial number config option 2015-02-11 16:18:25 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos ChibiOS: struct ChibiOS_params_list[] should not be const 2015-01-09 08:56:10 +00:00
server gdb_server: Include current RTOS thread in signal packets 2014-09-29 20:11:59 +00:00
svf Openocd: svf: Add ability to ignore svf_check_tdo errors 2014-07-03 18:08:48 +00:00
target nds32: Use the correct method to access registers 2015-02-11 22:16:51 +00:00
transport transport: clarify error message when transport is not selected 2015-01-09 08:48:18 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am Makefile.am: link libusb-1.0 after libusb-0.1 to fix dependencies 2015-02-04 21:56:45 +00:00
openocd.c Fix some problems with the bin2char utility 2014-08-02 09:01:32 +00:00
openocd.h Fix some problems with the bin2char utility 2014-08-02 09:01:32 +00:00