Waht are the Equivalent call of tasklet_init & pci_alloc_consistent in QNX
No idea - although you could read the docs on the pci_* calls to see what does something similiar. Where are these calls from?
Rick…
I’m guessing tasklet_init is equivalent to pthread_create and pci_alloc_consistient would be a call to map_device_memory(). Just a guess…
Not quite. A little googling shows me that tasklets are a linux kernel device driver mechanism for handling irq’s. I suspect that you would have use InterruptAttach() or something along those lines - of course it may requires a completely different approach, depending upon what you are trying to accomplish.
pci_alloc_consistent() appears to be used to map physically consistent memory - so mmap_device_memory() should work.
Rick…