> > I need to make some checks (search for particular BIOS version) in the
> > very start of the kernel. I need to store this data (zero page is pretty
> > good for this, I think) and access it from arch/i386/boot/setup.S,
> > arch/i386/boot/compressed/misc.c and in some other places. Can somebody
> > suggest me good place to put check procedure and how to pass data?
>
> I use 0x000001f0 (absolute) for relocating virtual disk code
> for booting embedded systems. After Linux is up, the code remains
> untouched. This might be a good location because the BIOS doesn't
> use it during POST/boot and Linux (currently) leaves it alone.
> Of course, this doesn't mean that somebody will not destroy this
> area in the future (probably to spite you and me!!!).
Yes, I know about this area, as I wrote (Documentation/i386/zero-page.txt).
And I even know how to pass parameter from zero-page into kernel space
(setup.c). But I need to use this parm, I fetched, in both setup.S and misc.c
(see below). And I don't have any ideas about execute order of setup.S,
misc.c and setup.c.
Best regards,
Andrew.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/