Date: Wed, 03 Apr 1996 08:43:13 -0800 From: John Polstra <jdp@polstra.com> To: msmith@atrad.adelaide.edu.au Cc: freebsd-hackers@freebsd.org Subject: Re: i386 rep (blah) and interrupts... Message-ID: <199604031643.IAA04634@austin.polstra.com> In-Reply-To: <199604030828.RAA19778@genesis.atrad.adelaide.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael Smith asks: > In the read function, one of the input methods I'm contemplating basically > involves > > insw(sc->sc_port,sc->sc_buf,sc->sc_pending); > > ... which basically translates to the i386 'rep insw' construct. > > It's not inconcievable that sc->sc_pending could run to several tens of K, > and what I don't know is whether this construct is interruptible or not. Yes, the "rep" constructs are interruptible. They service pending interrupts at the beginning of each iteration, according the the 80386 programmer's reference manual. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604031643.IAA04634>