From owner-svn-src-all@FreeBSD.ORG Tue Jan 26 06:10:49 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05F54106566B; Tue, 26 Jan 2010 06:10:49 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from expo.ukrweb.net (mail.univua.net [91.202.128.78]) by mx1.freebsd.org (Postfix) with ESMTP id AD1498FC27; Tue, 26 Jan 2010 06:10:48 +0000 (UTC) Received: from [24.87.52.209] (helo=lair.bluezbox.com) by expo.ukrweb.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NZdyR-000Gb7-Jm; Tue, 26 Jan 2010 07:28:27 +0200 Message-ID: <4B5E7D11.7000602@bluezbox.com> Date: Mon, 25 Jan 2010 21:26:41 -0800 From: Oleksandr Tymoshenko User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Randall Stewart References: <201001260514.o0Q5EoVg087688@svn.freebsd.org> In-Reply-To: <201001260514.o0Q5EoVg087688@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 24.87.52.209 X-SA-Exim-Mail-From: gonzo@bluezbox.com X-SA-Exim-Scanned: No (on expo.ukrweb.net); SAEximRunCond expanded to false Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r203010 - head/sys/mips/rmi/dev/xlr X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2010 06:10:49 -0000 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.