Does long mode have all the privilege levels?

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
optimisticnugget
Posts: 8
Joined: Wed Mar 02, 2022 4:21 pm

Does long mode have all the privilege levels?

Post by optimisticnugget »

Since the segment descriptors in long mode are just ignored, does that mean that in long mode, there is only user and supervisor mode? Whereas in regular 32-bit protected mode, we have all the 4 rings?
User avatar
iansjack
Member
Member
Posts: 4703
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: Does long mode have all the privilege levels?

Post by iansjack »

The Intel or AMD Programmer’s Manuals will tell you all you need to know.
User avatar
pvc
Member
Member
Posts: 201
Joined: Mon Jan 15, 2018 2:27 pm

Re: Does long mode have all the privilege levels?

Post by pvc »

Base and Limit fields are ignored. Everything else is still in use and works nearly the same as in 32 bit protected mode. The biggest difference is the TSS since there is no hardware task switching.
Post Reply