Date: Mon, 07 Jan 2008 16:13:18 +0100 From: Rafal Jaworowski <raj@semihalf.com> To: grehan@freebsd.org Cc: Rafal Jaworowski <raj@FreeBSD.org>, Perforce Change Reviews <perforce@freebsd.org> Subject: Re: PERFORCE change 132485 for review Message-ID: <4782418E.1030400@semihalf.com> In-Reply-To: <47815371.9020501@freebsd.org> References: <200801041525.m04FPIrt011288@repoman.freebsd.org> <47815371.9020501@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4782418E.1030400>