From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 14 09:15:03 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8710316A4B3 for ; Tue, 14 Oct 2003 09:15:03 -0700 (PDT) Received: from mail.speakeasy.net (mail9.speakeasy.net [216.254.0.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E03843FBD for ; Tue, 14 Oct 2003 09:15:02 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 31354 invoked from network); 14 Oct 2003 16:15:01 -0000 Received: from unknown (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail9.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Oct 2003 16:15:01 -0000 Received: from hydrogen.funkthat.com (tuhktg@localhost.funkthat.com [127.0.0.1])h9EGF1Ce006637 for ; Tue, 14 Oct 2003 09:15:01 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id h9EGF1Xl006633 for freebsd-hackers@freebsd.org; Tue, 14 Oct 2003 09:15:01 -0700 (PDT) Date: Tue, 14 Oct 2003 09:15:01 -0700 From: John-Mark Gurney To: freebsd-hackers@freebsd.org Message-ID: <20031014161501.GS533@funkthat.com> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20031010134400.GE803@saboteur.dek.spc.org> <16263.1019.939450.708832@grasshopper.cs.duke.edu> <20031011035827.GD75796@server.c211-28-27-130.belrs2.nsw.optusnet.com.au> <20031011082711.GB679@saboteur.dek.spc.org> <20031011101231.GH75796@server.c211-28-27-130.belrs2.nsw.optusnet.com.au> <20031011140651.GA1739@saboteur.dek.spc.org> <20031012195752.GE2996@saboteur.dek.spc.org> <20031013094715.GA75662@server.c211-28-27-130.belrs2.nsw.optusnet.com.au> <3F8AD6DB.4050107@gothic.net.au> <20031013193258.GB25160@saboteur.dek.spc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031013193258.GB25160@saboteur.dek.spc.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Subject: Re: Determining CPU features / cache organization from userland X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 16:15:03 -0000 Bruce M Simpson wrote this message on Mon, Oct 13, 2003 at 20:32 +0100: > i386 pc98 amd64 > --------------- > Action: Add code to identcpu.c to fill out hw_cacheinfo. > > Cache discovery: Extended CPUID. > Static tables if 486-class machine. No cache on 386. > TLB discovery: Extended CPUID. > Static tables if 486-class machine. No cache on 386. not to be a stick, but I do have a Am386DX-40 that has 128kb of cache on the mother board. It's the same style SRAMs that most 486's have on their board. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."