Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Add support for clac and stac instructi...
details: https://anonhg.NetBSD.org/src/rev/a33ade0fce4c
branches: trunk
changeset: 344379:a33ade0fce4c
user: shm <shm%NetBSD.org@localhost>
date: Fri Mar 25 10:14:43 2016 +0000
description:
Add support for clac and stac instructions.
diffstat:
sys/arch/amd64/amd64/db_disasm.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 1d038e54aa57 -r a33ade0fce4c sys/arch/amd64/amd64/db_disasm.c
--- a/sys/arch/amd64/amd64/db_disasm.c Fri Mar 25 09:29:01 2016 +0000
+++ b/sys/arch/amd64/amd64/db_disasm.c Fri Mar 25 10:14:43 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_disasm.c,v 1.22 2015/05/12 23:16:47 christos Exp $ */
+/* $NetBSD: db_disasm.c,v 1.23 2016/03/25 10:14:43 shm Exp $ */
/*
* Mach Operating System
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.22 2015/05/12 23:16:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.23 2016/03/25 10:14:43 shm Exp $");
#ifndef _KERNEL
#include <sys/types.h>
@@ -1317,6 +1317,12 @@
if (ip->i_extra == (const char *)db_Grp7 && regmodrm == 0xf8) {
i_name = "swapgs";
i_mode = 0;
+ } else if (ip->i_extra == (const char *)db_Grp7 && regmodrm == 0xcb) {
+ i_name = "stac";
+ i_mode = 0;
+ } else if (ip->i_extra == (const char *)db_Grp7 && regmodrm == 0xca) {
+ i_name = "clac";
+ i_mode = 0;
} else {
i_name = ((const char * const *)ip->i_extra)
[f_reg(rex, regmodrm)];
Home |
Main Index |
Thread Index |
Old Index