[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [PATCH] Export function XHNewCookie to kernel modules



David Gálvez wrote:
I'm very surprised that you and Vincent advise me to go for the TSR
solution, I thought that MiNT philosophy was the opposite way, getting
rid of all TSR and these kind of stuff. Integrating all those things
into the kernel or as modules.

My point of view:

Kernel modules are the right way to add functionality to the FreeMiNT kernel. Then all the programs will be able to use these new functionalities via standard MiNT interfaces (GEMDOS...).

XHDI seems to be by nature TSR stuff: it adds a cookie with functions that can be called by any program from supervisor mode... not really clean MiNT programming (from user mode programs).

So extending XHDI by adding a hook (XHNewCookie or other) from TSR-land to some kernel module seems to be a bit insane...

--
Vincent Rivière