How to properly handle several fonctions provided by the Winbond SuperIO chip?
John D. Hendrickson and Sara Darnell
johnandsara2 at cox.net
Sat Jul 12 02:18:30 UTC 2014
John Baldwin wrote:
> On Thursday, July 10, 2014 7:37:04 pm John D. Hendrickson and Sara Darnell
> wrote:
>> John Baldwin wrote:
>>> On Thursday, June 19, 2014 11:21:59 am Emeric POUPON wrote:
>>>> Thanks for your answer!
>
> No, the question is if you have two C files that are compiled into a single
> loading object (foo.ko), do they call each other's functions directly or do
> they use an indirection layer like kobj to call into each other.
thx. i shouldn't answer (i asked) i just read linux kernel
at times.
i just assume the "two files" are both for the same kernel module and
it would be ok. in which case using two C files isn't necessary
... but might confuse the Makefiles macros if they guess one C per mod
try put both in one C file and spin the wheel why not try ?
two diff mods call each other, in one .o or not, diff story i think
More information about the freebsd-arch
mailing list