This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: FLAG Question???
- To: Carlos Camargo <carlos_ivan_camargo at yahoo dot com>
- Subject: Re: [ECOS] FLAG Question???
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 15 Jun 2001 21:36:50 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <20010615184038.45107.qmail@web14006.mail.yahoo.com>
Carlos Camargo wrote:
>
> Thanks Jonathan for your answer..
>
> But can i define a flag in FPGA register??
Not using any standard API.
> If the above question is yes: But if i change the flag
> value by hardware way, and use the flag function
> without change this value. The kernel read the flg
> value?? Or assume that no change??
If the flag isn't already set when you enter cyg_flag_wait, the kernel will
will never notice a state change. In which case you may as well have just
tested it yourself anyway and not involved the kernel flags at all.
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/