delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
From: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: DS and ESP |
Date: | Tue, 19 Feb 2002 10:24:41 CST |
Organization: | Rice University, Houston TX |
Lines: | 8 |
Message-ID: | <3c727c49.sandmann@clio.rice.edu> |
References: | <a4rfgu$sbg$1 AT news DOT tpi DOT pl> <a4t25g$nn0$1 AT antares DOT lu DOT erisoft DOT se> |
NNTP-Posting-Host: | clio.rice.edu |
X-Trace: | joe.rice.edu 1014136042 29645 128.42.105.3 (19 Feb 2002 16:27:22 GMT) |
X-Complaints-To: | abuse AT rice DOT edu |
NNTP-Posting-Date: | 19 Feb 2002 16:27:22 GMT |
X-NewsEditor: | ED-1.5.9 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> That is correct. Unless interrupts are disabled when [code using > values below ESP] executes it's extremely broken. And it might be > broken even if interrupts are disabled (page fault e. g.). If the DPMI provider is done correctly either hardware interrupts or even page faults work fine even when the user ESP is invalid. All of these should be handled on the locked 4Kb DPMI internal stack and never touch the user stack. So, it turns out that code isn't broken :-)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |