Mail Archives: djgpp/1998/11/10/16:57:56
From: | Michele Manzato <aragorn AT dei DOT unipd DOT it>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Return from interrupts to a different location
|
Date: | Tue, 10 Nov 1998 22:51:06 +0100
|
Organization: | BBS - Universita' di Padova - Italia
|
Lines: | 27
|
Message-ID: | <Pine.SOL.3.96.981110224845.25516A-100000@marina>
|
NNTP-Posting-Host: | marina.dei.unipd.it
|
Mime-Version: | 1.0
|
X-Sender: | aragorn AT marina
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hello everybody.
How can I return to a different location on a different stack from an
hardware interrupt service routine?
It seems that the DPMI server switches to a local stack when the expected
hardware interrupt is generated, and only then my ISR gets called. So
(apparently) I have no way of knowing neither the CS:EIP nor the ES:ESP
where the execution was at when the hw interrupt was generated, let alone
changing them to return to a different CS:EIP, SS:ESP upon IRET.
Is there any way out?
Ethernal gratitude will be owed to everybody who answered this question.
Michele
-- Michele Manzato -------------------------------------------------------
Home: via Aldo Moro, 30 - 37066 School: via dei Savonarola, 176
Sommacampagna VR ITALY PADOVA PD ITALY
Phone no. +45 896 0281 Phone no. +49 871 9777
e-mail: aragorn AT resurrection DOT com WWW: www.dei.unipd.it/~aragorn
--------------------------------------------------------------------------
- Raw text -