Date: Wed, 16 Jul 1997 17:35:01 -0600 From: Steve Passe <smp@csn.net> To: Wayne Scott <wscott@ichips.intel.com> Cc: smp@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: self modifying kernel code Message-ID: <199707162335.RAA10611@Ilsa.StevesCafe.com> In-Reply-To: Your message of "Wed, 16 Jul 1997 15:45:25 PDT." <199707162245.PAA07524@pdxlx008.intel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > At startup the call is to a routine that computes the correct target > address. In the fixup routine you change the call address and then > jump to the target directly. It will be a long time before you > actually execute the modified code. and in the case of UP you would overlay the call with the jump near + nops, then jump directly to the jump near's target, so again plenty of time to flush... -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707162335.RAA10611>