Minimum CPUID extended level in longmode?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
tehmav
Posts: 4
Joined: Tue Aug 05, 2014 2:02 pm

Minimum CPUID extended level in longmode?

Post by tehmav »

Hi! :)

Since my OS is 64bit only, with a 16/32bit bootstrap, I just wanted to ask if there is a minimum extended level (higher than 0x8000_0001 of course) of CPUID required by longmode.

It would be just nice to know :D

Cheers!
stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Re: Minimum CPUID extended level in longmode?

Post by stlw »

Yes, leaf 0x80000008 present for every CPU with long to state maximum virtual address width.

Stanislav
tehmav
Posts: 4
Joined: Tue Aug 05, 2014 2:02 pm

Re: Minimum CPUID extended level in longmode?

Post by tehmav »

Thank you for your answer!

And just to be sure: This means that in long mode CPUID will always report a supported extended level of atleast 0x8000_0008?
stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Re: Minimum CPUID extended level in longmode?

Post by stlw »

tehmav wrote:Thank you for your answer!

And just to be sure: This means that in long mode CPUID will always report a supported extended level of atleast 0x8000_0008?
Yes. But why should you care for CPUID leafs which you don't get useful information from ?
tehmav
Posts: 4
Joined: Tue Aug 05, 2014 2:02 pm

Re: Minimum CPUID extended level in longmode?

Post by tehmav »

This is more of a thing which, for me personally, could be good to know.
Post Reply