| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Lets say I do the following:
- IOMallocContiguous some memory in a driver
- map this memory to a user process
- change the (entire) contents of the memory (in the user process)
- pass the user address to a (different) driver
- create an IOMemoryDescriptor for this user address
- call IOMemoryDescriptor->prepare
- call IOMemoryDescriptor->getPhysicalAddress
- do some DMA
Since I know the memory is contiguous and wired, I had expected prepare()
to be very fast. However, it sometimes takes up to 11 ms (Dual 450 G4)!
Is my expectation of prepare() invalid?
Is it safe to not call prepare
(yet call getPhysicalAddress) when I know the memory is contiguous and wired?
| 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.