All of lore.kernel.org
 help / color / mirror / Atom feed
From: Razvan Cojocaru <rcojocaru@bitdefender.com>
To: machi1271 <machi1271@gmail.com>, xen-devel <xen-devel@lists.xen.org>
Subject: Re: Modify cr0 at dom0
Date: Fri, 17 Oct 2014 09:48:29 +0300	[thread overview]
Message-ID: <5440BBBD.4040709@bitdefender.com> (raw)
In-Reply-To: <201410171434447719581@gmail.com>

On 10/17/14 09:34, machi1271 wrote:
> Thanks Razvan~
>  
> I'm new to Xen and Linux.
> Could you please tell me is there any Xen-independent manner to modify
> CR0, or the memory area protected by CR0.WP bit?

Sure, there's an example here:

https://stackoverflow.com/questions/3962950/how-to-set-control-register-0-cr0-bits-in-x86-64-using-gcc-assembly-on-linux


Razvan

  reply	other threads:[~2014-10-17  6:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17  1:47 Modify cr0 at dom0 machi1271
2014-10-17  6:25 ` Razvan Cojocaru
2014-10-17  6:34   ` machi1271
2014-10-17  6:48     ` Razvan Cojocaru [this message]
2014-10-17  7:14       ` machi1271
2014-10-17  8:01         ` Razvan Cojocaru
2014-10-17  9:16           ` machi1271

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=5440BBBD.4040709@bitdefender.com \
    --to=rcojocaru@bitdefender.com \
    --cc=machi1271@gmail.com \
    --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.