aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/display.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-03-21 01:21:11 -0700
committeriximeow <me@iximeow.net>2021-03-21 01:21:55 -0700
commit68e719a30e989d6580f8077cb9afa5af3ddffa9a (patch)
treea80ad3342eb7408138c6632ff918688aa2f4ed08 /src/long_mode/display.rs
parenta493b4d267c4fb6a042cf071301c8885196b4a91 (diff)
add tdx
decoder flag to come
Diffstat (limited to 'src/long_mode/display.rs')
-rw-r--r--src/long_mode/display.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs
index 3e38d8d..9986194 100644
--- a/src/long_mode/display.rs
+++ b/src/long_mode/display.rs
@@ -1285,6 +1285,12 @@ const MNEMONICS: &[&'static str] = &[
// CET
"wruss",
"wrss",
+
+ // TDX
+ "tdcall",
+ "seamret",
+ "seamops",
+ "seamcall",
];
impl Opcode {
@@ -2223,6 +2229,10 @@ impl <T: fmt::Write, Color: fmt::Display, Y: YaxColors<Color>> Colorize<T, Color
Opcode::SYSRET |
Opcode::CLTS |
Opcode::SYSCALL |
+ Opcode::TDCALL |
+ Opcode::SEAMRET |
+ Opcode::SEAMOPS |
+ Opcode::SEAMCALL |
Opcode::LSL |
Opcode::SLDT |
Opcode::STR |