Re: Getting a IOMemoryDescriptor from a struct uio?
Re: Getting a IOMemoryDescriptor from a struct uio?
- Subject: Re: Getting a IOMemoryDescriptor from a struct uio?
- From: Quinn <email@hidden>
- Date: Mon, 5 Jan 2004 11:28:30 +0000
At 11:41 -0700 2/1/04, Nathan T. Hjelm wrote:
I am working on a device driver which simply creates a /dev entry a usb
device but I am running into problems because in order to call Read or
Write on an IOUSBPipe I need a IOMemoryDescriptor. I found some code on
the google used in the IOStrorageFamily but it crashes my kernel on a call
to write.
It looks like you 'stole' this code from "IOMediaBSDClient.cpp",
which makes a lot of sense. I guess the next thing I'd investigate
is the crash itself, to see if you can track it backwards from there.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.