[U-Boot] [PATCH v2] nios2: convert copy_exception_trampoline to use dm cpu data
Thomas Chou
thomas at wytron.com.tw
Fri Oct 9 10:45:56 CEST 2015
Hi Ley Foon,
On 10/09/2015 10:51 AM, Ley Foon Tan wrote:
>> +static void copy_exception_trampoline(void)
>> +{
>> + extern int _except_start, _except_end;
> Can we use void* for _except_start and _except_end?
Yes, we can. Actually I used void * at first draft of this patch v1. But
it doesn't work. We still need to get the address with '&' operator as
in v2. I think it is confusing with void *, so I use int instead. But
anything will do.
Best regards,
Thomas
More information about the U-Boot
mailing list