
v2: Add Simon's R-b to patch 1. Patches 2-8 are new.
This started as a simple one-liner (still patch 1), but when Simon asked me to update the documentation and add some test cases I stumbled on some things that might as well also get fixed.
Patch 2 is the documentation update, might be folded into patch 1. 3 and 4 are preparations for the test cases added in patch 5.
6 is an actual fix; 32 bit targets wrongly list .q in their help texts.
7 and 8 fix stale documentation.
Rasmus Villemoes (8): cmd/mem.c: use memmove in do_mem_cp() doc/usage/cmd/cp.rst: document that overlapping regions are supported cmd/command.c: constify "arg" argument of cmd_get_data_size() cmd/command.c: relax length check in cmd_get_data_size() test: add test of "cp" shell command cmd/mem.c: fix wrong use of ifdef, drop pointless SUPPORT_64BIT_DATA macro README: drop mention of MEM_SUPPORT_64BIT_DATA doc: drop references to non-existing CONFIG_MEM_SUPPORT_64BIT_DATA
README | 3 - cmd/mem.c | 40 +++++----- common/command.c | 4 +- doc/usage/cmd/cmp.rst | 2 +- doc/usage/cmd/cp.rst | 5 +- include/command.h | 2 +- test/cmd/Makefile | 1 + test/cmd/mem_copy.c | 169 ++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 196 insertions(+), 30 deletions(-) create mode 100644 test/cmd/mem_copy.c