Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/aarch64 disassemblable bti insns
details: https://anonhg.NetBSD.org/src/rev/6da16d194326
branches: trunk
changeset: 1010463:6da16d194326
user: ryo <ryo%NetBSD.org@localhost>
date: Tue May 26 05:25:21 2020 +0000
description:
disassemblable bti insns
diffstat:
sys/arch/aarch64/aarch64/disasm.c | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r 06bc46f67666 -r 6da16d194326 sys/arch/aarch64/aarch64/disasm.c
--- a/sys/arch/aarch64/aarch64/disasm.c Tue May 26 00:50:53 2020 +0000
+++ b/sys/arch/aarch64/aarch64/disasm.c Tue May 26 05:25:21 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disasm.c,v 1.7 2020/05/25 10:39:48 ryo Exp $ */
+/* $NetBSD: disasm.c,v 1.8 2020/05/26 05:25:21 ryo Exp $ */
/*
* Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disasm.c,v 1.7 2020/05/25 10:39:48 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disasm.c,v 1.8 2020/05/26 05:25:21 ryo Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -1681,6 +1681,18 @@
case CRm_OP2(3, 3):
PRINTF("pacibsp\n");
break;
+ case CRm_OP2(4, 0):
+ PRINTF("bti\n");
+ break;
+ case CRm_OP2(4, 2):
+ PRINTF("bti\tc\n");
+ break;
+ case CRm_OP2(4, 4):
+ PRINTF("bti\tj\n");
+ break;
+ case CRm_OP2(4, 6):
+ PRINTF("bti\tjc\n");
+ break;
default:
PRINTF("hint\t#0x%"PRIx64"\n", op);
break;
Home |
Main Index |
Thread Index |
Old Index