summaryrefslogtreecommitdiff
path: root/testing/examples/ledtest-imx31pdk/Makefile
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-14 10:27:34 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-16 00:46:33 -0800
commite4ee891759b08d3edb258b34f00b4ae8e3298d06 (patch)
treeeb7d4b3636fc25753fa48cbe643e2760a8fafe64 /testing/examples/ledtest-imx31pdk/Makefile
parentd50caa97d17187ed96746cc1527e5dbf57d4a81a (diff)
downloadopenocd+libswd-e4ee891759b08d3edb258b34f00b4ae8e3298d06.tar.gz
openocd+libswd-e4ee891759b08d3edb258b34f00b4ae8e3298d06.tar.bz2
openocd+libswd-e4ee891759b08d3edb258b34f00b4ae8e3298d06.tar.xz
openocd+libswd-e4ee891759b08d3edb258b34f00b4ae8e3298d06.zip
improve buf_cmp and buf_cmp_mask helpers
Rewrite buf_cmp to use memcpy for bulk of comparison. Add static helper to perform comparison of trailing byte, which uses another static helper to perform a maksed comparison. The masked comparison helper is used by the buf_cmp_mask to simplify its loop. Improve types to use void *, unsigned, and return bool.
Diffstat (limited to 'testing/examples/ledtest-imx31pdk/Makefile')
0 files changed, 0 insertions, 0 deletions