Y
Hacker News
new
|
ask
|
show
|
jobs
by
nailer
4524 days ago
Would you have to be a kernel module to access the CPU directly?
1 comments
aryastark
4524 days ago
No. All binary programs access the CPU directly. Only certain instructions require being in a certain "ring" (i.e. access level). The CPUID instruction is non-privileged, meaning you can access it from user space.
link