> Hi,
>
> > EXT_MEM_K is what is called 'unused1' in struct screen_info.
> > However, there is also unused2, unused3 which I guess you should
> > not touch.
>
> `unused2' and `unused3' are really unused and free, `unused1' should be renamed
> to `reserved' or `dontuse'.
>
> > However, BEHIND screen_info and BEFORE APM_BIOS_INFO there is what is
> > defined in arch/i386/kernel/head.S:
> >
> > #define CL_MAGIC_ADDR 0x90020
> > #define CL_OFFSET 0x90022
> >
> > which is equivalent to
> >
> > #define CL_MAGIC_ADDR (*(unsigned short *) (PARAM+0x20))
> > #define CL_OFFSET (*(unsigned short *) (PARAM+0x22))
> >
> > If you overwrite that, the commandline will not be copied !!
I see. Hav'nt found this one.
> Now I see that someone who was implementing the VESA frame-buffer
> initialization (now present in VGER CVS only) did not realize this and happily
> extended the screen_info structure.
That's me :-)
> As it seems everything between 0x24 and
> 0x3f is not used, so I reserve it for struct screen_info and change it to
> provide the correct holes at 0x20--0x23. [patch attached]
Thanks.
Gerd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu