From owner-p4-projects@FreeBSD.ORG Mon Jan 7 15:35:09 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D41D916A41A; Mon, 7 Jan 2008 15:35:08 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9747416A418 for ; Mon, 7 Jan 2008 15:35:08 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by mx1.freebsd.org (Postfix) with ESMTP id 44D1213C458 for ; Mon, 7 Jan 2008 15:35:08 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id 00634183D7; Mon, 7 Jan 2008 16:19:20 +0100 (CET) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17231-01; Mon, 7 Jan 2008 16:19:10 +0100 (CET) Received: from [77.115.119.2] (apn-77-115-119-2.gprs.plus.pl [77.115.119.2]) by mail.semihalf.com (Postfix) with ESMTP id 4BE9814363; Mon, 7 Jan 2008 16:19:06 +0100 (CET) Message-ID: <4782418E.1030400@semihalf.com> Date: Mon, 07 Jan 2008 16:13:18 +0100 From: Rafal Jaworowski MIME-Version: 1.0 To: grehan@freebsd.org References: <200801041525.m04FPIrt011288@repoman.freebsd.org> <47815371.9020501@freebsd.org> In-Reply-To: <47815371.9020501@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at semihalf.com Cc: Rafal Jaworowski , Perforce Change Reviews Subject: Re: PERFORCE change 132485 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2008 15:35:09 -0000 Hi Peter, >> Temporary fix to avoid confusion of 'kstack0' symbol and make e500 >> kernel operational again. kstack0 area requires further >> improvements (space for kstack0 is now statically defined within >> kernel body, does not have guard pages etc., which should be fixed) > > On AIM it is allocated correctly but never switched over. The > (not-yet-implemented) plan was to mimic amd64 and return the value from > powerpc_init() to locore, switching r1 to this value before calling > mi_startup(). > Thanks for the hint, I'll look at amd64 more closely. So the idea is to switch over to thread0's kstack immediately before mi_startup(), so that temp stack we were running on can be recycled etc. right? Rafal