From owner-freebsd-current Wed Sep 11 22:30:18 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA08295 for current-outgoing; Wed, 11 Sep 1996 22:30:18 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id WAA08281 for ; Wed, 11 Sep 1996 22:30:14 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id WAA06232; Wed, 11 Sep 1996 22:21:35 -0700 From: Terry Lambert Message-Id: <199609120521.WAA06232@phaeton.artisoft.com> Subject: Re: patch for Cyrix/Ti 486SLC/DLC CPU bug To: bde@zeta.org.au (Bruce Evans) Date: Wed, 11 Sep 1996 22:21:34 -0700 (MST) Cc: bde@zeta.org.au, dyson@dyson.iquest.net, current@FreeBSD.org, dg@Root.COM, kato@eclogite.eps.nagoya-u.ac.jp In-Reply-To: <199609112023.GAA10051@godzilla.zeta.org.au> from "Bruce Evans" at Sep 12, 96 06:23:04 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > >> pmap_update_{1,2}pg(). The magic .byte's are a bad way of writing > >> `invlpg' (even gas understands this). > >> > >I don't know the syntax -- change it, and I'll propagate it!!! > > Intel gives the syntax `invlpg m' where m is a memory address. This > maps nicely to gcc inline asm (I think the contstraint is "m"). > > I would put this in cpufunc.h since it is a single instruction and > might be useful elsewhere. Is it reasonable for device drivers to > invalidate pages directly? There is more than one 68K MMU chip. This should also invalidate it for any architecture with seperate MMU. Yeah, I know, no one but me wants to ever run anything but Intel. 8-(. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.