Kernel allocation in the first 256Mb of memory
My device requires addresses in that range for DMA transfert. ie - I have only 28 bits available. However, it seems theres no way to ensure that IOMallocContiguous() returns 'safe' addresses in that range. When IOMallocContiguous works, the driver works as expected, but successives load/unload of the driver gets new addresses for that memory, even if I'm very careful to release the blocks properly. So after a few times it returns pointers > 256Mb and I have to reboot. Is there some other trick? I need rougly 100Kb. It's a major roadblock for me on that driver, if I can't guarantee a working behavior somehow, I can't release! Michel _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Michel