Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel panic on Intel based Mac with more than 2GB of memory



Drew --


Chris Sarcone writes:
You should be using IODMACommand. It works across 32-bit and 64-bit  

Eeek.

Where is IODMACommand documented?

Does HeaderDoc count? ;-). I think TechPubs is working on revamping the IOKit literature and providing some sample code for this.

Are network drivers still supposed to use IOMbufMemoryCursor?

IIRC, mbufs are special cased (they're allocated out of the special chunk of < 4GB memory). I'm not sure about the IOMbufMemoryCursor question. I think it depends on how you allocate your Rx/Tx ring buffers and such.

  Is there a technote or anything about this?  Example code?

I believe there is sample code for IODMACommand that is part of the Leopard seed. /Developer/Examples/IOKit/pci/AppleSamplePCI. I don't think it made the Xcode 2.4 release though...

-- Chris

------------------
6 Infinite Loop
M/S 306-2MS
Cupertino CA 95014
phone: (408) 974-4033
fax:   (408) 862-7577
email: email@hidden




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

This email sent to email@hidden

References: 
 >RE: Kernel panic on Intel based Mac with more than 2GB of memory (From: "Dave Canfield" <email@hidden>)
 >Re: Kernel panic on Intel based Mac with more than 2GB of memory (From: Chris Sarcone <email@hidden>)
 >Re: Kernel panic on Intel based Mac with more than 2GB of memory (From: Andrew Gallatin <email@hidden>)



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.