Thread (5 messages) flat view 5 messages, 5 authors, 2012-07-24

How can I change cr0 register in redhat system

From: Fan Yang <hidden>
Date: 2012-07-23 04:00:46

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 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help