> however if several applications want to access the same DMA controller
> at the sam time things get complicated. there is no communication
> between these applications.

Exactly.  That's what the API would somehow need to manage.  I'm thinking a 
program would somehow need to register as the "owner" of the DMA channel 
(similar to how the API works now where a program registers as "owner" of an 
I/O port).  But, there may some alternative way to handle it as well that 
doesn't involve a "registration" -- I'm not sure.

In the end it's critical that there only be one "manager" of each resource or 
you'll end up with a big mess.


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to