In article <Pine.LNX.4.10.10003180123280.2793-100000@home.suse.com> you wrote:
> Join the crowd........
> The ablity to load msdos.o without ide-mod.o present of compiled
> in.....KABOOM!!!!!!!!!
> Fun, eeh :_((((((((((((
This is a "not very funny" problem indeed.
Potential solution: Have a function-pointer that is always in the kernel.
ide-mod (or non-modular IDE) make that pointer equal to the ide_xlate_1024
functionaddress. And, of course, make it NULL again on module removal.
msdos.o checks this function-pointer and only performs the relevant checks
if the function-pointer is not NULL.
Good:
* "Only" 4 bytes (8 on 64bit platforms) overhead for the kernel
Bad:
* This is a kludge.
* If ide_xlate_1024 is needed for non-IDE as well, this does not work.
Greetings,
Arjan van de Ven
-
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/
This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:25 EST