From: Enzo Desiage <enzo@desiage.org>
To: kernelnewbies@kernelnewbies.org
Subject: Re: Page Fault
Date: Thu, 23 Apr 2020 17:42:47 +0100 [thread overview]
Message-ID: <CAJwv8c0eSwx+Zbw5VHv5O9xtfa4_y3h-6kivxtCrugNnnL5CyQ@mail.gmail.com> (raw)
In-Reply-To: <cc589888bda02ea2e599e3ac312e71a@cweb006.nm.nfra.io>
[-- Attachment #1.1: Type: text/plain, Size: 211 bytes --]
Thanks!
What I don't understand is why would we need rax register in the inline
assembly?
As I only need to flip the 16th bit of cr0, so using eax should suffice?
As I don't need to address the whole register.
[-- Attachment #1.2: Type: text/html, Size: 331 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next parent reply other threads:[~2020-04-23 16:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cc589888bda02ea2e599e3ac312e71a@cweb006.nm.nfra.io>
2020-04-23 16:42 ` Enzo Desiage [this message]
2020-04-23 0:02 Page Fault Enzo Desiage
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=CAJwv8c0eSwx+Zbw5VHv5O9xtfa4_y3h-6kivxtCrugNnnL5CyQ@mail.gmail.com \
--to=enzo@desiage.org \
--cc=kernelnewbies@kernelnewbies.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).