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]

Re: Re: Check for illegal address range in io/flash


> 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


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