mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
Add rdpmc SVM intercept, by Bernhard Kauer.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3791 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
8543243c29
commit
df01e0fc33
4 changed files with 22 additions and 0 deletions
|
@ -5658,6 +5658,10 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
|
|||
gen_jmp_im(pc_start - s->cs_base);
|
||||
gen_op_rdtsc();
|
||||
break;
|
||||
case 0x133: /* rdpmc */
|
||||
gen_jmp_im(pc_start - s->cs_base);
|
||||
gen_op_rdpmc();
|
||||
break;
|
||||
case 0x134: /* sysenter */
|
||||
if (CODE64(s))
|
||||
goto illegal_op;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue