I need to load 2 instances of a driver for 2 physical devices of the same kind on my platform. I have renamed all the conflicting function exports and I am able to load both the drivers corresponding to each of those 2 physical devices.
But, I am worried that there might be some sort of a conflict with regard to data structure between them at some point of time. In order for me to make sure that this doesn't happen, I need to see all the data being shared between them. I thought the best way is to generate a MAP file for each of the kernel modules.
Can somebody please tell me how to generate MAP files for kernel modules?
Thanks, Pradeep.