#cpuid #x86 #amd64

app cpuid_dump_rs

The simple cpuid dump tool & library

1 unstable release

0.1.2 Nov 19, 2023

#274 in Hardware support

MIT license

205KB
5K SLoC

Usage

USAGE:
     cargo run -- [options ..] or <cpuid_dump> [options ..]

FLAGS:
     -a, -all
         Display result for all threads.
     -r, -raw
         Display raw/hex result.
     -bin
         Display binary result.
     -c, -compat
         Display the same format as `cpuid -r` (cpuid by Todd Allen)
     -full
         Combine "-disp-zero" and "-no-diff"
     -disp-zero
         Display result even if E[ABCD]X are zero.
     -no-diff
         Do not omit diff when all threads execution

OPTIONS:
     --l <u32>, --leaf <u32>
         Display result only for the specified value, the value is Leaf/InputEAX <u32>.
         e.g. --leaf 1, --leaf 0x8000_0008,
     --sub_leaf <u32>, --subleaf <u32>
         Display result only for the specified value, the value is Sub_Leaf/InputECX <u32>.
     --s <path/filename>, --save <path/filename>
         Save dump result to text file.
         If there is no path/filename argument, will be used "./<processor_name>".

Library

Dump Results

Dependencies

~0–30MB
~399K SLoC