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

Re: [MiNT] Shutdown() discussion



Hello!

> Perhaps we could learn from the other "callback based cookie interface
> (like XHDI, SCSIDRV, STIK and so on)" that you mentioned. Were these
> already converted to a MiNT friendly version? If yes, how?

In short words:

XHDI (and the other) are mainly a jump table. FreeMiNT create now such a
jumptable (like defined by the interface) that is pushed into the
userspace of every process. These jumptable call a special syscall to
enter the kernel in the correct way. The kernel syscall now decode the
requested function and handle it. This is done for XHDI and SCSIDRV. As
side effect the kernel now have a chance to check user privileges before
performing such an operation.


Ciao
   ...Frank

--
ATARI FALCON 040 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de