Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Feb 2022 20:32:30 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Sebastian Huber <sebastian.huber@embedded-brains.de>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: ntp_init() looks like a nop
Message-ID:  <202202072032.217KWUdU085792@critter.freebsd.dk>
In-Reply-To: <ac806cf6-a17f-77ba-5633-0c95eda1f8cf@embedded-brains.de>
References:  <ac806cf6-a17f-77ba-5633-0c95eda1f8cf@embedded-brains.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
Sebastian Huber writes:

> The ntp_init() function sets a couple of global variables to zero. These=20
> variables should be in the .bss section. Are they not already cleared=20
> during the kernel loading?

They are, but I kept the code to minimize the diff relative to Dave Mills
original version of the code.

It can go no.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202072032.217KWUdU085792>