svn commit: r203010 - head/sys/mips/rmi/dev/xlr

Oleksandr Tymoshenko gonzo at bluezbox.com
Tue Jan 26 06:10:49 UTC 2010


Randall Stewart wrote:
> Author: rrs
> Date: Tue Jan 26 05:14:50 2010
> New Revision: 203010
> URL: http://svn.freebsd.org/changeset/base/203010
>
> Log:
>   1) Make sure static is init'd to 0
>   
Static variables without initializer should be zero-initialized by 
loader. I believe RMI loader
does not zero .bss/.sbss segments so you should do it manually in 
platform_start
to ensure that all static variable are zeroed to prevent side-effects. 
Check platform_start from
ar71xx/ar71xx_machdep.c, for example.


More information about the svn-src-all mailing list