PERFORCE change 132485 for review

Marcel Moolenaar xcllnt at mac.com
Sun Jan 6 15:36:52 PST 2008


On Jan 6, 2008, at 2:17 PM, Peter Grehan wrote:

> Hi Rafal,
>
>> 	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().

I'm planning this. I have done the same on ia64. It helps SMP, because  
after
you switched the BSP to its own stack kstack0 becomes available to  
start APs
on (in particular before you have the MMU set up)...

FYI,

-- 
Marcel Moolenaar
xcllnt at mac.com




More information about the p4-projects mailing list