Page 1 of 1

Does long mode have all the privilege levels?

Posted: Sun Apr 03, 2022 6:29 am
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?

Re: Does long mode have all the privilege levels?

Posted: Sun Apr 03, 2022 6:40 am
by iansjack
The Intel or AMD Programmer’s Manuals will tell you all you need to know.

Re: Does long mode have all the privilege levels?

Posted: Sun Apr 03, 2022 9:04 am
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.