diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-13 16:22:36 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-13 16:22:36 -0800 |
commit | 04b514707f221ba00ae789e69f6f8047af96125d (patch) | |
tree | 568a7eb1c0368cdf8aadd69e27bb99f570bc130c /src/target/register.h | |
parent | 38e8d60f79fd51424c556e07653713254c2d9b4e (diff) | |
download | openocd+libswd-04b514707f221ba00ae789e69f6f8047af96125d.tar.gz openocd+libswd-04b514707f221ba00ae789e69f6f8047af96125d.tar.bz2 openocd+libswd-04b514707f221ba00ae789e69f6f8047af96125d.tar.xz openocd+libswd-04b514707f221ba00ae789e69f6f8047af96125d.zip |
target: remove unused "bitfield" infrastructure
We have too many different registers, and too many version and
context dependent interpretations, for this type of bitfield
management to be scalable.
(Anyone who really wants bitfield interpretation *can* do that
in Tcl code...)
There are ... quite a few copies of the same ARM dummy registers.
There should eventually be one copy; this many is craziness.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/register.h')
-rw-r--r-- | src/target/register.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/target/register.h b/src/target/register.h index a907dc27..c21edf64 100644 --- a/src/target/register.h +++ b/src/target/register.h @@ -27,12 +27,6 @@ struct target; -struct bitfield_desc -{ - char *name; - int num_bits; -}; - struct reg { char *name; @@ -40,8 +34,6 @@ struct reg int dirty; int valid; uint32_t size; - struct bitfield_desc *bitfield_desc; - int num_bitfields; void *arch_info; int arch_type; }; |