This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is the Real Time Clock constructed by calling to cyg_hal_invoke_constructors()?


Qiang Huang wrote:
Is this correct?
Yes. You can generally single step and debug this to see for yourself. Or setting a breakpoint in the loop of cyg_hal_invoke_constructors() and then printing the function being pointed to by the function pointer so you can see the next constructor being called. Of course since most of them are C++ they have wacky names. You can use c++filt to demangle most of the names if that helps.

any other
object created by cyg_hal_invoke_constructors() call?
Yes, pretty much all OS objects that are initialized at startup time are initialized that way, throughout the entire system.

Jifl
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]