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: Reducing driver size




On May 9, 2005, at 12:02, Matt Gillette wrote:

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?

If you haven't already, use the size(1) command to determine the actual executable size. The size of the file is not the same as the former (symbols can take up a lot of space, but aren't loaded with the extension).


Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
If you're not confused,
You're not paying attention
--------

_______________________________________________
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: 
 >Reducing driver size (From: Matt Gillette <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.