Skip to content
Snippets Groups Projects
Commit acc2482f authored by Christian Gmeiner's avatar Christian Gmeiner Committed by Bin Meng
Browse files

x86: tsc: add support for reading CPU freq from cpuid


Starting with cpuid level 0x16 (Skylake-based processors)
it is possible to get CPU base freq via cpuid.

This fixes booting on a skylake based system.

Signed-off-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
[bmeng: fixed wrong indention of labels]
Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 7868909e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment