Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: ioRead returns 0xFFFFFFFF
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ioRead returns 0xFFFFFFFF




On May 10, 2011, at 10:59 AM, Jonathan Taylor wrote:

Thanks for your reply Chris. On the subject of serialization (if I can throw in that question as well...) - what is the recommended way when serialization *is* required? I have been unable to find anything out about this on the intel platform (to my surprise!). Is there an equivalent to eieio or sync on intel? For example, if writing DMA parameters to an on-board register and writing to the register that will actually trigger the DMA transfer, is there a need to do any sort of synchronization or will that all "just happen" correctly?

For maximum safety you should insert an OSSynchronizeIO() call between memory operations and peripheral operations wherever you have any sort of dependency.

 = Mike


--
The lyf so short, the craft so long to lerne -- Chaucer





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: ioRead returns 0xFFFFFFFF (From: Jonathan Taylor <email@hidden>)
 >Re: ioRead returns 0xFFFFFFFF (From: Chris Sarcone <email@hidden>)
 >Re: ioRead returns 0xFFFFFFFF (From: Jonathan Taylor <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.