Expand description
Provides a safe wrapper around some CPU instructions.
This is needed because Rust’s intrinsics are marked unsafe (despite these few being completely safe to invoke).
Functions§
- cpuid
- Invokes the cpuid instruction with input values
eax
andecx
. - rdtsc
- Invokes the rdtsc instruction.
- store_
fence - Emit a store fence to flush the processor’s store buffer