[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 6/6] xen/arm: Use the hardware ID to boot correctly secondary cpus
On Wed, 2013-09-18 at 14:15 +0100, Julien Grall wrote: > + /* Browse the logical map and find the associate logical cpu ID */ We already have init_stack (the stack for the cpu which is coming up to use). In my start of day rewrite I also add/extend init_ttbr. You could add init_cpu_id or something. TBH it's getting to the point where we might want struct init_info { ... } > + for ( cpuid = 1; cpuid < nr_cpu_ids; cpuid++ ) > + { > + if ( cpu_logical_map(cpuid) == hwid ) > + break; > + } > + _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |