Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 1996 06:23:04 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, dyson@dyson.iquest.net
Cc:        current@FreeBSD.org, dg@Root.COM, kato@eclogite.eps.nagoya-u.ac.jp
Subject:   Re: patch for Cyrix/Ti 486SLC/DLC CPU bug
Message-ID:  <199609112023.GAA10051@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> 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?

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609112023.GAA10051>