delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/18/22:15:26

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
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: <a1babb92 DOT 0211181535 DOT 480d34e2 AT posting DOT google DOT com>
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.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019