home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!europa.asd.contel.com!emory!swrinde!ringer!mlevis
- From: mlevis@ringer.cs.utsa.edu (Mike Levis) (OS/2)
- Subject: Re: OS/2 Crashproof? NOT!
- Message-ID: <1992Nov20.074033.11741@ringer.cs.utsa.edu>
- Organization: University of Texas at San Antonio
- References: <1992Nov16.164941.27113@njitgw.njit.edu> <1992Nov18.063745.6394@ringer.cs.utsa.edu> <1992Nov19.203412.23450@njitgw.njit.edu>
- Date: Fri, 20 Nov 1992 07:40:33 GMT
- Lines: 33
-
- In article <1992Nov19.203412.23450@njitgw.njit.edu> dic5340@hertz.njit.edu (David Charlap) writes:
- >In article <1992Nov18.063745.6394@ringer.cs.utsa.edu> mlevis@ringer.cs.utsa.edu (Mike Levis) writes:
- >>I don't have the SBOS2 driver, but since OS/2 drivers have the same
- >>privilege level as the kernel (at ring 0), dangerous drivers (buggy,
- >>beta, or badly installed) can knock down OS/2.
- >
- >Well, device drivers don't run at ring 0, at least they're not
- >supposed to. They run at ring 2 (along with IOPL segments, I
- >believe).
-
- Actually, device drivers do run at ring 0. From page 241 of _The Design
- of OS/2_ (Deitel and Kogan):
-
- "Device drivers are device dependent modules that provide the
- low-level I/O support for a device. They are trusted modules--
- they run at privilege level 0 and have access to the kernel."
-
- Even the DOS support code run at ring 0. From page 298 (10.4.4 Virtual
- Device Drivers):
-
- "Virtual device drivers virtualize hardware and ROM BIOS services
- on a per-VDM basis. They provide support for the direct
- manipulation of memory-mapped I/O devices, and the direct programming
- of I/O ports [... deleted ...]
- VDDs are trusted modules that execute in protected mode at ring 0."
-
- Kogan was the lead architect of 32-bit OS/2.
-
- --
- ==== Mike Levis mlevis@ringer.cs.utsa.edu ====
- :: ftp ftp-os2.nmsu.edu (128.123.35.151) :: .--.
- :: for OS/2 software & information. Get :: (OS/2)
- :::: the OS/2 FAQL in dir /pub/os2/all/faq ::::: ~--~
-