(1) my appliation code, that writes the config file.
(2) driver's parser that reads the config file.
How can I read/write files in IOKit driver? Is it the right way do?
What are the other ways to pass these variable config parameters to
driver?
File IO in the kernel is not supported. You can fire down a buffer from
user land to your driver using various methods (depending on type of
driver, etc.), most likely a user client for your driver would be the
way to go. This buffer could in theory contain the contents of your
configuration file that your driver would then parse.
FYI Info.plists are not bounded in size other then by resources to be
of my knowledge but you don't have to use that format specifically if
you don't want to.
You may want to review the following and related documentaion, also
sample code should exists on Apple's site...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden