TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jeff Dunlop et al.
from: Daniela Engert
date: 1998-12-05 17:57:36
subject: PM drawing priorities...

Hi Jeff!

Thus quoth Jeff Dunlop to IVAN TODOROSKI:
 IT>>   OS/2 itself is to blame for giving that driver higher priority
 IT>> than it   deserves. It boosts PM drawing beyond Foreground Server,
 IT>> delta 31   priority, higher than the program actually requesting it

 JD> I though Denis said that the video driver runs at a different ring
 JD> or priority. I would expect device drivers to get special
 JD> treatment, which doesn't necessarily mean that PM is being given a
 JD> boost.

Hey guys, back to the basics:

First of all, *threads* have a property called priority assigned by the
kernel and get appropriate boosts - not *code*.

Second, display drivers and printer drivers aren't drivers in the OS/2
sense. Both are presentation drivers, mere DLLs called by the GRE subsystem
(graphics engine) of the PM (presentation manager), and thus run in the
execution context of the calling process. Special provisions of GRE give
presentation drivers the opportunity to run in ring 2 thereby giving access
to the graphics hardware ports in IO space; this decision is up to the
presentation driver on call level. If the video hardware isn't mapped into
the IO address space but the memory address space, there must be an
accompanying real OS/2 driver executing in ring 0.

bye, Dani

--- Sqed/32 1.14/r01354
* Origin: Nachtigall/2,Nuernberg/Ger,+49-911-861319,Z19+ISDN (2:2490/2576)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/444 506 728 639/252 670/218
@PATH: 2490/2576 1050 2001 2410/200 2432/200 2433/1200 225 270/101 396/1
@PATH: 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.