site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Organization: Linear Systems User-agent: Thunderbird 1.5.0.5 (Windows/20060719) Hello all, Any pointers? Thanks, Dinesh _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I am writing a PCI device driver to transfer data from the board memory to the system memory. I am trying to allocate a wired page to transfer data. I do not have any code for transfer yet. After adding set_Page = (UInt32*)IOMallocAligned(PAGE_SIZE,PAGE_SIZE) line, when I loaded the kext kernel crashed. I then tried IOMalloc as well as IOMallocPageable to check if they work. All of them result in kernel crash. Can anyone tell what I am doing wrong here? I read in kernel programming on Mac (pdf document) that IOMallocAligned should not be used. But that document did not say anything about IOMallocPageable. This email sent to site_archiver@lists.apple.com