Operating System - HP-UX
1753216 Members
3927 Online
108792 Solutions
New Discussion

i/o in simple block driver

 
Sagar_5
Occasional Contributor

i/o in simple block driver


Hello group!

I have some query related to block driver on HP-UX 11i v1.

While doing i/o using a simple block driver , which kernel api is needed to be called in driver_strategy() so tht the buffer header will be queued on DMA queues ( DDG provides information tht strategy needs to queue the buffer on DMA Queue, after all structure initialisation ).

The final API called in simple char driver is uiomove() which copies data bytewise.
I am searching for similar api for block driver tht moves data blockwise

Thanks n Regards,
Sagar Shinde.

P.S.: I m not sure whether this the right forum to ask the query, since I am new to the forum. Please guide me to the right forum to post the query if this forum is not for device driver.

1 REPLY 1
Stephen Keane
Honored Contributor

Re: i/o in simple block driver

As far as I understood, uiomove is a block move. When you get down to basics, even a block has to be moved character by character!