git: d0f5cb10d4f4 - stable/13 - arm64/disassem.c: Make output lowercase
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Jun 2023 19:58:21 UTC
The branch stable/13 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=d0f5cb10d4f43830feee539351b31e9aafce8578 commit d0f5cb10d4f43830feee539351b31e9aafce8578 Author: Mykola Hohsadze <koliagogsadze@gmail.com> AuthorDate: 2023-05-25 14:40:38 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2023-06-09 19:48:06 +0000 arm64/disassem.c: Make output lowercase Update the few uppercase fields fields to be consistent with others. Reviewed by: mhorne MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D39820 (cherry picked from commit 8a852d3e9ff7c4d6f93b65beba8d674127109fc4) --- sys/arm64/arm64/disassem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arm64/arm64/disassem.c b/sys/arm64/arm64/disassem.c index 9db4ea040d37..2ec0d04d5491 100644 --- a/sys/arm64/arm64/disassem.c +++ b/sys/arm64/arm64/disassem.c @@ -65,11 +65,11 @@ static const char *x_reg[] = { "x0", "x1", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16", "x17", "x18", "x19", "x20", "x21", "x22", "x23", - "x24", "x25", "x26", "x27", "x28", "x29", "LR" + "x24", "x25", "x26", "x27", "x28", "x29", "lr" }; static const char *shift_2[] = { - "LSL", "LSR", "ASR", "RSV" + "lsl", "lsr", "asr", "rsv" }; /* @@ -482,7 +482,7 @@ disasm(const struct disasm_interface *di, vm_offset_t loc, int altfmt) if (imm != 0 || shift != 0) di->di_printf(", #0x%x", imm); if (shift != 0) - di->di_printf(" LSL #12"); + di->di_printf(" lsl #12"); } break; case TYPE_02: @@ -576,7 +576,7 @@ disasm(const struct disasm_interface *di, vm_offset_t loc, int altfmt) di->di_printf(", sxtx #%d", amount); break; default: - di->di_printf(", RSVD"); + di->di_printf(", rsv"); break; } di->di_printf("]");