From: Matteo Signorini <signorinimatteo@gmail.com>
To: kvm@vger.kernel.org
Subject: OPCODE Emulation
Date: Thu, 06 May 2010 22:37:09 +0200 [thread overview]
Message-ID: <4BE32875.4030908@gmail.com> (raw)
Dear Yaniv, Dear Avi,
I would like to add the "sidt emulation" feature in kvm, but in order to
implement it I need to know the details on how the OPCODE works and how
exactly opcodes are emulated within kvm.
For example let's take the SIDT instruction.
I know the LIDT opcode is "0F 01 /1" but what does 0F, 01 and /1 mean?
I also know that this instruction has only the operand "ModRM:r/m (w)"
but where is this operand stored and how can I access it in emulation?
Could you please suggest to me where can I found some detailed docs on
the subject?
(I have already read the Intel Volume 2B Instruction Set Reference N-Z
pag. 4-440 but I have not found enough detailed information)
Thank you
Matteo Signorini
next reply other threads:[~2010-05-06 20:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 20:37 Matteo Signorini [this message]
2010-05-06 23:21 ` OPCODE Emulation Mohammed Gamal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BE32875.4030908@gmail.com \
--to=signorinimatteo@gmail.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.