This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: HAL_SavedRegisters (ecos 1_3_1)
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Subject: Re: [ECOS] HAL_SavedRegisters (ecos 1_3_1)
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Thu, 31 May 2001 09:58:06 -0600 (MDT)
- Cc: Nick Garnett <nickg at redhat dot com>,ecos <ecos-discuss at sourceware dot cygnus dot com>,Rafael Rodríguez Velilla <rrv at tid dot es>
- Organization: Red Hat, Inc.
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.