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.
tehmav
Posts: 4 Joined: Tue Aug 05, 2014 2:02 pm
Post
by tehmav » Wed Aug 06, 2014 8:41 am
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
Cheers!
stlw
Member
Posts: 359 Joined: Fri Apr 04, 2008 6:43 am
Contact:
Post
by stlw » Wed Aug 06, 2014 10:33 am
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
Post
by tehmav » Fri Aug 08, 2014 7:10 am
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
Posts: 359 Joined: Fri Apr 04, 2008 6:43 am
Contact:
Post
by stlw » Fri Aug 08, 2014 12:07 pm
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
Post
by tehmav » Sat Aug 09, 2014 4:47 am
This is more of a thing which, for me personally, could be good to know.