Re: [PATCH 1/2] hv: shell: improve console to buffer history cmds
toggle quoted message Show quoted text
-----Original Message-----[Cao, Minggui] normally memcpy (also in HV), it will not handle the src and dst overlap case,
but memmove can handle that. I shall change copy_chars to move_chars (or move_bytes) to use in shell input to delete/insert locally in my 2nd patch.
[acrn-dev] [PATCH 2/2 v2] hv: shell: improve console to modify input easier
Then I thought no other will use it, I just did a simple one. If need to add new API, it is better to add new: memmove / memmove_from_tail two APIs to memory.c
Is it OK?