From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: Question about djgpp's int-wrapper Date: 12 Jun 2002 07:54:20 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 11 Message-ID: References: <5 DOT 0 DOT 2 DOT 1 DOT 2 DOT 20020609104552 DOT 009e64e0 AT pop DOT gmx DOT net> <3D0683AC DOT 8AE2DB20 AT arcor DOT de> NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Lars Erdmann (lars DOT erdmann AT arcor DOT de) wrote: : If you use "cli" anywhere else but in an interrupt handler, you know : that irqs will have been enabled before (so the sequence cli,sti will : definitely return you to the state that the irq flag was before). No. Not in an XMS provider which might be called from ISR. Right, MartinS