diff options
author | jhb <jhb@FreeBSD.org> | 2014-05-19 18:07:37 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-05-19 18:07:37 +0000 |
commit | 59c78787cbf6dd120cd5859e5bd061c42ad38d43 (patch) | |
tree | 6682e2b88409ed112d212eff7806ed9878110b0e /sys/amd64 | |
parent | a2ba9f176ff963b871323eae90c27c214cbb165c (diff) | |
download | FreeBSD-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.c | 40 |
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; |