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

RE: AW: [MiNT] analysing syscall.spp



Hi Julian!

> > 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.

Yes, the kernel must reserve a semaphore. But the kernel doesn't need any 
information about the physical interface.

The kernel only see an abstract DMA channel which must provide a specific 
functionality (locking semaphore, block processes, deblock processes).


Tschuess
   ...Frank

--
ATARI FALCON 040
--------------------------------------
Internet: fnaumann@cs.uni-magdeburg.de
Mausnet:  Frank Naumann @ L2