cvs commit: src/sys/i386/i386 locore.s
Bruce Evans
bde at FreeBSD.org
Tue Jul 29 14:57:03 PDT 2003
bde 2003/07/29 14:57:01 PDT
FreeBSD src repository
Modified files:
sys/i386/i386 locore.s
Log:
Restored clearing of the bss, except for putting it in a correct place
with up to date comments. This fixes booting kernels with boot2
(except for loss of the features provided by loader) and is suitable
for MFC. Contrary to the old comments, most loaders don't clear the bss.
biosboot lost clearing of the bss in a code crunch in 1997, and boot2
never did it.
kan didn't notice the problem with gcc-3.3 putting variables that are
initialized to 0 in the bss until after committing gcc-3.3 because he
was already using essentially this patch. Before gcc-3.3, only the
non-critical `bootdev' variable was clobbered by clearing the bss.
MFC after: 3 days
Revision Changes Path
1.174 +18 -9 src/sys/i386/i386/locore.s
More information about the cvs-src
mailing list