Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a IOMemoryDescriptor from a struct uio?



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.

References: 
 >Getting a IOMemoryDescriptor from a struct uio? (From: "Nathan T. Hjelm" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.