If you want cpufixup called by per cpu, you may need to modify cpu_initialize function and maybe add one pass for it.
Regards
Yinghai Lu
-----邮件原件----- 发件人: ron minnich [mailto:rminnich@lanl.gov] 发送时间: 2003年8月5日 6:54 收件人: linuxbios@clustermatic.org 主题: linking static to dynamic devices
The next obvious step is to link static to dynamic devices.
One issue is that we define CPUs statically, up to the maximum the mainboard can take. But they may not be there. How do we express this? Greg had some ideas, so he may jump in once he gets off the plane.
I do think the new static architecture will allow for things like cpufixup() calls per-cpu, etc. but we'll see.
ron
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
I forgot to add to my suggestion that enable() is only called if the 'present' flag is set. In this model you should be able to do the cpu fixups at the appropriate pass in enable().
Greg
At 11:34 AM -0600 5/8/03, ron minnich wrote:
On Tue, 5 Aug 2003, YhLu wrote:
If you want cpufixup called by per cpu, you may need to modify cpu_initialize function and maybe add one pass for it.
I plan to look at this tomorrow.
ron
Regards
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios