This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: Adding user mode support to Arm HAL
>>>>> Pierre Habraken writes:
> Mark Salter wrote:
>> [...]
>> > // now save pre-exception r0-r7 on current stack
>> > ldmfd r3,{r0-r5}
>> > stmfd sp!,{r0-r7}
>> ^^^^^^^^^^^^^^^^^^^
>>
>> Is this really saving user mode r0-r7? Looks like its saving svc mode
>> regs.
> As far as I know, there is only one instance of each r0-r7,r15 shared by
> all Arm execution modes. Private ("banked") r8-r12 instances are
> provided in FIQ mode only. Private r13-r14 instances are provided in all
> non user modes.
You are correct. I was misremembering.
--Mark