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

RE: AW: [MiNT] analysing syscall.spp



> From: Frank Naumann [mailto:fnaumann@prinz-atm.CS.Uni-Magdeburg.De]
> Sent: Monday, April 19, 1999 3:00 PM
> To: Julian Reschke
> Cc: Johan Klockars; mint@fishpool.com
> Subject: RE: AW: [MiNT] analysing syscall.spp
>
>
> Hi Julian!
>
> > Sorry, I misread. MagiC is fully reentrant, but that doesn't mean that
> > everything can be used from an interrupt.
>
> Oh, that's a completly other aspect :-)
>
> > MagiC just offers 3 calls each for the two DMA interfaces of the Atari
> > (DMA/NCR): obtain semaphore, wait for interrupt, release
> semaphore. HDDRIVER
> > just uses this kernel interface, and it would make Uwe's life
> much easier if
> > MiNT could provide a similar interface...
>
> MagiC's interface is ok but it's dedicated to original ATARI's only. It's
> a wrong decision that the kernel wait for the interrupt. This
> informations and the interrupt handler must be private for the driver to
> abstract this for the kernel in a general way.

Well, you will still need a globally unique semaphor for each physical
interface -- because it might be shared among different drivers.