Am 27.03.2013 um 14:55 schrieb Kent A. Reed:

> On 3/27/2013 2:52 AM, Michael Haberler wrote:
>> I'm entertaining ideas here - it would not be good if the price for using 
>> such devices would be a collection of special-purpose hacks per-platform and 
>> per-device.
> 
> But of course that is just what the pick-an-IP-from-column-A and one 
> from column-B, and ..., approach in the ARM world is doing to the entire 
> smart-devices industry :-(
> 
> The curmudgeon in me worries we're trying to out-ski an avalanche. 
> Exhilarating for as long as it's still behind you; crushing once it 
> catches up.

Well I dont see really that many different patterns:

- shared memory between RTAPI and the device, pin-structured or otherwise (eg 
some arbitrary data type not fitting the HAL type model)
- some type of I/O memory
- some kind of queue, where the HAL ringbuffer might fit in, provided the 
device behavior is programmable
- register polling, which could be memory access or some I/O instruction like 
inb/outb
- interrupts, which are probably not a good idea

not sure what can be abstracted or supported by generalized primitives here, 
but then I'm not that clueful in this area

maybe Peter has some ideas?

- Michael

> 
> I'm glad you're thinking ahead (and like the ring buffer as supporting 
> infrastructure).
> 
> Regards,
> Kent
> 
> 
> ------------------------------------------------------------------------------
> Own the Future-Intel® Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game 
> on Steam. $5K grand prize plus 10 genre and skill prizes. 
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to