Re: [Q] x86 - boot/header.S

From: Yinghai Lu
Date: Sat Feb 23 2008 - 03:45:14 EST


On Sat, Feb 23, 2008 at 12:20 AM, Cyrill Gorcunov <gorcunov@xxxxxxxxx> wrote:
> 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?

we should have head32.c like head64.c
and x86_32_start_kernel.

Eric's patch long time ago...

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/