[ECOS] HAL_SavedRegisters (ecos 1_3_1)
Gary Thomas
gthomas@cambridge.redhat.com
Thu May 31 08:58:00 GMT 2001
On 31-May-2001 Jonathan Larmour wrote:
> Rafael RodrÃÂguez Velilla wrote:
>>
>> I can't find any place where the member msr of the struct
>> HAL_SavedRegisters is used (I have reviewed only the ARM
>> implementation). I think that this member should be omitted from the
>> struct.
>
>>From what I can see you are right (although Gary should probably confirm).
> The only thing is that if we remove it now, it may cause incompatibilities
> between a GDB stub in ROM and applications, if built from different
> sources, since ARMREG_SIZE in vectors.S will have changed.
I'm pretty sure that I defined that register _just in case_ it was important.
It might still be with some future version of the ARM chip.
I'd rather not remove it, both to retain pure compatability and for stability
reasons. I also don't see much benefit from saving 4 bytes.
More information about the Ecos-discuss
mailing list