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

Re: [MiNT] Calling gemdos function from Interruption



Selon Evan Langlois <Evan@CoolRunningConcepts.com>:

> On Tue, 2005-10-11 at 13:58 +0200, Olivier Landemarre wrote:
>
> > I am not against some restriction, if someone can explain me. Probably I
> > will be more happy if Mint said me that it was not a permit operation
> > than crash as it can do with this sort of operation, but perhaps it's
> > not possible to do.
>
> Do you mean that MiNT crashes if you perform the said call in an
> interrupt handler?
No just crash from hardware interrupt (like mouse click)

I think mint could know which is client by encapsulated some VDI and bios
functions, just an idea.

>  If you are root and fiddle with an interrupt
> handler, you are supposed to know what you are doing.  Interrupt
> handlers run in kernel space, so the kernel can't protect itself from
> interrupt handlers ... which is why these belong in devive drivers.

Olivier