summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-05-19 18:07:37 +0000
committerjhb <jhb@FreeBSD.org>2014-05-19 18:07:37 +0000
commit59c78787cbf6dd120cd5859e5bd061c42ad38d43 (patch)
tree6682e2b88409ed112d212eff7806ed9878110b0e /sys/amd64
parenta2ba9f176ff963b871323eae90c27c214cbb165c (diff)
downloadFreeBSD-src-59c78787cbf6dd120cd5859e5bd061c42ad38d43.zip
FreeBSD-src-59c78787cbf6dd120cd5859e5bd061c42ad38d43.tar.gz
Add support for decoding the AMD SVM instructions.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/db_disasm.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/sys/amd64/amd64/db_disasm.c b/sys/amd64/amd64/db_disasm.c
index fbd9292..7e7a2ad 100644
--- a/sys/amd64/amd64/db_disasm.c
+++ b/sys/amd64/amd64/db_disasm.c
@@ -1391,6 +1391,46 @@ db_disasm(loc, altfmt)
i_size = NONE;
i_mode = 0;
break;
+ case 0xd8:
+ i_name = "vmrun";
+ i_size = NONE;
+ i_mode = 0;
+ break;
+ case 0xd9:
+ i_name = "vmmcall";
+ i_size = NONE;
+ i_mode = 0;
+ break;
+ case 0xda:
+ i_name = "vmload";
+ i_size = NONE;
+ i_mode = 0;
+ break;
+ case 0xdb:
+ i_name = "vmsave";
+ i_size = NONE;
+ i_mode = 0;
+ break;
+ case 0xdc:
+ i_name = "stgi";
+ i_size = NONE;
+ i_mode = 0;
+ break;
+ case 0xdd:
+ i_name = "clgi";
+ i_size = NONE;
+ i_mode = 0;
+ break;
+ case 0xde:
+ i_name = "skinit";
+ i_size = NONE;
+ i_mode = 0;
+ break;
+ case 0xdf:
+ i_name = "invlpga";
+ i_size = NONE;
+ i_mode = 0;
+ break;
case 0xf8:
i_name = "swapgs";
i_size = NONE;
OpenPOWER on IntegriCloud