From owner-p4-projects@FreeBSD.ORG Wed Apr 9 11:04:32 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id AB5B637B404; Wed, 9 Apr 2003 11:04:31 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47E3437B401; Wed, 9 Apr 2003 11:04:31 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDB7743FBD; Wed, 9 Apr 2003 11:04:30 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id B88372A7EA; Wed, 9 Apr 2003 11:04:30 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: John Baldwin In-Reply-To: Date: Wed, 09 Apr 2003 11:04:30 -0700 From: Peter Wemm Message-Id: <20030409180430.B88372A7EA@canning.wemm.org> cc: Perforce Change Reviews Subject: Re: PERFORCE change 28616 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 18:04:32 -0000 John Baldwin wrote: > > On 09-Apr-2003 Peter Wemm wrote: > > http://perforce.freebsd.org/chv.cgi?CH=28616 > > > > Change 28616 by peter@peter_daintree on 2003/04/08 22:36:45 > > > > move identify_cpu from locore to here. > > Can we do this for i386 as well? Maybe.. the problem is that we have lots of nasty stuff in locore to determine the basic feature set. The hammer stuff is nice in that it has a respectable minimum feature set and we simply do not need to worry about figuring out page table page layouts etc. Also, locore is really really small because I've got the loader doing a long mode entry with PSE paging enabled.. there's 1GB direct mapped at address zero, and 1GB starting from kernbase. That is more than enough to set up real page tables. I'm going to move this from machdep.c to pmap_bootstrap() at some point, since that seems to be the canonical place to do this sort of thing. It simplifies a lot of things. I'd really like to do this for the i386 kernel too, but it would be nice to get it done before RELENG_5 starts. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5