Path: utzoo!attcan!uunet!jarthur!usc!wuarchive!decwrl!sgi!shinobu!odin!norge.sgi.com!jeffd From: jeffd@norge.sgi.com (Jeff Doughty) Newsgroups: comp.sys.sgi Subject: Re: Flushing the icache Message-ID: <5342@odin.SGI.COM> Date: 16 Mar 90 15:45:33 GMT Sender: news@odin.SGI.COM Reply-To: jeffd@norge.sgi.com (Jeff Doughty) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 17 > Thanx to all those who responded to my previous MIPS question (about > lw). It turns out that the bug I'm battling is caused by an > icache/dcache consistency problem. So now I ask, is there any way to > flush the icache on sgi 4d machines? If the answer is no, is there a > way to find out the size of the icache at runtime? The following code will do the job: #include ... sysmips(FLUSH_CACHE); ... Jeff Doughty IRIX group