Kernel allocation in the first 256Mb of memory
Kernel allocation in the first 256Mb of memory
- Subject: Kernel allocation in the first 256Mb of memory
- From: Michel <email@hidden>
- Date: Thu, 3 Oct 2002 00:26:21 +0100
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 | 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.