| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
I just want to make sure I understand this. Are you saying that 10.5 supports 2 read/write interface? The legacy one read(IOService *, Uint64, IOMemoryDescriptor *, IOSTorageCompletion) and the new one read(...., IOStorageAttributes *, IOStorageCompletion *) And the kernel will use the interface that is defined in the driver? Now back to one of my original questions: If the customer has already installed the driver using the legacy interface and then he upgrades to 10.6, will the driver fails to load because the required interface is not defined or it will cause panic? I also have a question on the last 2 pointer parameters. It seems that I have to make a copy of them if my driver does not dispatch the request to the lower level module in the some context. Is that correct? I just used the pointer initially and I got panic as soon as there is IO. I did look around for sample code that uses IOStorage class but they are too old! Where can I find sample code for snow leopard or there is none yet? I think I understand the 32 bit v.s. 64 bit. issue. I am more confused about the new interface and the backward compatibility. Thanks very much. Tony CC: email@hidden From: email@hidden Subject: Re: IOStorage filters in 10.6 Date: Thu, 5 Nov 2009 09:51:06 -0800 To: email@hidden Hey Tony, You can switch to the new interfaces safely. We support it on both 10.5 and 10.6. You need not special case 32-bit from 64-bit.
Dan
Le 2009-11-05 à 01:59, Tony Wong a écrit : _______________________________________________ Bing brings you maps, menus, and reviews organized in one place. Try it now. |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-drivers mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-drivers/email@hidden This email sent to email@hidden
| References: | |
| >IOStorage filters in 10.6 (From: Tony Wong <email@hidden>) | |
| >RE: IOStorage filters in 10.6 (From: Tony Wong <email@hidden>) | |
| >Re: IOStorage filters in 10.6 (From: Daniel Markarian <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.