[ECOS] Re: Dividing by zero does NOT generate exception
Paul D. DeRocco
Tue Mar 8 01:32:00 GMT 2011
> From: Quanren Xiong [mailto:email@example.com]
> So the registers controlling exception handling are not set
> up correctly during boot-up on my platform. Given that few
> pepople complain about it, I would assume it is fixed in Ecos
> 3.0. Can anybody point me to the code in Ecos 3.0 ARM9 (or
> maybe AT91RM9200) HAL that does the boot-up initialization?
> I am stuck with Ecos 2.0 and have to backport the fix to 2.0.
Well, I'm not sure I'd call it "incorrect" in 2.0, or assume it's "fixed" in
3.0, because in a correctly written program it wouldn't matter.
I don't know where this register is set in the HAL, and you could find it as
easily as I could. Or, you could just set the bit at the start of your
Ciao, Paul D. DeRocco
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss