diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-17 09:06:45 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-17 09:06:45 -0800 |
commit | f4788652e45662d1e43933dc0620561bc4cddae0 (patch) | |
tree | 0cda3c8b5ad766f3dea26d83c2a70b7cb52837d7 /testing/examples/SAM7S256Test | |
parent | 959b373f8cdc2c1ad11c67c6916f88f48769438f (diff) | |
download | openocd_libswd-f4788652e45662d1e43933dc0620561bc4cddae0.tar.gz openocd_libswd-f4788652e45662d1e43933dc0620561bc4cddae0.tar.bz2 openocd_libswd-f4788652e45662d1e43933dc0620561bc4cddae0.tar.xz openocd_libswd-f4788652e45662d1e43933dc0620561bc4cddae0.zip |
target: simplify register get/set ops
No need to indirect from registered integers to pointers.
Just stash the pointers directly in the register struct,
and don't even bother registering.
This is a small code shrink, speeds register access just
a smidgeon, and gets rid of another rude exit() path.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'testing/examples/SAM7S256Test')
0 files changed, 0 insertions, 0 deletions