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 19:23:28 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <20010615181614.95881.qmail@web14008.mail.yahoo.com>
Carlos Camargo wrote:
>
> Hi, all..
>
> I have a question about flags:
>
> can i use a harware register as a flag??
>
> For example, i have a FPGA that can access address and
> data bus. Can i define a flag to be a register in my
> FPGA???
>
> How the kernel detect that a flag change??? Read
> constantly the flag address or check the function set
> and mask???
Nope. The kernel flag type assumes that the flag is only changed by the
cyg_flag functions.
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/