NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: alexBishop on January 20, 2011, 10:14:54 AM

Title: Privilege level
Post by: alexBishop on January 20, 2011, 10:14:54 AM
How do I change the privilege level and also the i/o privilege level?  ???
Title: Re: Privilege level
Post by: Frank Kotler on January 21, 2011, 02:15:01 PM
I believe privilege level is determined by a couple bits in the descriptor. I/O privilege level is a bitmap, I think. The Intel/AMD manuals should have complete information. For "system" code (as opposed to "user" code), the OS development guys have got a lot of information:

http://wiki.osdev.org/Main_Page

...maybe start with "Context switching" for this(?)...

Best,
Frank