Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 1997 23:30:42 -0600
From:      Warner Losh <imp@rover.village.org>
To:        dg@root.com
Cc:        Steve Passe <smp@csn.net>, smp@freebsd.org, current@freebsd.org
Subject:   Re: self modifying kernel code 
Message-ID:  <E0woj9G-0003RJ-00@rover.village.org>
In-Reply-To: Your message of "Wed, 16 Jul 1997 17:40:42 PDT." <199707170040.RAA04953@implode.root.com> 
References:  <199707170040.RAA04953@implode.root.com>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199707170040.RAA04953@implode.root.com> David Greenman writes:
:    I'd say that you'd get less resistence to it, but then at boot time there
: are probably other cleaner, slower, ways of accomplishing the same thing.

I know that the MIPS based OSes generally bcopy a routine into the
trap handler location based on what architecture it is running (MIPS I
or MIPS III) on.  The MIPS hardware wants this trap routine to be of a
certain size at a fixed location.  Since this is for TLB handling, and
there are a limited number of TLB slots, this routine generally is as
hand tweaked as you can get.

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0woj9G-0003RJ-00>