TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Denis Tonn
from: Thomas Seeling
date: 1998-10-06 12:30:44
subject: How do DLLs load and unl

Hallo, Denis!

*** Am 30. September 1998 um 13:20 schrieb Denis Tonn an Jonathan de Boyne Pollar:

 DT>  Callbacks from Ring 0 back to Ring 3 do exist. Exception and Exit
 DT> handlers, along with DLL InitTerm are examples. The Ring 3 stack is
 DT> setup to have an address in Doscall1 that will reenter Ring 0 using a
 DT> particular callgate, then a stack frame is built on the Ring 0 stack
 DT> that "looks" (to the CPU) as though the kernel is
"returning" through
 DT> a callgate. The return instruction causes the CPU to restore the
 DT> application's ring 3 stack.

This is very interesting! Thank you for opening that secret little box :-)

The paragraph quoted above seems to imply there is a callgate that refers
more or less directly to a return instruction, does it?


Tschau...Thomas

--- XE5/1.11-32/3.00+
* Origin: Die TeX-Box +49-6035-921189 V.34+ISDN 24h (2:2461/332.42)
SEEN-BY: 396/1 632/0 371 633/210 260 267 270 371 635/506 728 639/252 670/218
@PATH: 2461/332 300 244/1634 1200 1500 396/1 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™.