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]

Re: What is CYG_MACRO_START & CYG_MACRO_END?


Tony Ko wrote:
> 
> #define HAL_DCACHE_IS_ENABLED(_state_)
>     CYG_MACRO_START
>     (_state_) = 0;
>     CYG_MACRO_END
> 
> what does these macro do?

Nothing other than allow the macros to be followed by a semicolon. See
<cyg/infra/cyg_type.h>

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


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