Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
CandyMan

30.11.2020, 01:42
 

Option limit cpuid maximum in bios. (Miscellaneous)

Does anyone know how the cpuid instruction is reprogrammed to get the maximum level once 3, once (for me) 0Dh?

Japheth

Homepage

Germany (South),
30.11.2020, 04:13

@ CandyMan
 

Option limit cpuid maximum in bios.

There's the

IA32_MISC_ENABLE MSR (1A0h), bit 22

for Intel, but according to Intel docs it allows to reduce cpuid max to 2 only.


When this bit is set to 1, CPUID.00H returns
a maximum value in EAX[7:0] of 2.
BIOS should contain a setup question that
allows users to specify when the installed
OS does not support CPUID functions
greater than 2.
Before setting this bit, BIOS must execute
the CPUID.0H and examine the maximum
value returned in EAX[7:0]. If the maximum
value is greater than 2, this bit is
supported.
Otherwise, this bit is not supported. Setting
this bit when the maximum value is not
greater than 2 may generate a #GP
exception.
Setting this bit may cause unexpected
behavior in software that depends on the
availability of CPUID leaves greater than 2.

---
MS-DOS forever!

CandyMan

30.11.2020, 11:41

@ Japheth
 

Option limit cpuid maximum in bios.

Thanks for the answer.

Back to index page
Thread view  Board view
22049 Postings in 2034 Threads, 396 registered users, 91 users online (0 registered, 91 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum