Re: [PATCH -v7 1/3] x86 boot: setup data

From: H. Peter Anvin
Date: Tue Oct 23 2007 - 18:32:35 EST


Jeremy Fitzhardinge wrote:
H. Peter Anvin wrote:
No, he doesn't. The boot protocol version is communication between
the boot loader and the kernel (specifically, it is communication FROM
the kernel TO the bootloader), not between internal bits of the
kernel. Th

So the bootloader will only fill out fields the kernel claims to understand?


Correct. If it fails to respect this restriction, it might even overwrite kernel code. To make the bootloader's job easier, we have retconned the jump instruction at the beginning of the header to also be a limit marker.

-hpa
-
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/