All of lore.kernel.org
 help / color / mirror / Atom feed
From: HANNAS YAYA Issa <issa.hannasyaya@enseeiht.fr>
To: xen-devel@lists.xen.org
Subject: about cr3 register
Date: Wed, 01 Apr 2015 16:37:04 +0200	[thread overview]
Message-ID: <84e75c11446044541a3643b725743b26@inp-toulouse.fr> (raw)

Hi
I am working on memory management in xen. I encounter a problem that I 
hope you can help me to solve it.
I modified the struct mmu_update in xen and linux source code. I add 
two fields cr3 and addr which respectively contains the current cr3 
value and the current address of the process associated with the pte to 
be updated. the struct mmu_update is sent to the hyervisor via hypercall 
HYPERVISOR_do_mmu_update.

In the handler of this hypercall (I mean do_mmu_update) when I read the 
value of cr3 via the method read_cr3 it is different from the value I 
stored before in the struct mmu_update. I wonder why?

             reply	other threads:[~2015-04-01 14:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 14:37 HANNAS YAYA Issa [this message]
2015-04-02  9:53 ` about cr3 register George Dunlap
  -- strict thread matches above, loose matches on Subject: below --
2015-04-01 14:31 HANNAS YAYA Issa

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=84e75c11446044541a3643b725743b26@inp-toulouse.fr \
    --to=issa.hannasyaya@enseeiht.fr \
    --cc=xen-devel@lists.xen.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.