kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* How can I change cr0 register in redhat system
@ 2012-07-23  4:00 Fan Yang
  2012-07-23  4:19 ` Ram Tummala
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Fan Yang @ 2012-07-23  4:00 UTC (permalink / raw)
  To: kernelnewbies

hi all:
       when I change the cr0 register I get a "Segmentation fault (core
dumped)".
       my code is :


.data
.text
.global _start
_start:
        movl %eax, %cr0

      this code can work well in ubuntu system when I use root to run it.
So what can I do to work it in redhat system?

     thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120723/95e85dc2/attachment.html 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-24  2:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-23  4:00 How can I change cr0 register in redhat system Fan Yang
2012-07-23  4:19 ` Ram Tummala
2012-07-23  8:37   ` siddharth saxena
2012-07-23 11:40     ` Jonathan Neuschäfer
     [not found] ` <219833562776487968@unknownmsgid>
2012-07-23 13:38   ` Fan Yang
2012-07-23 14:01     ` Jonathan Neuschäfer
2012-07-23 17:38     ` Ram Tummala
2012-07-24  2:05 ` Peter Teoh

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).