[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [PATCH] Make EHCI driver interrupt handler follow PCI-BIOS specification.



2014-10-08 18:10 GMT+02:00 Vincent Rivière <vincent.riviere@freesbee.fr>:
> On 08/10/2014 17:56, Alan Hourihane wrote:
>>
>> But essentially, I think this step is a no-op, because GCC will
>> save/restore
>> it's accessed registers anyway.
>
>
> GCC always saves d2-d7/a2-a6, but definitely d0-d1/a0-a1 may be trashed by a
> function. If one of them must be preserved, then some care must be taken.
>

Then definitely D1 and A1 must be preserved.