Mailing Lists: Apple Mailing Lists

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

Reducing driver size



Hi,

I have created a driver for our SATA controller, and it has been working for some time. However the driver is 1MB which seems very large compared to the other drivers in /S/L/E. Can anyone suggest ways of optimizing code size of my kext - I'm using the default deployment build settings. Also does anyone have an idea why the driver is so big?

We are also looking to put the driver into the onboard flash. The good news is that kextcache -m flashDriver /build/MyDriver.kext reduces the size of the driver to 280k but unless that drops slightly in size, it won't fit in our onboard flash.


Thanks,

Matt


_______________________________________________ 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


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.