From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Question re IRET wrapper and rdtsc Date: Mon, 18 Nov 2002 20:47:55 CST Organization: Rice University, Houston TX Lines: 11 Message-ID: <3dd9a65b.sandmann@clio.rice.edu> References: NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1037674266 19929 128.42.105.3 (19 Nov 2002 02:51:06 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: 19 Nov 2002 02:51:06 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 > 1. I am using _go32_dpmi_allocate_iret_wrapper and family to install > the handler (see code below). Does my handler need the commonly-used > cli/pusha preamble (and accompanying popa/sti), or does the wrapper > code do this for me? I have been unable to decipher the djgpp source, > and there seems to be conflicting advice out there. Do not use cli/sti with the wrappers. If there is any advice which says they should be used, let us know so we can fix it. pusha/popa are not needed; they are done in the wrapper.