[Developer] init.cc C question
Jorge Torres
jorge.torres.maldonado at gmail.com
Wed May 9 08:38:05 EST 2007
Hi everyone,
In the process of understanding the l4 startup from code, I have a few (not
too smart) questions, so please forgive me, I'm far from being an
elegant-clean C programmer. Here it goes:
*At pistachio/arch/ia32/src/init.cc, there is something like this:
extern "C" void ............... fname(args..)
What is the \emph{extern "C") for?
*the other: I'm not sure if I understand the l4 generic code works at build
time:
Lets say I have a definition A in include/init.h
then I can transparently use such definition in: arch/ia32/src/init.cc, even
dou <include/init.h> refers to arch/ia32/include/init.h, because at build
time; include/ and arch/ia32/include/ objects are "binded", right?
Well, Thank you very much,
Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20070508/6354eef3/attachment.htm
More information about the Developer
mailing list