about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64run0f.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 0364f4e9..bac642b3 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -386,6 +386,13 @@ uintptr_t Run0F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step)
             R_RDX = tmp64u>>32;

             R_RAX = tmp64u&0xFFFFFFFF;

             break;

+        case 0x32:                   /* RDMSR */

+            // priviledge instruction

+            #ifndef TEST_INTERPRETER

+            emit_signal(emu, SIGSEGV, (void*)R_RIP, 0xbad0);

+            STEP;

+            #endif

+            break;

 

         case 0x34:                  /* SYSENTER */

             #ifndef TEST_INTERPRETER