This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: Check for illegal address range in io/flash
- From: "Øyvind Harboe" <oyvind dot harboe at zylin dot com>
- To: "Gary Thomas" <gary at mlbassoc dot com>
- Cc: "Andrew Lunn" <andrew at lunn dot ch>, "eCos Disuss" <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 11 Dec 2007 15:38:25 +0100
- Subject: Re: [ECOS] Re: Check for illegal address range in io/flash
- References: <c09652430712110102x684bcd2apd276cb0ff287caac@mail.gmail.com> <20071211094252.GD30586@lunn.ch> <c09652430712110149t4e157058r3a1a579c4330ac@mail.gmail.com> <20071211100356.GF30586@lunn.ch> <c09652430712110209t7fd2cab9va31087a52c7d2895@mail.gmail.com> <20071211135137.GG30586@lunn.ch> <c09652430712110611k73d3e335j468fae41bd341a10@mail.gmail.com> <475E9DCB.3080902@mlbassoc.com>
> As I read the code, the "check" you are talking about is only to make
> sure that the address [range] which gets printed makes sense. There is
> similar code within the loop to handle the edge case where the FLASH
> region being erased buts up against the top of possible address space.
Gotit. I don't see the corresponding code in flash_program_buf().
The explanation above would be helpful in the code I think.
--
Øyvind Harboe
http://www.zylin.com - eCos ARM & FPGA developer kit
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss