why I receive segmentation fault when calling CPUID using inline assembly?

后端 未结 0 633
你的背包
你的背包 2020-12-04 06:31

I checked it out and the code crashes when I get the cpuid line: (worth mentioning it is a part from a kernel module)

  int vendor_name[4] = {0};
  
  asm vol         


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