Mail Archives: djgpp/1999/07/04/17:10:07
> Is it possible to switch to ring 0 in DJGPP?
> (under plain DOS - i dont't want my code to be
> compatible with windows)
> I only need ring 0 for one function.
> I know about CWSDPR0, but i don't feel like recompiling
> all my code and libraries (i guess it's needed)
The easiest thing to do is to use CWSDPR0. It should run
any normal DJGPP image without recompling.
If you want to use the normal image, you can allocate a
descriptor and set it's attributes using DPMI services to
be a RING 0 call gate to do what you need. You would need
an Intel architecture manual to describe the details.
- Raw text -