23 Jul 2012 06:00
How can I change cr0 register in redhat system
Fan Yang <lljyangfan <at> gmail.com>
2012-07-23 04:00:46 GMT
2012-07-23 04:00:46 GMT
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
_______________________________________________ Kernelnewbies mailing list Kernelnewbies <at> kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
RSS Feed