public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Q] x86 - boot/header.S
@ 2008-02-23  8:20 Cyrill Gorcunov
  2008-02-23  8:44 ` Yinghai Lu
  2008-02-25  2:15 ` H. Peter Anvin
  0 siblings, 2 replies; 8+ messages in thread
From: Cyrill Gorcunov @ 2008-02-23  8:20 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Sam Ravnborg, LKML

Hi Peter, Sam,

could you take a look on x86/boot/header.S:280 please?

# Zero the bss
	movw	$__bss_start, %di
	movw	$_end+3, %cx
	xorl	%eax, %eax
	subw	%di, %cx
	shrw	$2, %cx
	rep; stosl

I wonder why is $_end there instead of $__bss_stop?
Well, accroding to vmlinux_32.lsd both _end and __bss_stop
are the same BUT __bss_stop is more convenient methink.
Would it be usefull to change?

		- Cyrill -

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-25  8:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-23  8:20 [Q] x86 - boot/header.S Cyrill Gorcunov
2008-02-23  8:44 ` Yinghai Lu
2008-02-23  9:07   ` Cyrill Gorcunov
2008-02-23  9:18     ` Sam Ravnborg
2008-02-23  9:21       ` Cyrill Gorcunov
2008-02-25  2:17     ` H. Peter Anvin
2008-02-25  2:15 ` H. Peter Anvin
2008-02-25  8:06   ` Cyrill Gorcunov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox