This is the mail archive of the ecos-discuss@sourceware.org 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]

Can someone explain the purpose of CYG_OFFSETOFBASE and CYG_CLASSFROMBASE?


Hi,

I'm confused with the two macros defined in 
packages/infra/current/include/clist.hxx

I can't understand their purpose, so I tested them with a simple test code. CYG_OFFSETOFBASE is always 0.

Can someone explain them?
Thank you!

Happy hacking!

/Peng 


      

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


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