How to set a bit in Control Register (cr0) with inline assembly?

后端 未结 0 1759
南旧
南旧 2020-12-14 16:53

I\'m trying to set bit 30 of cr0 register with inline assembly. I\'m using the following assembly in my kernel module,

__asm__ (
"mov %%cr0, %%rax\\n\\t&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题