Re: [PATCH 1/2] Use structs instead of hardcoded offsets in x86boot decompressor.

From: Rik van Riel
Date: Sun May 25 2008 - 00:01:00 EST


On Fri, 23 May 2008 23:17:01 -0700
"H. Peter Anvin" <hpa@xxxxxxxxx> wrote:

> Uhm... except it doesn't live at address zero, at all.
>
> It's called "zeropage" because we used to recycle it into
> empty_zero_page, a long long time ago.
>
> The bootparms structure is pointed to by %esi being passed from the
> setup code to the decompressor to the kernel.

Then why does dereferencing the uninitialized
pointer work, both in the code before and after
the patch?

What am I misssing?
--
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/