2015년 9월 3일 목요일 오후 2시 51분 48초 UTC+9, Kisung Cho 님의 말:
> 2015년 6월 2일 화요일 오후 10시 33분 22초 UTC+9, vish 님의 말:
> > Hi all,
> > I am trying to develop a VxBus driver. But i am not able to understand how ioctl calls are handeled here.
> > How ioctl calls can be registered with the I/O framework?
> >
> > Can someone help me to understand this?
>
why anyone not reply this?
i'm also not expert but i read "VxWorks Device Driver Developer's Guide"
and below can be helpful
blkDevInitStruct.bd_blkRd = (FUNCPTR)myBlockRead; //FUNCPTR. function to read blocks
blkDevInitStruct.bd_blkWrt = (FUNCPTR)myBlkDevWrt; //FUNCPTR. function to write blocks
blkDevInitStruct.bd_ioctl = (FUNCPTR)myBlkDevIoctl; //FUNCPTR. function to ioctl device
blkDevInitStruct.bd_reset = (FUNCPTR)myBlkDevReset; //FUNCPTR. function to reset device
blkDevInitStruct.bd_statusChk = (FUNCPTR)myBlkDevStatus; //FUNCPTR. function to check status