From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 20 11:50:20 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC51816A4CE; Tue, 20 Jul 2004 11:50:20 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C79143D1D; Tue, 20 Jul 2004 11:50:20 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i6KBoKWg012134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Jul 2004 07:50:20 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i6KBoE4e044522; Tue, 20 Jul 2004 07:50:14 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16637.1782.943726.273637@grasshopper.cs.duke.edu> Date: Tue, 20 Jul 2004 07:50:14 -0400 (EDT) To: Peter Grehan In-Reply-To: <40FC84D5.4060300@freebsd.org> References: <16634.61745.306200.480570@grasshopper.cs.duke.edu> <40FB1C83.3010800@freebsd.org> <16635.59569.415380.622398@grasshopper.cs.duke.edu> <40FC84D5.4060300@freebsd.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-ppc@freebsd.org Subject: Re: kernel not bootable today? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 11:50:20 -0000 Peter Grehan writes: > I just comitted a fix. The mtmsr() inlines don't do an isync, since Thank you! > > > On a related note, I don't think that the linker file > > is still unused in elf_cpu_load_file(). > > Ah yes. gcc didn't complain about that :-) > > Also, I found out that elf_cpu_load_file() is called when the kernel > is loaded, so there's no need to sync the icache for the entire kernel > when it's already been done for the loader. This might shave a > microsecond off boot time :-) I have not tried yet, but should I now expect modules to work? Thanks, Drew