Interrupt Handlers and Driver to Driver Communication
Norbert Koch
NKoch at demig.de
Thu Jan 19 23:28:04 PST 2006
> The results of that test are as follows
>
> >nm driver1.ko | grep g_status
> 00004239 B g_status
>
> It doesn't make sense to do that for the client_driver (driver2)
> since the variable isn't defined there or even externed there. I
> use the API from driver1 (driver_one_is_complete) to find out the
> value of g_status.
So, what about 'nm driver[12].ko | grep driver_one_is_complete' ?
Does driver_one_is_complete() do a test-and-reset operation on g_status?
Did you have a look at the assembly output of this function?
What are your compiler (optimization) settings?
More information about the freebsd-drivers
mailing list