*BSD News Article 36742


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!news.iastate.edu!michaelv
From: michaelv@MindBender.HeadCandy.com (Michael L. VanLoon)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [FreeBSD 1.1.5.1] Is 486DLC inherently bad? (won't boot!)
Date: 08 Oct 1994 22:45:08 GMT
Organization: HeadCandy Associates... Sweets for the lobes.
Lines: 34
Message-ID: <MICHAELV.94Oct8174509@MindBender.HeadCandy.com>
References: <Cx5Ewx.5M4@isgtec.com> <PST.94Oct7155342@feta.cisco.com>
NNTP-Posting-Host: mindbender.headcandy.iastate.edu
In-reply-to: pst@cisco.com's message of 07 Oct 1994 22:53:42 GMT

In article <PST.94Oct7155342@feta.cisco.com> pst@cisco.com (Paul Traina) writes:

   FreeBSD 2.0 recognises the DLC and does the right things (idea & original
   code courtesy of NetBSD).

I wrote most of that stuff (though it was mutated by both Theo and
Charles), so thanks for the acknowledgment. :-)

   Paul

   p.s. any netbsd folks out there: you also want to flush the cache any
	time the CPU goes into hold state -- this will hopefully cover
	dma's outside the 640k-1mb range.

The latest locore.s already does this, depending on what compile-time
options you invoke while building your kernel.

	options CYRIX_CACHE_WORKS

invokes the cache in the flush-on-bus-hold mode you describe, for 386
motherboards with no hardware support for DLC caching, while

	options CYRIX_CACHE_WORKS, CYRIX_CACHE_REALLY_WORKS

invokes it in full non-stop mode for motherboards that have full
hardware cache support for the DLC.

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   Michael L. VanLoon     michaelv@HeadCandy.com     michaelv@iastate.edu
  Free your mind and your machine -- NetBSD free un*x for PC/Mac/Amiga/etc.
     Working NetBSD ports: 386+PC, Mac, Amiga, HP300, Sun3, Sun4c, PC532
               In progress: DEC pmax (MIPS R2k/3k), VAX, Sun4m
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -