Re: i386 boot & mm gurus' advice needed (int 0x15/0xE820 support)

Martin Mares (mj@ucw.cz)
Mon, 16 Nov 1998 13:57:08 +0100


Hello,

> > It might be better to use one kbyte from PARAM+1024 as it's guaranteed
> > to be free (see Documentation/i386/zero-page.txt).
>
> Huh ?
>
> >From Documentation/i386/zero-page.txt :
> 0x224 unsigned short setup.S heap end pointer
> 0x226 - 0x7ff setup.S code.
>
> 0x800 string, 256bytes COMMAND_LINE, the kernel commandline as
> copied using CL_OFFSET.
> Note: this will be copied once more by setup.c
> into a local buffer which is only 256 bytes long.
> ( #define COMMAND_LINE_SIZE 256 )
> ---------------
> (my patched version, of course, but that applies only to the length of
> whatever is at 0x800)
>
> I actually tried the place at 0x400 -- it did froze at boot (wonder why
> :-))

I meant using it as a final destination -- first fetch it to some
temporary buffer and then move it there -- see do_move in setup.S.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"God doesn't play dice."    -- Albert Einstein

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