powerpc/xmon: Dump memory in CPU endian format
authorDouglas Miller <dougmill@linux.vnet.ibm.com>
Tue, 7 Feb 2017 13:40:44 +0000 (07:40 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Feb 2017 05:00:21 +0000 (16:00 +1100)
commit5e48dc0aa4d9daf93e9bff2a274473623a134ec8
tree7dec23eb85f0d66892afbe6ba5319bb9268aad89
parent943db62c316c578f8e2cc6fb81a5f641096b29bf
powerpc/xmon: Dump memory in CPU endian format

Extend the dump command to allow display of 2, 4, and 8 byte words in
CPU endian format. Also adds dump command for "1 byte values" for the
sake of symmetry. New commands are:

  d1 dump 1 byte values
  d2 dump 2 byte values
  d4 dump 4 byte values
  d8 dump 8 byte values

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Douglas Miller <dougmill@linux.vnet.ibm.com>
Acked-by: Balbir Singh <bsingharora@gmail.com>
arch/powerpc/xmon/xmon.c